PCStore::CDes16 Class Reference
#include
<pcstore/descriptors.h>
Detailed Description
Class to represent 16-bit descriptor.
This class implements a subset of 16-bit descriptor's behaviour, which are necessary for the externalization and internalization of 16-bit descriptors. It encapsulates the data members containing the data, its maximum length and actual length. It also provides member functions to access and reset, but not 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 16-bit (i.e. 2-byte word) values or data items.
Constructor & Destructor Documentation
CDes16 ( )
CDes16 ( const CDes16 & )
CDes16 ( TInt32 )
CDes16 | ( | TInt32 | aMaxLength | ) | [explicit] |
CDes16 ( const TUint16 * )
CDes16 ( const TUint16 *, TInt32 )
CDes16 ( const TUint16 *, TInt32, TInt32 )
~CDes16 ( )
Member Function Documentation
Append ( const CDes16 & )
void | Append | ( | const CDes16 & | aDes | ) | |
Append ( const TUint16 *, TInt32 )
Length ( )
MaxLength ( )
Ptr ( )
Set ( const CDes16 & )
Set ( const TUint16 *, TInt32 )
Set ( const TUint16 *, TInt32, TInt32 )
SetLength ( TInt32 )
Size ( )
operator!= ( const CDes16 & )
operator= ( const CDes16 & )
operator== ( const CDes16 & )