Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: stringpool.h

Class RString

class RString : public RStringBase;

Description

A string that is stored in a string pool, with case-sensitive comparisons.

To initialise values of this class, you need to use the operator() functions on the RStringPool.

This class performs comparisons in a non-folded (case sensitive) manner.

Derivation

Members

Defined in RString:
Copy(), operator RStringToken(), operator!=(), operator==()

Inherited from RStringBase:
Close(), DesC(), Index(), OriginalTableRef(), Pool(), iPool, iVal, operator RStringTokenBase()

See also:


Member functions


Copy()

inline RString Copy();

Description

Copies a string.

Both the original and the copy must be separately closed.

Return value

RString

The string to copy.


operator RStringToken()

inline operator RStringToken() const;

Description

Returns a compact string equivalent to the string (for case-sensitive strings)

Return value


operator==()

inline TBool operator==(const RString &aVal) const;

Description

Equality operator.

Parameters

const RString &aVal

The string to compare.

Return value

TBool

ETrue if the strings are equal, else EFalse


operator!=()

inline TBool operator!=(const RString &aVal) const;

Description

Inequality operator.

Parameters

const RString &aVal

The string to compare.

Return value

TBool

ETrue if the strings are not equal, else EFalse