class conn::CSBGenericTransferType : public conn::CSBGenericDataType |
Generic Transfer Type
This is also a semi-abstract class similar to the CSBGenericDataType in that logically it may only be instantiated by being internalised from a descriptor. This class and classes that derive from it are intended to identify a data transfer to or from a particular data owner.
Byte Structure
All child classes have their data following on from the parent classes so that the parent classes may remain atomic with respect to the structure of their data. The binary structure of this data type inside the descriptor buffer is as follows. Note that the endianness of the data types specified below is determined by the platform and the PC must pack accordingly:
TSBDerivedType [4-bytes] |
TDriveNumber [4-bytes] |
Generic Transfer Type
This is also a semi-abstract class similar to the CSBGenericDataType in that logically it may only be instantiated by being internalised from a descriptor. This class and classes that derive from it are intended to identify a data transfer to or from a particular data owner.
Byte Structure
All child classes have their data following on from the parent classes so that the parent classes may remain atomic with respect to the structure of their data. The binary structure of this data type inside the descriptor buffer is as follows. Note that the endianness of the data types specified below is determined by the platform and the PC must pack accordingly:
TSBDerivedType [4-bytes] |
TDriveNumber [4-bytes] |
Public Member Functions | |
---|---|
~CSBGenericTransferType() | |
IMPORT_C TDriveNumber | DriveNumberL() |
IMPORT_C CSBGenericTransferType * | NewL(const TDesC8 &) |
Protected Member Functions | |
---|---|
CSBGenericTransferType() | |
void | InitialiseL(TInt &) |
Protected Attributes | |
---|---|
TInt | iDriveNumberOffset |
Inherited Attributes | |
---|---|
conn::CSBGenericDataType::iDataBuffer | |
conn::CSBGenericDataType::iDerivedTypeOffset | |
conn::CSBGenericDataType::iSize |
CSBGenericTransferType | ( | ) | [protected] |
C++ Constructor. Any derived types must increment iSize in their C++ constructors in order that when CSBGenericDataType::BaseConstructL() is called, the data buffer is initialised to be large enough to accomodate the data stored by the derived type
void | InitialiseL | ( | TInt & | aOffset | ) | [protected, virtual] |
Initialise all member pointers to data
TInt & aOffset | The running offset of where the descriptor has been parsed up to |
IMPORT_C CSBGenericTransferType * | NewL | ( | const TDesC8 & | aDes | ) | [static] |
Symbian constructor
const TDesC8 & aDes | descriptor containing the buffer of data |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.