1 #ifndef INCLUDE_ORA_PVECTORHANDLER_H
2 #define INCLUDE_ORA_PVECTORHANDLER_H
8 #include "Reflex/Reflex.h"
9 #include "Reflex/Builder/CollectionProxy.h"
19 Reflex::CollFuncTable& collProxy,
21 size_t startElement );
63 size_t size(
const void* address );
75 void clear(
const void* address );
size_t m_persistentSizeAttributeOffset
Reflex::Type & iteratorReturnType()
Returns the iterator return type.
Reflex::Type m_type
The dictionary information.
PVectorIteratorHandler(const Reflex::Environ< long > &collEnv, Reflex::CollFuncTable &collProxy, const Reflex::Type &iteratorReturnType, size_t startElement)
Constructor.
size_t size(const void *address)
Returns the size of the container.
void finalize(void *address)
execute the ending procedure for the container
bool m_isAssociative
Flag indicating whether the container is associative.
bool isAssociative() const
Returns the associativeness of the container.
Reflex::Type m_iteratorReturnType
The iterator return type.
size_t m_vecAttributeOffset
void appendNewElement(void *address, void *data)
Appends a new element and returns its address of the object reference.
Reflex::Type m_returnType
The return type of the iterator dereference method.
Reflex::Environ< long > m_collEnv
Structure containing parameters of the collection instance.
Reflex::CollFuncTable & m_collProxy
Proxy of the generic collection.
virtual ~PVectorHandler()
Destructor.
void increment()
Increments itself.
size_t startElementIndex(const void *address)
Returns the index of the first element.
void * object()
Returns the current object.
Reflex::Environ< long > m_collEnv
Structure containing parameters of the collection instance.
std::auto_ptr< Reflex::CollFuncTable > m_collProxy
Proxy of the generic collection.
IArrayIteratorHandler * iterate(const void *address)
Returns an initialized iterator.
char data[epos_bytes_allocation]
Reflex::Type & returnType()
Returns the return type of the iterator dereference method.
size_t * persistentSize(const void *address)
Returns the persistent size of the container.
void * m_currentElement
Current element object pointer.
PVectorHandler(const Reflex::Type &dictionary)
Constructor.
virtual ~PVectorIteratorHandler()
Destructor.
void clear(const void *address)
Clear the content of the container.