TLitC Class Reference

class TLitC

Encapsulates literal text.

This is always constructed using an _LIT macro.

This class is build independent; i.e. for a non-Unicode build, an 8-bit build variant is generated; for a Unicode build, a 16 bit build variant is generated.

The class has no explicit constructors. See the _LIT macro definition.

Public Member Functions
operator const TDesC &()
operator const __TRefDesC()
const TDesC *operator&()
const TDesC &operator()()
Public Member Type Definitions
typedefwchar_t __TText
Public Attributes
__TText iBuf
TUint iTypeLength

Member Functions Documentation

operator const TDesC &()

operator const TDesC &()const [inline]

Invoked by the compiler when a TLitC<TInt> type is passed to a function which is prototyped to take a const TDesC& type.

operator const __TRefDesC()

operator const __TRefDesC()const [inline]

Invoked by the compiler when a TLitC<TInt> type is passed to a function which is prototyped to take a const TRefByValue<const TDesC> type.

__TRefDesC.

operator&()

const TDesC *operator&()const [inline]

Returns a const TDesC type pointer.

operator()()

const TDesC &operator()()const [inline]

Returns a const TDesC type reference.

Member Type Definitions Documentation

Typedef __TText

typedef wchar_t__TText

Member Data Documentation

__TText iBuf

__TText iBuf

TUint iTypeLength

TUint iTypeLength