Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



Location: e32des16.h
Link against: euser.lib

Class TLitC16

TLitC16<TInt>

Support

Supported from 5.0

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. See the _LIT16 macro definition.

Defined in TLitC16:
operator const TDesC16&, operator const __TRefDesC16(), operator&(), operator()


Operators


operator const TDesC16&

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.

See also:


operator const __TRefDesC16()

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

See also:


operator&()

const TDesC16* operator&() const;

Description

Returns a const TDesC16 type pointer.

Return value

const TDesC16*

A descriptor type pointer to this literal.

See also:


operator()

const TDesC16& operator()() const;

Description

Returns a const TDesC16 type reference.

Return value

const TDesC16&

A descriptor type reference to this literal

See also: