Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



Location: e32std.h
Link against: euser.lib

Class TLitC

TLitC<TInt>

Support

Supported from 5.0

Description

Encapsulates literal text. This is always constructed using an _LIT macro.

This class is build independent; i.e. for a non-Unicode build, an 8 bit build variant is generated; for a non Unicode build, a 16 bit build variant is generated.

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

Defined in TLitC:
operator const TDesC&, operator const __TRefDesC(), operator&(), operator()


Operators


operator const TDesC&

operator const TDesC&() const;

Description

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

See also:


operator const __TRefDesC()

operator const __TRefDesC() const;

Description

Invoked by the compiler when a TLitC<TInt> type is passed to a function which is prototyped to take a const TRefByValue<const TDesC> type. __TRefDesC is a typedef of a value reference.

See also:


operator&()

const TDesC* operator&() const;

Description

Returns a const TDesC type pointer.

Return value

const TDesC*

A descriptor type pointer to this literal.

See also:


operator()

const TDesC& operator()();

Description

Returns a const TDesC type reference.

Return value

const TDesC&

A descriptor type reference to this literal

See also: