1 #ifndef INCLUDE_ORA_STLCONTAINERHANDLER_H
2 #define INCLUDE_ORA_STLCONTAINERHANDLER_H
8 #include "Reflex/Reflex.h"
9 #include "Reflex/Builder/CollectionProxy.h"
17 Reflex::CollFuncTable& collProxy,
58 size_t size(
const void* address );
67 void clear(
const void* address );
104 size_t size(
const void* address );
113 void clear(
const void* address );
~STLContainerIteratorHandler()
Destructor.
~SpecialSTLContainerHandler()
Destructor.
void appendNewElement(void *address, void *data)
Appends a new element and returns its address of the object reference.
STLContainerHandler(const Reflex::Type &dictionary)
Constructor.
Reflex::CollFuncTable & m_collProxy
Proxy of the generic collection.
~STLContainerHandler()
Destructor.
IArrayIteratorHandler * iterate(const void *address)
Returns an initialized iterator.
Reflex::Type & iteratorReturnType()
Returns the iterator return type.
void * m_currentElement
Current element object pointer.
std::auto_ptr< IArrayHandler > m_containerHandler
The handler of the unserlying container.
Reflex::Type m_returnType
The return type of the iterator dereference method.
Reflex::Type m_iteratorReturnType
The iterator return type.
SpecialSTLContainerHandler(const Reflex::Type &dictionary)
Constructor.
Reflex::Environ< long > m_collEnv
Structure containing parameters of the collection instance.
std::auto_ptr< Reflex::CollFuncTable > m_collProxy
Proxy of the generic collection.
Reflex::Environ< long > m_collEnv
Structure containing parameters of the collection instance.
bool isAssociative() const
Returns the associativeness of the container.
size_t size(const void *address)
Returns the size of the container.
Reflex::Type & iteratorReturnType()
Returns the iterator return type.
Reflex::Type & returnType()
Returns the return type of the iterator dereference method.
int m_containerOffset
The offset of the underlying container.
Reflex::Type m_type
The dictionary information.
STLContainerIteratorHandler(const Reflex::Environ< long > &collEnv, Reflex::CollFuncTable &collProxy, const Reflex::Type &iteratorReturnType)
Constructor.
void increment()
Increments itself.
char data[epos_bytes_allocation]
IArrayIteratorHandler * iterate(const void *address)
Returns an initialized iterator.
void appendNewElement(void *address, void *data)
Appends a new element and returns its address of the object reference.
bool m_isAssociative
Flag indicating whether the container is associative.
void clear(const void *address)
Clear the content of the container.
void clear(const void *address)
Clear the content of the container.
size_t size(const void *address)
Returns the size of the container.
void * object()
Returns the current object.