Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <stringpool.h>

Class RStringToken

class RStringToken : public RStringTokenBase;

Description

A compact (4 byte) representation of a string in the string pool.

This class must be turned into a RString before you can do anything useful with it. It is only intended to be used when storing strings in situations where space matters. You should normally use RString.

Derivation

Members

Defined in RStringToken:

Inherited from RStringTokenBase:


Member functions


operator==(RStringToken)const

inline TBool operator==(RStringToken aVal) const;

Description

Equality operator.

Parameters

RStringToken aVal

The string to compare.

Return value

TBool

ETrue if the strings are the same, otherwise EFalse.


operator!=(RStringToken)const

inline TBool operator!=(RStringToken aVal) const;

Description

Inequality operator.

Parameters

RStringToken aVal

The string to compare.

Return value

TBool

ETrue if the strings are different, else EFalse


operator=(RString)

inline RStringToken operator=(RString aVal);

Description

Assignment operator, which makes a string token from a string.

Parameters

RString aVal

The string to copy.

Return value

RStringToken

The string token.