Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <e32des16.h>

Class TLitC16

class TLitC16;

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.

Members

Defined in TLitC16:


Member functions


operator &()const

inline const TDesC16* operator &() const;

Description

Returns a const TDesC16 type pointer.

Return value

const TDesC16 *

A descriptor type pointer to this literal.


operator const TDesC16 &()const

inline operator const TDesC16 &() const;

Description

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

Return value


operator()()const

inline const TDesC16& operator()() const;

Description

Returns a const TDesC16 type reference.

Return value

const TDesC16 &

A descriptor type reference to this literal


operator const __TRefDesC16()const

inline operator const __TRefDesC16() const;

Description

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.

Return value