Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <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:

Inherited from RStringBase:

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

inline operator RStringToken() const;

Description

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

Return value


operator==(const RString &)const

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

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