PCStore::CDes8 Class Reference
#include
<pcstore/descriptors.h>
Detailed Description
Class to represent 8-bit descriptors.
This class implements a subset of 8-bit descriptor's behaviour, which are necessary for the externalization and internalization of 8-bit descriptors. It encapsulates the data members containing the data, its maximum length and actual length. It also provides member functions to append and reset the data, as well as get the pointer of the data. However, there is no method to partly modify the data.
The constructors, Set, Append, and assignment methods take a copy of the data they're given, which means it allocates memory to hold the data and releases it when needed. Data represented by this class is treated as a contiguous set of 8-bit (i.e. single byte) values or data items.
Constructor & Destructor Documentation
CDes8 ( )
CDes8 ( const CDes8 & )
CDes8 ( TInt32 )
CDes8 | ( | TInt32 | aMaxLength | ) | [explicit] |
CDes8 ( const TUint8 * )
CDes8 ( const TUint8 *, TInt32 )
CDes8 ( const TUint8 *, TInt32, TInt32 )
~CDes8 ( )
Member Function Documentation
Append ( const CDes8 & )
void | Append | ( | const CDes8 & | aDes | ) | |
Append ( const TUint8 *, TInt32 )
Length ( )
MaxLength ( )
Ptr ( )
Set ( const CDes8 & )
void | Set | ( | const CDes8 & | aDes | ) | |
Set ( const TUint8 *, TInt32 )
Set ( const TUint8 *, TInt32, TInt32 )
SetLength ( TInt32 )
Size ( )
operator!= ( const CDes8 & )
operator= ( const CDes8 & )
operator== ( const CDes8 & )