CMTPTypeServicePropertyElement Class Reference

class CMTPTypeServicePropertyElement : public CMTPTypeCompoundBase

Inherits from

Public Member Functions
~CMTPTypeServicePropertyElement ()
IMPORT_C CMTPTypeServicePropertyElement * NewL ()
IMPORT_C CMTPTypeServicePropertyElement * NewL (const TUint16 , const TMTPTypeGuid &, const TUint32 , const TDesC &)
IMPORT_C CMTPTypeServicePropertyElement * NewLC ()
IMPORT_C CMTPTypeServicePropertyElement * NewLC (const TUint16 , const TMTPTypeGuid &, const TUint32 , const TDesC &)
IMPORT_C TUint Type ()
Private Member Functions
CMTPTypeServicePropertyElement ()
void ConstructL ()
void ConstructL (const TUint16 , const TMTPTypeGuid &, const TUint32 , const TDesC &)
const TElementInfo & ElementInfo ( TInt )
MMTPType * NewFlatChunkL ()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CMTPTypeCompoundBase::CMTPTypeCompoundBase(TBool,TUint)
CMTPTypeCompoundBase::ChunkAppendL(const MMTPType &)
CMTPTypeCompoundBase::ChunkCount()const
CMTPTypeCompoundBase::ChunkRemove(TUint)
CMTPTypeCompoundBase::CommitChunkL(TPtr8 &)
CMTPTypeCompoundBase::CommitRequired()const
CMTPTypeCompoundBase::FirstReadChunk(TPtrC8 &)const
CMTPTypeCompoundBase::FirstWriteChunk(TPtr8 &)
CMTPTypeCompoundBase::GetL(TInt,MMTPType &)const
CMTPTypeCompoundBase::Int16L(TInt)const
CMTPTypeCompoundBase::Int32L(TInt)const
CMTPTypeCompoundBase::Int64L(TInt)const
CMTPTypeCompoundBase::Int8L(TInt)const
CMTPTypeCompoundBase::NextReadChunk(TPtrC8 &)const
CMTPTypeCompoundBase::NextWriteChunk(TPtr8 &)
CMTPTypeCompoundBase::NextWriteChunk(TPtr8 &,TUint)
CMTPTypeCompoundBase::ReadableElementL(TInt)const
CMTPTypeCompoundBase::Reset()
CMTPTypeCompoundBase::SetExpectedChunkCount(TUint)
CMTPTypeCompoundBase::SetInt16L(TInt,TInt16)
CMTPTypeCompoundBase::SetInt32L(TInt,TInt32)
CMTPTypeCompoundBase::SetInt64L(TInt,TInt64)
CMTPTypeCompoundBase::SetInt8L(TInt,TInt8)
CMTPTypeCompoundBase::SetL(TInt,const MMTPType &)
CMTPTypeCompoundBase::SetStringL(TInt,const TDesC &)
CMTPTypeCompoundBase::SetUint16L(TInt,TUint16)
CMTPTypeCompoundBase::SetUint32L(TInt,TUint32)
CMTPTypeCompoundBase::SetUint64L(TInt,TUint64)
CMTPTypeCompoundBase::SetUint8L(TInt,TUint8)
CMTPTypeCompoundBase::Size()const
CMTPTypeCompoundBase::StringCharsL(TInt)const
CMTPTypeCompoundBase::StringNumCharsL(TInt)const
CMTPTypeCompoundBase::Uint16L(TInt)const
CMTPTypeCompoundBase::Uint32L(TInt)const
CMTPTypeCompoundBase::Uint64L(TInt)const
CMTPTypeCompoundBase::Uint8L(TInt)const
CMTPTypeCompoundBase::Validate()const
CMTPTypeCompoundBase::ValidateChunkCount()const
CMTPTypeCompoundBase::WriteableElementL(TInt)const
CMTPTypeCompoundBase::~CMTPTypeCompoundBase()
Public Member Enumerations
enum TMTPServicePropertyElement { EPropertyCode , ENameSpace , EPkeyID , EPorpertyName , ENumElements }
Private Member Enumerations
enum TChunkIds { EIdFlatChunk , EIdServicePropNameChunk , EIdNumChunks }
Inherited Enumerations
CMTPTypeCompoundBase:TReadWriteSequenceState
Private Attributes
RMTPTypeCompoundFlatChunk iChunkFlat
CMTPTypeString * iChunkString
const TFixedArray < TElementInfo , ENumElements > iElementInfo
const CMTPTypeCompoundBase::TElementInfo iElementMetaData
Inherited Attributes
CMTPTypeCompoundBase::KJustInTimeConstruction
CMTPTypeCompoundBase::KMTPNotApplicable
CMTPTypeCompoundBase::KVariableChunkCount
CMTPTypeCompoundBase::iChunks
CMTPTypeCompoundBase::iWriteChunk
CMTPTypeCompoundBase::iWriteSequenceState

