class CMTPTypeStorageInfo : public CMTPTypeCompoundBase |
Defines the MTP StorageInfo dataset. The StorageInfo dataset provides a description of the MTP device and is generated in response to a GetStorageInfo operation request.
Public Member Functions | |
---|---|
~CMTPTypeStorageInfo () | |
IMPORT_C CMTPTypeStorageInfo * | NewL () |
IMPORT_C CMTPTypeStorageInfo * | NewLC () |
IMPORT_C TUint | Type () |
Private Member Functions | |
---|---|
CMTPTypeStorageInfo () | |
void | ConstructL () |
const TElementInfo & | ElementInfo ( TInt ) |
MMTPType * | NewFlatChunkL (const TElementInfo &) |
MMTPType * | NewStringChunkL (const TElementInfo &) |
Public Member Enumerations | |
---|---|
enum |
TMTPStorageInfoElement
{
EStorageType , EFileSystemType , EAccessCapability , EMaxCapacity , EFreeSpaceInBytes , EFreeSpaceInObjects , EStorageDescription , EVolumeIdentifier , ENumElements } |
Private Member Enumerations | |
---|---|
enum | TChunkIds { EIdFlatChunk , EIdStorageDescriptionChunk , EIdVolumeIdentifierChunk , EIdNumChunks } |
Inherited Enumerations | |
---|---|
CMTPTypeCompoundBase:TReadWriteSequenceState |
Private Attributes | |
---|---|
const TUint | KFlatChunkSize |
RMTPTypeCompoundFlatChunk | iChunkFlat |
const TFixedArray < TElementInfo , ENumElements > | iElementInfo |
const CMTPTypeCompoundBase::TElementInfo | iElementMetaData |
RPointerArray < CMTPTypeString > | iStringChunks |
const TElementInfo & | ElementInfo | ( | TInt | aElementId | ) | const [private, virtual] |
Provides the TElementInfo data for the specified element.
TInt aElementId | The identifier of the requested element. |
MMTPType * | NewFlatChunkL | ( | const TElementInfo & | aElementInfo | ) | [private] |
const TElementInfo & aElementInfo |
IMPORT_C CMTPTypeStorageInfo * | NewL | ( | ) | [static] |
IMPORT_C CMTPTypeStorageInfo * | NewLC | ( | ) | [static] |
MMTPType * | NewStringChunkL | ( | const TElementInfo & | aElementInfo | ) | [private] |
const TElementInfo & aElementInfo |
Data chunk identifiers.
EIdFlatChunk |
The flat data chunk ID. |
EIdStorageDescriptionChunk |
The EStorageDescription element data chunk ID. |
EIdVolumeIdentifierChunk |
The EVolumeIdentifier element data chunk ID. |
EIdNumChunks |
The number of data chunks. |
MTP StotageInfo dataset element identifiers.
EStorageType |
The physical nature of the storage described by the dataset. |
EFileSystemType |
The logical file system in use on the storage. |
EAccessCapability |
The global write-protection status of the storage. |
EMaxCapacity |
The maximum capacity of the storage in bytes. |
EFreeSpaceInBytes |
The available capacity of the storage in objects. |
EFreeSpaceInObjects |
The available capacity of the storage in objects. This field is only used if there is a reasonable expectation that the number of objects that remain to be written can be accurately predicted. |
EStorageDescription |
The human-readable string identifying the storage. |
EVolumeIdentifier |
The unique volume identifier of the storage, e.g. serial number. |
ENumElements |
The number of dataset elements. |
const TUint | KFlatChunkSize | [private, static] |
The size in bytes of the flat data chunk.
RMTPTypeCompoundFlatChunk | iChunkFlat | [private] |
The flat data chunk comprising elements EStorageType to EFreeSpaceInObjects.
const TFixedArray < TElementInfo , ENumElements > | iElementInfo | [private] |
The dataset element metadata table.
const CMTPTypeCompoundBase::TElementInfo | iElementMetaData | [private, static] |
The dataset element metadata table content.
RPointerArray < CMTPTypeString > | iStringChunks | [private] |
The MTP string type data chunks (EStorageDescription, and EVolumeIdentifier).
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.