TCharF Class Reference

class TCharF : public TChar

Folds a specified character and provides functions to fold additional characters after construction of the object.

Folding converts the character to a form which can be used in tolerant comparisons without control over the operations performed. Tolerant comparisons are those which ignore character differences like case and accents.

Note that folding is locale-independent behaviour. It is also important to note that there can be no guarantee that folding is in any way culturally appropriate, and should not be used for matching characters in natural language.

User::Fold

Inherits from

Constructor & Destructor Documentation

TCharF(TUint)

TCharF(TUintaChar)[inline]

Constructs this 'fold character' object and initialises it with the specified value.

Parameters

TUint aCharThe initialisation value.

TCharF(const TChar &)

TCharF(const TChar &aChar)[inline]

Constructs this 'fold character' object and initialises it with the value of the TChar object aChar.

Parameters

const TChar & aCharThe character object to use as the initialisation value.

Member Functions Documentation

operator=(TUint)

TCharF &operator=(TUintaChar)[inline]

Assigns an unsigned integer value to the 'fold character' object.

Parameters

TUint aCharThe value to assign.

operator=(const TChar &)

TCharF &operator=(const TChar &aChar)[inline]

Assigns the specified character object to this 'fold character' object.

Parameters

const TChar & aCharThe character object to assign.