Location:
e32des16.h
Link against: euser.lib
TPtr16
Supported from 5.0
16 bit modifiable pointer descriptor
This is a descriptor class intended for instantiation and encapsulates a pointer to the 16 bit data that it represents. The data can live in ROM or RAM and this location is separate from the descriptor object itself.
The data is intended to be accessed and modified through this descriptor. The base classes provide the functions through which the data can be manipulated.
|
Defined in TPtr16
:
Set()
, TPtr16()
, operator=()
Inherited from TDes16
:
Append()
,
AppendFill()
,
AppendFormat()
,
AppendFormatList()
,
AppendJustify()
,
AppendNum()
,
AppendNumFixedWidth()
,
AppendNumFixedWidthUC()
,
AppendNumUC()
,
Capitalize()
,
Collate()
,
Copy()
,
CopyC()
,
CopyCP()
,
CopyF()
,
CopyLC()
,
CopyUC()
,
Delete()
,
Fill()
,
FillZ()
,
Fold()
,
Format()
,
FormatList()
,
Insert()
,
Justify()
,
LowerCase()
,
MaxLength()
,
MaxSize()
,
Num()
,
NumFixedWidth()
,
NumFixedWidthUC()
,
NumUC()
,
PtrZ()
,
Repeat()
,
Replace()
,
SetLength()
,
SetMax()
,
Swap()
,
Trim()
,
TrimAll()
,
TrimLeft()
,
TrimRight()
,
UpperCase()
,
Zero()
,
ZeroTerminate()
,
operator+=()
,
operator=
,
operator[]()
Inherited from TDesC16
:
Alloc()
,
AllocL()
,
AllocLC()
,
Compare()
,
CompareC()
,
CompareF()
,
Find()
,
FindC()
,
FindF()
,
Left()
,
Length()
,
Locate()
,
LocateF()
,
LocateReverse()
,
LocateReverseF()
,
Match()
,
MatchC()
,
MatchF()
,
Mid()
,
Ptr()
,
Right()
,
Size()
,
operator!=()
,
operator<()
,
operator<=()
,
operator==()
,
operator>()
,
operator>=()
TPtr16(const TPtr16& aTPtr);
Copy constructor.
Constructs the 16 bit modifiable pointer descriptor from an existing 16 bit pointer descriptor.
It is set to point to the same data, is given the same length and the same maximum length as the source pointer descriptor.
|
TPtr16(TUint16* aBuf,TInt aMaxLength);
Constructs the 16 bit modifiable pointer descriptor to point to the specified location in memory, whether in RAM or ROM. The length of the descriptor is set to zero and its maximum length is set to the specified value.
|
TPtr16(TUint16* aBuf,TInt aLength,TInt aMaxLength);
Constructs the 16 bit modifiable pointer descriptor to point to the specified location in memory, whether in RAM or ROM. The length of the descriptor and its maximum length are set to the specified values.
|
void Set(TPtr16& aPtr);
Sets the 16 bit modifiable pointer descriptor from an existing 16 bit modifiable pointer descriptor.
It is set to point to the same data, is given the same length and the same maximum length as the source pointer descriptor.
|
void Set(TUint16* aBuf,TInt aLength,TInt aMaxLength);
Sets the 16 bit modifiable pointer descriptor to point to the specified location in memory, whether in RAM or ROM. The length of the descriptor and its maximum length are set to the specified values.
|
TPtr16& operator=(const TDesC16& aDes);
TPtr16& operator=(const TPtr16& aDes);
TPtr16& operator=(const TUint16* aString);
Copies data into this 16 bit modifiable pointer descriptor replacing any existing data. The length of this descriptor is set to reflect the new data.
|
|