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(THttpDownloadAttribaAttribute,
TAttribTypeaType
)[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()

voidConstructL()[protected]

By default Symbian 2nd phase constructors are private.

ConstructL(TInt32)

voidConstructL(TInt32aValue)[protected]

Parameters

TInt32 aValue

ConstructL(TBool)

voidConstructL(TBoolaValue)[protected]

Parameters

TBool aValue

ConstructL(const TDesC8 &)

voidConstructL(const TDesC8 &aValue)[protected]

Parameters

const TDesC8 & aValue

ConstructL(const TDesC16 &)

voidConstructL(const TDesC16 &aValue)[protected]

Parameters

const TDesC16 & aValue

NewL()

CDefaultAttrib *NewL()[static]

Two-phased constructors.

NewL(THttpDownloadAttrib, TInt32)

CDefaultAttrib *NewL(THttpDownloadAttribaAttribute,
TInt32aValue
)[static]

Parameters

THttpDownloadAttrib aAttribute
TInt32 aValue

NewL(THttpDownloadAttrib, TBool)

CDefaultAttrib *NewL(THttpDownloadAttribaAttribute,
TBoolaValue
)[static]

Parameters

THttpDownloadAttrib aAttribute
TBool aValue

NewL(THttpDownloadAttrib, const TDesC8 &)

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

Parameters

THttpDownloadAttrib aAttribute
const TDesC8 & aValue

NewL(THttpDownloadAttrib, const TDesC16 &)

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

Parameters

THttpDownloadAttrib aAttribute
const TDesC16 & aValue

PackAttribute(TDes8 &)

voidPackAttribute(TDes8 &aPackage)

Parameters

TDes8 & aPackage

PackedAttribSize()

TInt PackedAttribSize()

Reset()

voidReset()

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

voidSetL(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