#include <IArrayHandler.h>
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 IArrayIteratorHandler * | iterate (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. |
Definition at line 28 of file IArrayHandler.h.
virtual ora::IArrayHandler::~IArrayHandler | ( | ) | [inline, virtual] |
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] |
Returns an initialized iterator.
Implemented in ora::CArrayHandler, ora::PVectorHandler, ora::STLContainerHandler, and ora::SpecialSTLContainerHandler.
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.
References size().
Referenced by ora::PVectorUpdater::update(), and ora::QueryableVectorUpdater::update().
virtual size_t ora::IArrayHandler::size | ( | const void * | address | ) | [pure virtual] |
Returns the size of the container.
Implemented in ora::CArrayHandler, ora::PVectorHandler, ora::STLContainerHandler, and ora::SpecialSTLContainerHandler.
Referenced by persistentSize(), ora::PVectorUpdater::update(), and ora::QueryableVectorUpdater::update().
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; };