#include <FWItemRandomAccessor.h>
Public Member Functions | |
FWItemRandomAccessor (const TClass *iClass) | |
const void * | modelData (int iIndex) const |
REGISTER_FWITEMACCESSOR_METHODS () | |
unsigned int | size () const |
Public Member Functions inherited from FWItemRandomAccessorBase | |
const void * | data () const |
bool | isCollection () const |
const TClass * | modelType () const |
virtual void | reset () |
void | setData (const edm::ObjectWithDict &) |
override if id of an object should be different than the index More... | |
const TClass * | type () const |
virtual | ~FWItemRandomAccessorBase () |
Public Member Functions inherited from FWItemAccessorBase | |
FWItemAccessorBase () | |
virtual | ~FWItemAccessorBase () |
Private Types | |
typedef C | container_type |
typedef V | container_value_type |
Additional Inherited Members | |
Protected Member Functions inherited from FWItemRandomAccessorBase | |
FWItemRandomAccessorBase (const TClass *type, const type_info &modelTypeName) | |
void * | getDataPtr () const |
Protected Attributes inherited from FWItemRandomAccessorBase | |
void * | m_data |
const TClass * | m_modelType |
const TClass * | m_type |
A generic helper class which can be used to create a specialized FWItemAccessorBase plugin for all the classes that expose a std::vector like interface.
The template argument T is the actual type of the container you want to have an accessor for and it must satisty the following:
Notice that most of the work is actually done by the baseclass.
Definition at line 74 of file FWItemRandomAccessor.h.
|
private |
Definition at line 76 of file FWItemRandomAccessor.h.
|
private |
Definition at line 77 of file FWItemRandomAccessor.h.
|
inline |
Definition at line 79 of file FWItemRandomAccessor.h.
|
inlinevirtual |
Implements FWItemAccessorBase.
Definition at line 86 of file FWItemRandomAccessor.h.
References FWItemRandomAccessorBase::getDataPtr().
FWItemRandomAccessor< C, V >::REGISTER_FWITEMACCESSOR_METHODS | ( | ) |
|
inlinevirtual |
Implements FWItemAccessorBase.
Definition at line 93 of file FWItemRandomAccessor.h.
References FWItemRandomAccessorBase::getDataPtr().