Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: 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:
operator &(), operator const TDesC16 &(), operator const __TRefDesC16(), operator()()


Member functions


operator &()

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 &()

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()()

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()

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

See also: