CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
ora::CArrayIteratorHandler Class Reference

#include <CArrayHandler.h>

Inheritance diagram for ora::CArrayIteratorHandler:
ora::IArrayIteratorHandler

Public Member Functions

 CArrayIteratorHandler (const void *startAddress, const edm::TypeWithDict &iteratorReturnType)
 Constructor. More...
 
void increment ()
 Increments itself. More...
 
void * object ()
 Returns the current object. More...
 
edm::TypeWithDictreturnType ()
 Returns the return type of the iterator dereference method. More...
 
 ~CArrayIteratorHandler ()
 Destructor. More...
 
- Public Member Functions inherited from ora::IArrayIteratorHandler
virtual ~IArrayIteratorHandler ()
 Destructor. More...
 

Private Attributes

const void * m_currentElement
 Current element object pointer. More...
 
edm::TypeWithDict m_returnType
 The return type of the iterator dereference method. More...
 

Detailed Description

Definition at line 10 of file CArrayHandler.h.

Constructor & Destructor Documentation

ora::CArrayIteratorHandler::CArrayIteratorHandler ( const void *  startAddress,
const edm::TypeWithDict iteratorReturnType 
)

Constructor.

Definition at line 6 of file CArrayHandler.cc.

7  :
8  m_returnType(iteratorReturnType),
9  m_currentElement(startAddress){
10 
11 }
const void * m_currentElement
Current element object pointer.
Definition: CArrayHandler.h:33
edm::TypeWithDict m_returnType
The return type of the iterator dereference method.
Definition: CArrayHandler.h:30
ora::CArrayIteratorHandler::~CArrayIteratorHandler ( )

Destructor.

Definition at line 13 of file CArrayHandler.cc.

13 {}

Member Function Documentation

void ora::CArrayIteratorHandler::increment ( )
virtual

Increments itself.

Implements ora::IArrayIteratorHandler.

Definition at line 16 of file CArrayHandler.cc.

17 {
18  m_currentElement = static_cast< const char* >( m_currentElement) + m_returnType.size();
19 }
const void * m_currentElement
Current element object pointer.
Definition: CArrayHandler.h:33
edm::TypeWithDict m_returnType
The return type of the iterator dereference method.
Definition: CArrayHandler.h:30
size_t size() const
void * ora::CArrayIteratorHandler::object ( )
virtual
edm::TypeWithDict & ora::CArrayIteratorHandler::returnType ( )
virtual

Returns the return type of the iterator dereference method.

Implements ora::IArrayIteratorHandler.

Definition at line 28 of file CArrayHandler.cc.

29 {
30  return m_returnType;
31 }
edm::TypeWithDict m_returnType
The return type of the iterator dereference method.
Definition: CArrayHandler.h:30

Member Data Documentation

const void* ora::CArrayIteratorHandler::m_currentElement
private

Current element object pointer.

Definition at line 33 of file CArrayHandler.h.

edm::TypeWithDict ora::CArrayIteratorHandler::m_returnType
private

The return type of the iterator dereference method.

Definition at line 30 of file CArrayHandler.h.