class conn::CSBSIDTransferType : public conn::CSBGenericTransferType |
SID Transfer type is used to identify data associated with a particular SID
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] |
TSecureId [4-bytes] |
TTransferDataType [4-bytes] |
SID Transfer type is used to identify data associated with a particular SID
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] |
TSecureId [4-bytes] |
TTransferDataType [4-bytes] |
Public Member Functions | |
---|---|
~CSBSIDTransferType() | |
IMPORT_C TTransferDataType | DataTypeL() |
IMPORT_C CSBSIDTransferType * | NewL(TSecureId, TDriveNumber, TTransferDataType) |
IMPORT_C TSecureId | SecureIdL() |
Protected Member Functions | |
---|---|
void | InitialiseL(TInt &) |
Private Member Functions | |
---|---|
CSBSIDTransferType() | |
void | ConstructL(TSecureId, TDriveNumber, TTransferDataType) |
void | ConstructL(CSBGenericTransferType *) |
Private Attributes | |
---|---|
TInt | iSecureIdOffset |
TInt | iTransferDataTypeOffset |
Inherited Attributes | |
---|---|
conn::CSBGenericDataType::iDataBuffer | |
conn::CSBGenericDataType::iDerivedTypeOffset | |
conn::CSBGenericDataType::iSize | |
conn::CSBGenericTransferType::iDriveNumberOffset |
CSBSIDTransferType | ( | ) | [private] |
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 | ConstructL | ( | TSecureId | aSecureId, |
TDriveNumber | aDriveNumber, | |||
TTransferDataType | aTransferDataType | |||
) | [private] |
Symbian OS 2nd phase constructor.
TSecureId aSecureId | the secure identifier |
TDriveNumber aDriveNumber | the drive that contains the data |
TTransferDataType aTransferDataType | the type of the data you wish to transfer |
void | ConstructL | ( | CSBGenericTransferType * | aGenericTransferType | ) | [private] |
CSBGenericTransferType * aGenericTransferType |
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 CSBSIDTransferType * | NewL | ( | TSecureId | aSecureId, |
TDriveNumber | aDriveNumber, | |||
TTransferDataType | aTransferDataType | |||
) | [static] |
Symbian constructor used for creating a derived class from it's constituent parameters. Used for example when creating a derived type from scratch
TSecureId aSecureId | the secure identifier |
TDriveNumber aDriveNumber | the drive that contains the data |
TTransferDataType aTransferDataType | the type of the data you wish to transfer |
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.