CMTPTypeServiceInfo Class Reference

class CMTPTypeServiceInfo : public CMTPTypeCompoundBase

Inherits from

Public Member Functions
~CMTPTypeServiceInfo()
IMPORT_C voidAppendServiceDataBlockL(const TMTPTypeGuid &)
IMPORT_C voidAppendUsedServiceL(const TMTPTypeGuid &)
IMPORT_C CMTPTypeServiceInfo *NewL()
IMPORT_C CMTPTypeServiceInfo *NewLC()
IMPORT_C TUint32NumberOfServiceDataBlock()
IMPORT_C TUint32NumberOfUsedServices()
IMPORT_C voidSerivceDataBlockL(const TUint, TMTPTypeGuid &)
IMPORT_C CMTPTypeServiceEventList &ServiceEventList()
IMPORT_C CMTPTypeServiceFormatList &ServiceFormatList()
IMPORT_C CMTPTypeServiceMethodList &ServiceMethodList()
IMPORT_C CMTPTypeServicePropertyList &ServicePropList()
IMPORT_C TUintType()
IMPORT_C voidUsedServiceL(const TUint, TMTPTypeGuid &)
Private Member Functions
CMTPTypeServiceInfo()
voidConstructL()
const TElementInfo &ElementInfo(TInt)
MMTPType *NewFlatChunkL(const TElementInfo &)
TBool ReadableElementL(TInt)
TInt UpdateWriteSequenceErr(TInt)
TBool WriteableElementL(TInt)
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::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::~CMTPTypeCompoundBase()
Public Member Enumerations
enumTMTPServiceInfoElement {
EServiceID, EServiceStorageID, EServicePGUID, EServiceVersion, EServiceGUID, EServiceName, EServiceType, EBaseServiceID, ENumElements
}
Private Member Enumerations
enumTChunkIds {
EIdFlat1Chunk, EIdServiceNameChunk, EIdFlat2Chunk, EIdUsedServiceGUIDChunk, EIdServicePropListChunk, EIdServicePropertyListChunk, EIdServiceFormatListChunk, EIdServiceEventListChunk, EIdServiceDataBlockChunk, EIdNumChunks
}
Inherited Enumerations
CMTPTypeCompoundBase:TReadWriteSequenceState
Private Attributes
const TUintKFlat1ChunkSize
const TUintKFlat2ChunkSize
RMTPTypeCompoundFlatChunkiChunkFlat1
RMTPTypeCompoundFlatChunkiChunkFlat2
CMTPTypeArray *iChunkServiceDataBlock
CMTPTypeString *iChunkString
CMTPTypeArray *iChunkUsedServices
const TFixedArray< TElementInfo, ENumElements >iElementInfo
const CMTPTypeCompoundBase::TElementInfoiElementMetaData
CMTPTypeServiceEventList *iServiceEventList
CMTPTypeServiceFormatList *iServiceFormatList
CMTPTypeServiceMethodList *iServiceMethodList
CMTPTypeServicePropertyList *iServicePropList
Inherited Attributes
CMTPTypeCompoundBase::KJustInTimeConstruction
CMTPTypeCompoundBase::KMTPNotApplicable
CMTPTypeCompoundBase::KVariableChunkCount
CMTPTypeCompoundBase::iChunks
CMTPTypeCompoundBase::iWriteChunk
CMTPTypeCompoundBase::iWriteSequenceState

Constructor & Destructor Documentation

CMTPTypeServiceInfo()

CMTPTypeServiceInfo()[private]

~CMTPTypeServiceInfo()

IMPORT_C~CMTPTypeServiceInfo()[virtual]

Member Functions Documentation

AppendServiceDataBlockL(const TMTPTypeGuid &)

IMPORT_C voidAppendServiceDataBlockL(const TMTPTypeGuid &aElement)

Parameters

const TMTPTypeGuid & aElement

AppendUsedServiceL(const TMTPTypeGuid &)

IMPORT_C voidAppendUsedServiceL(const TMTPTypeGuid &aElement)

Parameters

const TMTPTypeGuid & aElement

ConstructL()

voidConstructL()[private]

ElementInfo(TInt)

const TElementInfo &ElementInfo(TIntaElementId)const [private, virtual]

Provides the TElementInfo data for the specified element.

Parameters

TInt aElementIdThe identifier of the requested element.

NewFlatChunkL(const TElementInfo &)

MMTPType *NewFlatChunkL(const TElementInfo &aElementInfo)[private]

Parameters

const TElementInfo & aElementInfo

NewL()

IMPORT_C CMTPTypeServiceInfo *NewL()[static]

NewLC()

IMPORT_C CMTPTypeServiceInfo *NewLC()[static]

NumberOfServiceDataBlock()

IMPORT_C TUint32NumberOfServiceDataBlock()const

NumberOfUsedServices()

IMPORT_C TUint32NumberOfUsedServices()const

ReadableElementL(TInt)

TBool ReadableElementL(TIntaElementId)const [private, virtual]

Indicates if the specified element can be read from.

Parameters

TInt aElementIdThe identifier of the requested element.

SerivceDataBlockL(const TUint, TMTPTypeGuid &)

IMPORT_C voidSerivceDataBlockL(const TUintaIndex,
TMTPTypeGuid &aGUID
)const

Parameters

const TUint aIndex
TMTPTypeGuid & aGUID

ServiceEventList()

IMPORT_C CMTPTypeServiceEventList &ServiceEventList()

ServiceFormatList()

IMPORT_C CMTPTypeServiceFormatList &ServiceFormatList()

ServiceMethodList()

IMPORT_C CMTPTypeServiceMethodList &ServiceMethodList()

ServicePropList()

IMPORT_C CMTPTypeServicePropertyList &ServicePropList()

Type()

IMPORT_C TUintType()const [virtual]

UpdateWriteSequenceErr(TInt)

TInt UpdateWriteSequenceErr(TIntaErr)[private]

Parameters

TInt aErr

UsedServiceL(const TUint, TMTPTypeGuid &)

IMPORT_C voidUsedServiceL(const TUintaIndex,
TMTPTypeGuid &aUsedServiceGUID
)const

Parameters

const TUint aIndex
TMTPTypeGuid & aUsedServiceGUID

WriteableElementL(TInt)

TBool WriteableElementL(TIntaElementId)const [private, virtual]

Indicates if the specified element can be written to.

Parameters

TInt aElementIdThe identifier of the requested element.

Member Enumerations Documentation

Enum TChunkIds

Enumerators

EIdFlat1Chunk

The flat data chunk ID.

EIdServiceNameChunk

The EServiceName element data chunk ID

EIdFlat2Chunk
EIdUsedServiceGUIDChunk
EIdServicePropListChunk
EIdServicePropertyListChunk
EIdServiceFormatListChunk
EIdServiceEventListChunk
EIdServiceDataBlockChunk
EIdNumChunks

The number of data chunks.

Enum TMTPServiceInfoElement

Enumerators

EServiceID
EServiceStorageID
EServicePGUID
EServiceVersion
EServiceGUID
EServiceName
EServiceType
EBaseServiceID
ENumElements

The number of dataset elements.

Member Data Documentation

const TUint KFlat1ChunkSize

const TUintKFlat1ChunkSize[private, static]

The size in bytes of the first flat data chunk.

const TUint KFlat2ChunkSize

const TUintKFlat2ChunkSize[private, static]

The size in bytes of the second flat data chunk.

RMTPTypeCompoundFlatChunk iChunkFlat1

RMTPTypeCompoundFlatChunkiChunkFlat1[private]

The flat data chunk comprising elements .

RMTPTypeCompoundFlatChunk iChunkFlat2

RMTPTypeCompoundFlatChunkiChunkFlat2[private]

CMTPTypeArray * iChunkServiceDataBlock

CMTPTypeArray *iChunkServiceDataBlock[private]

CMTPTypeString * iChunkString

CMTPTypeString *iChunkString[private]

The MTP string type data chunks (EServiceName).CMTPTypeString

CMTPTypeArray * iChunkUsedServices

CMTPTypeArray *iChunkUsedServices[private]

The MTP array type data chunks .(EUsedServiceGUID) store the used services' GUIDs

const TFixedArray< TElementInfo, ENumElements > iElementInfo

const TFixedArray< TElementInfo, ENumElements >iElementInfo[private]

The dataset element metadata table.

const CMTPTypeCompoundBase::TElementInfo iElementMetaData

const CMTPTypeCompoundBase::TElementInfoiElementMetaData[private, static]

The dataset element metadata table content.

CMTPTypeServiceEventList * iServiceEventList

CMTPTypeServiceEventList *iServiceEventList[private]

CMTPTypeServiceFormatList * iServiceFormatList

CMTPTypeServiceFormatList *iServiceFormatList[private]

CMTPTypeServiceMethodList * iServiceMethodList

CMTPTypeServiceMethodList *iServiceMethodList[private]

CMTPTypeServicePropertyList * iServicePropList

CMTPTypeServicePropertyList *iServicePropList[private]