CMTPTypeServiceInfo Class Reference

class CMTPTypeServiceInfo : public CMTPTypeCompoundBase

Inherits from

Public Member Functions
~CMTPTypeServiceInfo ()
IMPORT_C void AppendServiceDataBlockL (const TMTPTypeGuid &)
IMPORT_C void AppendUsedServiceL (const TMTPTypeGuid &)
IMPORT_C CMTPTypeServiceInfo * NewL ()
IMPORT_C CMTPTypeServiceInfo * NewLC ()
IMPORT_C TUint32 NumberOfServiceDataBlock ()
IMPORT_C TUint32 NumberOfUsedServices ()
IMPORT_C void SerivceDataBlockL (const TUint , TMTPTypeGuid &)
IMPORT_C CMTPTypeServiceEventList & ServiceEventList ()
IMPORT_C CMTPTypeServiceFormatList & ServiceFormatList ()
IMPORT_C CMTPTypeServiceMethodList & ServiceMethodList ()
IMPORT_C CMTPTypeServicePropertyList & ServicePropList ()
IMPORT_C TUint Type ()
IMPORT_C void UsedServiceL (const TUint , TMTPTypeGuid &)
Private Member Functions
CMTPTypeServiceInfo ()
void ConstructL ()
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
enum TMTPServiceInfoElement {
EServiceID , EServiceStorageID , EServicePGUID , EServiceVersion , EServiceGUID , EServiceName , EServiceType , EBaseServiceID , ENumElements
}
Private Member Enumerations
enum TChunkIds {
EIdFlat1Chunk , EIdServiceNameChunk , EIdFlat2Chunk , EIdUsedServiceGUIDChunk , EIdServicePropListChunk , EIdServicePropertyListChunk , EIdServiceFormatListChunk , EIdServiceEventListChunk , EIdServiceDataBlockChunk , EIdNumChunks
}
Inherited Enumerations
CMTPTypeCompoundBase:TReadWriteSequenceState
Private Attributes
const TUint KFlat1ChunkSize
const TUint KFlat2ChunkSize
RMTPTypeCompoundFlatChunk iChunkFlat1
RMTPTypeCompoundFlatChunk iChunkFlat2
CMTPTypeArray * iChunkServiceDataBlock
CMTPTypeString * iChunkString
CMTPTypeArray * iChunkUsedServices
const TFixedArray < TElementInfo , ENumElements > iElementInfo
const CMTPTypeCompoundBase::TElementInfo iElementMetaData
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 void AppendServiceDataBlockL ( const TMTPTypeGuid & aElement )

Parameters

const TMTPTypeGuid & aElement

AppendUsedServiceL(const TMTPTypeGuid &)

IMPORT_C void AppendUsedServiceL ( const TMTPTypeGuid & aElement )

Parameters

const TMTPTypeGuid & aElement

ConstructL()

void ConstructL ( ) [private]

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(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 TUint32 NumberOfServiceDataBlock ( ) const

NumberOfUsedServices()

IMPORT_C TUint32 NumberOfUsedServices ( ) const

ReadableElementL(TInt)

TBool ReadableElementL ( TInt aElementId ) const [private, virtual]

Indicates if the specified element can be read from.

Parameters

TInt aElementId The identifier of the requested element.

SerivceDataBlockL(const TUint, TMTPTypeGuid &)

IMPORT_C void SerivceDataBlockL ( const TUint aIndex,
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 TUint Type ( ) const [virtual]

UpdateWriteSequenceErr(TInt)

TInt UpdateWriteSequenceErr ( TInt aErr ) [private]

Parameters

TInt aErr

UsedServiceL(const TUint, TMTPTypeGuid &)

IMPORT_C void UsedServiceL ( const TUint aIndex,
TMTPTypeGuid & aUsedServiceGUID
) const

Parameters

const TUint aIndex
TMTPTypeGuid & aUsedServiceGUID

WriteableElementL(TInt)

TBool WriteableElementL ( TInt aElementId ) const [private, virtual]

Indicates if the specified element can be written to.

Parameters

TInt aElementId The 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 TUint KFlat1ChunkSize [private, static]

The size in bytes of the first flat data chunk.

const TUint KFlat2ChunkSize

const TUint KFlat2ChunkSize [private, static]

The size in bytes of the second flat data chunk.

RMTPTypeCompoundFlatChunk iChunkFlat1

RMTPTypeCompoundFlatChunk iChunkFlat1 [private]

The flat data chunk comprising elements .

RMTPTypeCompoundFlatChunk iChunkFlat2

RMTPTypeCompoundFlatChunk iChunkFlat2 [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::TElementInfo iElementMetaData [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]