8 m_returnType(iteratorReturnType),
9 m_currentElement(startAddress){
18 m_currentElement =
static_cast< const char*
>( m_currentElement) + m_returnType.size();
24 return const_cast<void*
>(m_currentElement);
void increment()
Increments itself.
~CArrayHandler()
Destructor.
CArrayHandler(const edm::TypeWithDict &dictionary)
Constructor.
edm::TypeWithDict resolvedType(const edm::TypeWithDict &typ)
edm::TypeWithDict & returnType()
Returns the return type of the iterator dereference method.
edm::TypeWithDict & iteratorReturnType()
Returns the iterator return type.
IArrayIteratorHandler * iterate(const void *address)
Returns an initialized iterator.
void clear(const void *address)
Clear the content of the container.
CArrayIteratorHandler(const void *startAddress, const edm::TypeWithDict &iteratorReturnType)
Constructor.
void * object()
Returns the current object.
void appendNewElement(void *address, void *data)
Appends a new element and returns its address of the object reference.
~CArrayIteratorHandler()
Destructor.
TypeWithDict toType() const
size_t size(const void *address)
Returns the size of the container.
edm::TypeWithDict m_elementType
The iterator return type.
edm::TypeWithDict m_type
The dictionary information.
size_t arrayLength(const edm::TypeWithDict &typ)