Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



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


Member functions


operator &()

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

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

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

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

See also: