#include <e32cmn.h>
class TLitC |
Public Member Type Definitions | |
---|---|
typedef | wchar_t __TText |
Public Attributes | |
---|---|
__TText | iBuf |
TUint | iTypeLength |
Public Member Enumerations | |
---|---|
enum | anonymous { BufferSize } |
Public Member Functions | |
---|---|
operator const TDesC &() | |
operator const __TRefDesC() | |
const TDesC * | operator&() |
const TDesC & | operator()() |
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.
typedef wchar_t | __TText |
__TText | iBuf |
TUint | iTypeLength |
Enumerator | Value | Description |
---|---|---|
BufferSize | S-1 |
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.
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.
See also: __TRefDesC.
const TDesC * | operator& | ( | ) | const [inline] |
Returns a const TDesC type pointer.
const TDesC & | operator() | ( | ) | const [inline] |
Returns a const TDesC type reference.