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_C CAccPolObjectCon ( ) [protected]

C++ default constructor.

CAccPolObjectCon(TUint8, CAccPolObjectCon *)

IMPORT_C CAccPolObjectCon ( TUint8 aObjectType,
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 void AddL ( 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 ( TInt aIndex ) 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 TInt Count ( ) const

Returns the object count.

Reset()

IMPORT_C void Reset ( )

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.