CMS 3D CMS Logo

Public Member Functions

ora::IArrayHandler Class Reference

#include <IArrayHandler.h>

Inheritance diagram for ora::IArrayHandler:
ora::CArrayHandler ora::PVectorHandler ora::SpecialSTLContainerHandler ora::STLContainerHandler

List of all members.

Public Member Functions

virtual void appendNewElement (void *address, void *data)=0
 Appends a new element and returns its address.
virtual void clear (const void *address)=0
 Clear the content of the container.
virtual void finalize (void *)
 execute the ending procedure for the container
virtual bool isAssociative () const
 Returns the associativeness of the container.
virtual IArrayIteratorHandleriterate (const void *address)=0
 Returns an initialized iterator.
virtual Reflex::Type & iteratorReturnType ()=0
 Returns the iterator return type.
virtual size_t * persistentSize (const void *address)
 Returns the size of the container. Only differs in the PVector.
virtual size_t size (const void *address)=0
 Returns the size of the container.
virtual size_t startElementIndex (const void *)
 Returns the index of the first element.
virtual ~IArrayHandler ()
 Destructor.

Detailed Description

Definition at line 28 of file IArrayHandler.h.


Constructor & Destructor Documentation

virtual ora::IArrayHandler::~IArrayHandler ( ) [inline, virtual]

Destructor.

Definition at line 32 of file IArrayHandler.h.

{}

Member Function Documentation

virtual void ora::IArrayHandler::appendNewElement ( void *  address,
void *  data 
) [pure virtual]

Appends a new element and returns its address.

Implemented in ora::CArrayHandler, ora::PVectorHandler, ora::STLContainerHandler, and ora::SpecialSTLContainerHandler.

virtual void ora::IArrayHandler::clear ( const void *  address) [pure virtual]

Clear the content of the container.

Implemented in ora::CArrayHandler, ora::PVectorHandler, ora::STLContainerHandler, and ora::SpecialSTLContainerHandler.

virtual void ora::IArrayHandler::finalize ( void *  ) [inline, virtual]

execute the ending procedure for the container

Reimplemented in ora::PVectorHandler.

Definition at line 56 of file IArrayHandler.h.

{ }
virtual bool ora::IArrayHandler::isAssociative ( ) const [inline, virtual]

Returns the associativeness of the container.

Reimplemented in ora::CArrayHandler, ora::PVectorHandler, and ora::STLContainerHandler.

Definition at line 50 of file IArrayHandler.h.

{ return false; }
virtual IArrayIteratorHandler* ora::IArrayHandler::iterate ( const void *  address) [pure virtual]
virtual Reflex::Type& ora::IArrayHandler::iteratorReturnType ( ) [pure virtual]

Returns the iterator return type.

Implemented in ora::CArrayHandler, ora::PVectorHandler, ora::STLContainerHandler, and ora::SpecialSTLContainerHandler.

virtual size_t* ora::IArrayHandler::persistentSize ( const void *  address) [inline, virtual]

Returns the size of the container. Only differs in the PVector.

Reimplemented in ora::PVectorHandler.

Definition at line 53 of file IArrayHandler.h.

Referenced by ora::PVectorUpdater::update().

{ return 0; }
virtual size_t ora::IArrayHandler::size ( const void *  address) [pure virtual]
virtual size_t ora::IArrayHandler::startElementIndex ( const void *  ) [inline, virtual]

Returns the index of the first element.

Reimplemented in ora::PVectorHandler.

Definition at line 38 of file IArrayHandler.h.

{ return 0; };