Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: e32des8.h
Link against: euser.lib

Class TLitC8

TLitC8<TInt>

Support

Supported from 5.0

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 and a Unicode build.

The class has no explicit constructors. See the _LIT8 macro definition.

Defined in TLitC8:
operator __TRefDesC8(), operator const TDesC8&, operator&(), operator()


Operators


operator const TDesC8&

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.

See also:


operator __TRefDesC8()

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. __TRefDesC8 is a typedef of a value reference.

See also:


operator&()

const TDesC8* TLitC8::operator&() const;

Description

Returns a const TDesC8 type pointer.

Return value

TDesC8*

A descriptor type pointer to this literal

See also:


operator()

const TDesC8& operator()() const;

Description

Returns a const TDesC8 type reference.

Return value

TDesC8&

A descriptor type reference to this literal

See also: