CAccPolObjectBase Class Reference

class CAccPolObjectBase : public CBase

Base class for accessory policy name/value pair object(s). Objects which are inherited from the CAccPolObjectBase can be delivered inside an object container to accessory server's clients.

.lib

Inherits from

Constructor & Destructor Documentation

CAccPolObjectBase()

IMPORT_CCAccPolObjectBase()[protected]

C++ default constructor.

CAccPolObjectBase(TUint8, CAccPolObjectCon *)

IMPORT_CCAccPolObjectBase(TUint8aObjectType,
CAccPolObjectCon *aObject = NULL
)[protected]

C++ default constructor.

Parameters

TUint8 aObjectType
CAccPolObjectCon * aObject = NULL

~CAccPolObjectBase()

~CAccPolObjectBase()[virtual]

Destructor.

Member Functions Documentation

DuplicateLC(CAccPolObjectCon *)

CAccPolObjectBase *DuplicateLC(CAccPolObjectCon *aObject = NULL)[pure virtual]

Duplicates a object data. Object which is inherited from CAccPolObjectBase must implement this.

Parameters

CAccPolObjectCon * aObject = NULL

ExternalizeL(RWriteStream &)

voidExternalizeL(RWriteStream &aStream)const [pure virtual]

Externalize object data. Object which is inherited from CAccPolObjectBase must implement this.

Parameters

RWriteStream & aStream

InternalizeL(RReadStream &)

voidInternalizeL(RReadStream &aStream)[pure virtual]

Internalize an object data. Object which is inherited from CAccPolObjectBase must implement this.

Parameters

RReadStream & aStream

ObjectType()

IMPORT_C TUint8ObjectType()const

Returns the object type.

SetObjectType(TUint8)

IMPORT_C voidSetObjectType(TUint8aObjectType)

Sets the object type.

Parameters

TUint8 aObjectType

operator=(const CAccPolObjectBase &)

IMPORT_C CAccPolObjectBase &operator=(const CAccPolObjectBase &)[protected]

Copies a base class data.

Parameters

const CAccPolObjectBase &

Member Data Documentation

CAccPolObjectCon * iObjectContainer

CAccPolObjectCon *iObjectContainer[protected]

Pointer to object container.

TUint8 iObjectType

TUint8 iObjectType[private]

Object type