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.

Constructor & Destructor Documentation

TDataType()

IMPORT_C TDataType ( )

TDataType(const TDataType &)

IMPORT_C TDataType ( const TDataType & aDataType )

Parameters

const TDataType & aDataType

TDataType(const TDesC8 &)

IMPORT_C TDataType ( const TDesC8 & aDataType )

Parameters

const TDesC8 & aDataType

TDataType(TUid)

IMPORT_C TDataType ( TUid aUid )

Parameters

TUid aUid

Member Functions Documentation

Des()

IMPORT_C TBuf < KMaxDataTypeLength > Des ( ) const

Des8()

IMPORT_C TPtrC8 Des8 ( ) const

ExternalizeL(RWriteStream &)

IMPORT_C void ExternalizeL ( RWriteStream & aWriteStream ) const

Parameters

RWriteStream & aWriteStream

InternalizeL(RReadStream &)

IMPORT_C void InternalizeL ( RReadStream & aReadStream )

Parameters

RReadStream & aReadStream

IsNative()

IMPORT_C TBool IsNative ( ) const

ParseDes()

void ParseDes ( ) [private]

Uid()

IMPORT_C TUid Uid ( ) const

operator!=(const TDataType &)

IMPORT_C TInt operator!= ( const TDataType & aDataType ) const

Parameters

const TDataType & aDataType

operator==(const TDataType &)

IMPORT_C TInt operator== ( const TDataType & aDataType ) const

Parameters

const TDataType & aDataType

Member Data Documentation

TBuf8< KMaxDataTypeLength > iDataType

TBuf8 < KMaxDataTypeLength > iDataType [private]

TUid iUid

TUid iUid [private]