Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
Loading...
Searching...
No Matches
TLitC< S > Class Template Reference

Encapsulates literal text. More...

#include <e32cmn.h>

Public Types

enum  { BufferSize =S-1 }
 
typedef TUint8 __TText
 

Public Member Functions

const TDesC * operator& () const
 Returns a const TDesC type pointer.
 
 operator const TDesC & () const
 Invoked by the compiler when a TLitC<TInt> type is passed to a function which is prototyped to take a const TDesC& type.
 
const TDesC & operator() () const
 Returns a const TDesC type reference.
 
 operator const __TRefDesC () const
 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.
 

Public Attributes

TUint iTypeLength
 
__TText iBuf [__Align(S)]
 

Detailed Description

template<TInt S>
class TLitC< S >

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 Unicode build, a 16 bit build variant is generated.

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

API status
Published to all clients. Released API.

Definition at line 1625 of file e32cmn.h.

Member Typedef Documentation

◆ __TText

template<TInt S>
typedef TUint8 TLitC< S >::__TText
API status
Internal component API.

Definition at line 1646 of file e32cmn.h.

Member Enumeration Documentation

◆ anonymous enum

template<TInt S>
anonymous enum
API status
Internal component API.
Enumerator
BufferSize 

Definition at line 1633 of file e32cmn.h.

Member Function Documentation

◆ operator const __TRefDesC()

template<TInt S>
TLitC< S >::operator const __TRefDesC ( ) const
inline

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.

(generated from Symbian Developer Library)

◆ operator const TDesC &()

template<TInt S>
TLitC< S >::operator const TDesC & ( ) const
inline

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

(generated from Symbian Developer Library)

◆ operator&()

template<TInt S>
const TDesC * TLitC< S >::operator& ( ) const
inline

Returns a const TDesC type pointer.

(generated from Symbian Developer Library)

◆ operator()()

template<TInt S>
const TDesC & TLitC< S >::operator() ( ) const
inline

Returns a const TDesC type reference.

(generated from Symbian Developer Library)

Member Data Documentation

◆ iBuf

template<TInt S>
__TText TLitC< S >::iBuf[__Align(S)]
API status
Internal component API.

Definition at line 1688 of file e32cmn.h.

◆ iTypeLength

template<TInt S>
TUint TLitC< S >::iTypeLength
API status
Internal component API.

Definition at line 1681 of file e32cmn.h.


The documentation for this class was generated from the following files: