Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: 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:
operator!=(), operator=(), operator==()

Inherited from RStringTokenBase:
IsNull(), iVal


Member functions


operator==()

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!=()

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=()

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.