CDefaultAttrib Class Reference

class CDefaultAttrib : public CBase

Class for storing default attribute

-
Since
Series 60 2.8

Inherits from

Constructor & Destructor Documentation

CDefaultAttrib(THttpDownloadAttrib, TAttribType)

CDefaultAttrib ( THttpDownloadAttrib aAttribute,
TAttribType aType
) [protected]

C++ default constructor.

Parameters

THttpDownloadAttrib aAttribute
TAttribType aType

CDefaultAttrib()

CDefaultAttrib ( ) [protected]

~CDefaultAttrib()

~CDefaultAttrib ( ) [virtual]

Destructor.

Member Functions Documentation

AsTBoolL()

TBool AsTBoolL ( ) const

AsTInt32L()

TInt32 AsTInt32L ( ) const

AsTPtrC16L()

TPtrC16 AsTPtrC16L ( ) const

AsTPtrC8L()

TPtrC8 AsTPtrC8L ( ) const

ConstructL()

void ConstructL ( ) [protected]

By default Symbian 2nd phase constructors are private.

ConstructL(TInt32)

void ConstructL ( TInt32 aValue ) [protected]

Parameters

TInt32 aValue

ConstructL(TBool)

void ConstructL ( TBool aValue ) [protected]

Parameters

TBool aValue

ConstructL(const TDesC8 &)

void ConstructL ( const TDesC8 & aValue ) [protected]

Parameters

const TDesC8 & aValue

ConstructL(const TDesC16 &)

void ConstructL ( const TDesC16 & aValue ) [protected]

Parameters

const TDesC16 & aValue

NewL()

CDefaultAttrib * NewL ( ) [static]

Two-phased constructors.

NewL(THttpDownloadAttrib, TInt32)

CDefaultAttrib * NewL ( THttpDownloadAttrib aAttribute,
TInt32 aValue
) [static]

Parameters

THttpDownloadAttrib aAttribute
TInt32 aValue

NewL(THttpDownloadAttrib, TBool)

CDefaultAttrib * NewL ( THttpDownloadAttrib aAttribute,
TBool aValue
) [static]

Parameters

THttpDownloadAttrib aAttribute
TBool aValue

NewL(THttpDownloadAttrib, const TDesC8 &)

CDefaultAttrib * NewL ( THttpDownloadAttrib aAttribute,
const TDesC8 & aValue
) [static]

Parameters

THttpDownloadAttrib aAttribute
const TDesC8 & aValue

NewL(THttpDownloadAttrib, const TDesC16 &)

CDefaultAttrib * NewL ( THttpDownloadAttrib aAttribute,
const TDesC16 & aValue
) [static]

Parameters

THttpDownloadAttrib aAttribute
const TDesC16 & aValue

PackAttribute(TDes8 &)

void PackAttribute ( TDes8 & aPackage )

Parameters

TDes8 & aPackage

PackedAttribSize()

TInt PackedAttribSize ( )

Reset()

void Reset ( )

SetL(const TDesC8 &, const TDesC8 &, const TDesC8 &)

void SetL ( const TDesC8 & aType,
const TDesC8 & aAttribute,
const TDesC8 & aValue
)

Parameters

const TDesC8 & aType
const TDesC8 & aAttribute
const TDesC8 & aValue

Member Enumerations Documentation

Enum TAttribType

Default attribute type

-
Since
Series 60 2.8

Enumerators

EInt
EBool
EString8
EString16

Member Data Documentation

THttpDownloadAttrib iAttribute

THttpDownloadAttrib iAttribute

TBool iBool

TBool iBool

HBufC16 * iBufC16

HBufC16 * iBufC16

HBufC8 * iBufC8

HBufC8 * iBufC8

TInt32 iInt32

TInt32 iInt32

TAttribType iType

TAttribType iType