TLitC16 Class Reference

class TLitC16

Encapsulates literal text.

This is always constructed using an _LIT16 macro.

This class is build independent; i.e. an explicit 16-bit build variant is generated for both a non-Unicode build and a Unicode build.

The class has no explicit constructors.

_LIT16

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

Member Functions Documentation

operator const TDesC16 &()

operator const TDesC16 &()const [inline]

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

operator const __TRefDesC16()

operator const __TRefDesC16()const [inline]

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

__TRefDesC16

operator&()

const TDesC16 *operator&()const [inline]

Returns a const TDesC16 type pointer.

operator()()

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

Returns a const TDesC16 type reference.

Member Type Definitions Documentation

Typedef __TText

typedef wchar_t__TText

Member Data Documentation

__TText iBuf

__TText iBuf

TUint iTypeLength

TUint iTypeLength