CAccPolObjectCon Class Reference

class CAccPolObjectCon : public CAccPolObjectBase

Base class for container objects. Objects which are added to container must be inherited from "CAccPolObjectBase" class.

.lib

Inherits from

Constructor & Destructor Documentation

CAccPolObjectCon()

IMPORT_CCAccPolObjectCon()[protected]

C++ default constructor.

CAccPolObjectCon(TUint8, CAccPolObjectCon *)

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

C++ default constructor.

Parameters

TUint8 aObjectType
CAccPolObjectCon * aObject = NULL

~CAccPolObjectCon()

~CAccPolObjectCon()[virtual]

Destructor.

Member Functions Documentation

AddL(const CAccPolObjectBase &)

IMPORT_C voidAddL(const CAccPolObjectBase &aObject)

Duplicates the object and adds that to the object container.

leave
, Leaves with one of the system wide error codes, if the operation fails.

Parameters

const CAccPolObjectBase & aObject

AtL(TInt)

IMPORT_C CAccPolObjectBase *const &AtL(TIntaIndex)const

Gets a reference to the object pointer located at the specified position within the array.

leave
, Leaves with one of the system wide error codes, if the operation fails.

Parameters

TInt aIndex

Count()

IMPORT_C TIntCount()const

Returns the object count.

Reset()

IMPORT_C voidReset()

Resets the object container. It frees all memory allocated to the array and resets the internal state so that it is ready to be reused.

Member Data Documentation

RPointerArray< CAccPolObjectBase > iObjects

RPointerArray< CAccPolObjectBase >iObjects[private]

Array for objects which are inherited from CAccObjectBase.