#include <FWItemRandomAccessor.h>
Public Member Functions | |
const void * | data () const override |
bool | isCollection () const override |
const TClass * | modelType () const override |
void | reset () override |
void | setData (const edm::ObjectWithDict &) override |
override if id of an object should be different than the index More... | |
const TClass * | type () const override |
~FWItemRandomAccessorBase () override | |
Public Member Functions inherited from FWItemAccessorBase | |
FWItemAccessorBase () | |
virtual const void * | modelData (int iIndex) const =0 |
virtual unsigned int | size () const =0 |
virtual | ~FWItemAccessorBase () |
Protected Member Functions | |
FWItemRandomAccessorBase (const TClass *type, const std::type_info &modelTypeName) | |
void * | getDataPtr () const |
Protected Attributes | |
void * | m_data |
const TClass * | m_modelType |
const TClass * | m_type |
Private Member Functions | |
FWItemRandomAccessorBase (const FWItemRandomAccessorBase &)=delete | |
const FWItemRandomAccessorBase & | operator= (const FWItemRandomAccessorBase &)=delete |
Non templated part of the generic FWItemRandomAccessor<T> class.
Notice that the constructor is protected, so that it is impossible to instanciate this baseclass directly.
Definition at line 28 of file FWItemRandomAccessor.h.
|
override |
Definition at line 32 of file FWItemRandomAccessor.cc.
|
protected |
Definition at line 24 of file FWItemRandomAccessor.cc.
|
privatedelete |
|
overridevirtual |
Implements FWItemAccessorBase.
Definition at line 64 of file FWItemRandomAccessor.cc.
References m_data.
|
protected |
Definition at line 66 of file FWItemRandomAccessor.cc.
References m_data.
Referenced by FWItemRandomAccessor< C, V >::modelData(), FWItemDetSetAccessor< C, COLL, V >::modelData(), FWItemNewDetSetAccessor< C, COLL, V >::modelData(), FWItemRangeAccessor< C, R, V >::modelData(), FWItemMuonDigiAccessor< C, V >::modelData(), BXVectorAccessor< C >::modelData(), FWItemRandomAccessor< C, V >::size(), FWItemDetSetAccessor< C, COLL, V >::size(), FWItemNewDetSetAccessor< C, COLL, V >::size(), FWItemRangeAccessor< C, R, V >::size(), FWItemMuonDigiAccessor< C, V >::size(), and BXVectorAccessor< C >::size().
|
overridevirtual |
Implements FWItemAccessorBase.
Definition at line 75 of file FWItemRandomAccessor.cc.
|
overridevirtual |
Implements FWItemAccessorBase.
Definition at line 70 of file FWItemRandomAccessor.cc.
References cms::cuda::assert(), and m_modelType.
|
privatedelete |
|
overridevirtual |
Implements FWItemAccessorBase.
Definition at line 59 of file FWItemRandomAccessor.cc.
References m_data.
Referenced by setData().
|
overridevirtual |
override if id of an object should be different than the index
Implements FWItemAccessorBase.
Definition at line 49 of file FWItemRandomAccessor.cc.
References edm::ObjectWithDict::address(), cms::cuda::assert(), m_data, and reset().
|
overridevirtual |
Implements FWItemAccessorBase.
Definition at line 68 of file FWItemRandomAccessor.cc.
References m_type.
|
mutableprotected |
Definition at line 46 of file FWItemRandomAccessor.h.
Referenced by data(), getDataPtr(), reset(), and setData().
|
protected |
Definition at line 45 of file FWItemRandomAccessor.h.
Referenced by modelType().
|
protected |
Definition at line 44 of file FWItemRandomAccessor.h.
Referenced by type().