TLitC16 Class Reference

#include <e32des16.h>

Link against: 3gpDataSourceAdapter.lib

class TLitC16
Public Member Type Definitions
typedef wchar_t __TText
Public Attributes
__TText iBuf
TUint iTypeLength
Public Member Functions
operator const TDesC16 &()
operator const __TRefDesC16()
const TDesC16 *operator&()
const TDesC16 &operator()()

Detailed Description

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.

See also: _LIT16

Member Type Definition Documentation

Typedef __TText

typedef wchar_t __TText

Member Attribute Documentation

iBuf

__TText iBuf

iTypeLength

TUint iTypeLength

Member Function 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.

See also: __TRefDesC16

operator& ( )

const TDesC16 *operator&()const [inline]

Returns a const TDesC16 type pointer.

Returns: A descriptor type pointer to this literal.

operator() ( )

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

Returns a const TDesC16 type reference.

Returns: A descriptor type reference to this literal