Constructor & Destructor Documentation

CMTPTypeServicePropertyElement()

CMTPTypeServicePropertyElement ( ) [private]

~CMTPTypeServicePropertyElement()

IMPORT_C ~CMTPTypeServicePropertyElement ( ) [virtual]

Destructor.

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

ConstructL(const TUint16, const TMTPTypeGuid &, const TUint32, const TDesC &)

void ConstructL ( const TUint16 aPropertyCode,
const TMTPTypeGuid & aNameSpace,
const TUint32 aPKeyID,
const TDesC & aPropertyName
) [private]

Parameters

const TUint16 aPropertyCode
const TMTPTypeGuid & aNameSpace
const TUint32 aPKeyID
const TDesC & aPropertyName

ElementInfo(TInt)

const TElementInfo & ElementInfo ( TInt aElementId ) const [private, virtual]

Provides the TElementInfo data for the specified element.

Parameters

TInt aElementId The identifier of the requested element.

NewFlatChunkL()

MMTPType * NewFlatChunkL ( ) [private]

NewL()

IMPORT_C CMTPTypeServicePropertyElement * NewL ( ) [static]

NewL(const TUint16, const TMTPTypeGuid &, const TUint32, const TDesC &)

IMPORT_C CMTPTypeServicePropertyElement * NewL ( const TUint16 aPropertyCode,
const TMTPTypeGuid & aNameSpace,
const TUint32 aPKeyID,
const TDesC & aPropertyName
) [static]

Parameters

const TUint16 aPropertyCode
const TMTPTypeGuid & aNameSpace
const TUint32 aPKeyID
const TDesC & aPropertyName

NewLC()

IMPORT_C CMTPTypeServicePropertyElement * NewLC ( ) [static]

NewLC(const TUint16, const TMTPTypeGuid &, const TUint32, const TDesC &)

IMPORT_C CMTPTypeServicePropertyElement * NewLC ( const TUint16 aPropertyCode,
const TMTPTypeGuid & aNameSpace,
const TUint32 aPKeyID,
const TDesC & aPropertyName
) [static]

Parameters

const TUint16 aPropertyCode
const TMTPTypeGuid & aNameSpace
const TUint32 aPKeyID
const TDesC & aPropertyName

Type()

IMPORT_C TUint Type ( ) const [virtual]

Member Enumerations Documentation

Enum TChunkIds

Data chunk identifiers.

Enumerators

EIdFlatChunk

The flat data chunk ID.

EIdServicePropNameChunk
EIdNumChunks

The number of data chunks.

Enum TMTPServicePropertyElement

Enumerators

EPropertyCode
ENameSpace
EPkeyID
EPorpertyName
ENumElements

Member Data Documentation

RMTPTypeCompoundFlatChunk iChunkFlat

RMTPTypeCompoundFlatChunk iChunkFlat [private]

The flat data chunk comprising elements EStorageType to EFreeSpaceInObjects.

CMTPTypeString * iChunkString

CMTPTypeString * iChunkString [private]

The MTP string type data chunks (EStorageDescription, and EVolumeIdentifier).

const TFixedArray< TElementInfo, ENumElements > iElementInfo

const TFixedArray < TElementInfo , ENumElements > iElementInfo [private]

The dataset element metadata table.

const CMTPTypeCompoundBase::TElementInfo iElementMetaData

const CMTPTypeCompoundBase::TElementInfo iElementMetaData [private, static]

The dataset element metadata table content.