TDataType Class Reference

class TDataType

A data type.

The class maintains a string that describes the data type and an associated UID.

A data type is also referred to as a MIME type.

Public Member Functions
TDataType()
TDataType(const TDataType &)
TDataType(const TDesC8 &)
TDataType(TUid)
IMPORT_C TBuf< KMaxDataTypeLength >Des()
IMPORT_C TPtrC8Des8()
IMPORT_C voidExternalizeL(RWriteStream &)
IMPORT_C voidInternalizeL(RReadStream &)
IMPORT_C TBoolIsNative()
IMPORT_C TUidUid()
IMPORT_C TIntoperator!=(const TDataType &)
IMPORT_C TIntoperator==(const TDataType &)
Private Member Functions
voidParseDes()
Private Attributes
TBuf8< KMaxDataTypeLength >iDataType
TUid iUid

Constructor & Destructor Documentation

TDataType()

IMPORT_CTDataType()

TDataType(const TDataType &)

IMPORT_CTDataType(const TDataType &aDataType)

Parameters

const TDataType & aDataType

TDataType(const TDesC8 &)

IMPORT_CTDataType(const TDesC8 &aDataType)

Parameters

const TDesC8 & aDataType

TDataType(TUid)

IMPORT_CTDataType(TUidaUid)

Parameters

TUid aUid

Member Functions Documentation

Des()

IMPORT_C TBuf< KMaxDataTypeLength >Des()const

Des8()

IMPORT_C TPtrC8Des8()const

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aWriteStream)const

Parameters

RWriteStream & aWriteStream

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aReadStream)

Parameters

RReadStream & aReadStream

IsNative()

IMPORT_C TBoolIsNative()const

ParseDes()

voidParseDes()[private]

Uid()

IMPORT_C TUidUid()const

operator!=(const TDataType &)

IMPORT_C TIntoperator!=(const TDataType &aDataType)const

Parameters

const TDataType & aDataType

operator==(const TDataType &)

IMPORT_C TIntoperator==(const TDataType &aDataType)const

Parameters

const TDataType & aDataType

Member Data Documentation

TBuf8< KMaxDataTypeLength > iDataType

TBuf8< KMaxDataTypeLength >iDataType[private]

TUid iUid

TUid iUid[private]