CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
ora::IArrayHandler Class Referenceabstract

#include <IArrayHandler.h>

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

Public Member Functions

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

Detailed Description

Definition at line 28 of file IArrayHandler.h.

Constructor & Destructor Documentation

virtual ora::IArrayHandler::~IArrayHandler ( )
inlinevirtual

Destructor.

Definition at line 32 of file IArrayHandler.h.

32 {}

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::SpecialSTLContainerHandler, ora::PVectorHandler, ora::STLContainerHandler, and ora::CArrayHandler.

virtual void ora::IArrayHandler::clear ( const void *  address)
pure virtual
virtual void ora::IArrayHandler::finalize ( void *  )
inlinevirtual

execute the ending procedure for the container

Reimplemented in ora::PVectorHandler.

Definition at line 56 of file IArrayHandler.h.

56 { }
virtual bool ora::IArrayHandler::isAssociative ( ) const
inlinevirtual

Returns the associativeness of the container.

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

Definition at line 50 of file IArrayHandler.h.

50 { 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::SpecialSTLContainerHandler, ora::PVectorHandler, ora::STLContainerHandler, and ora::CArrayHandler.

virtual size_t* ora::IArrayHandler::persistentSize ( const void *  address)
inlinevirtual

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().

53 { return 0; }
virtual size_t ora::IArrayHandler::size ( const void *  address)
pure virtual
virtual size_t ora::IArrayHandler::startElementIndex ( const void *  )
inlinevirtual

Returns the index of the first element.

Reimplemented in ora::PVectorHandler.

Definition at line 38 of file IArrayHandler.h.

38 { return 0; };