Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <e32des8.h>

Class TLitC8

class TLitC8;

Description

Encapsulates literal text.

This is always constructed using an _LIT8 macro.

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

The class has no explicit constructors.

Members

Defined in TLitC8:


Member functions


operator &()const

inline const TDesC8* operator &() const;

Description

Returns a const TDesC8 type pointer.

Return value

const TDesC8 *

A descriptor type pointer to this literal.


operator const TDesC8 &()const

inline operator const TDesC8 &() const;

Description

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

Return value


operator()()const

inline const TDesC8& operator()() const;

Description

Returns a const TDesC8 type reference.

Return value

const TDesC8 &

A descriptor type reference to this literal


operator const __TRefDesC8()const

inline operator const __TRefDesC8() const;

Description

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

Return value