#include <LCGenericObjectImpl.h>
Inheritance diagram for IMPL::LCGenericObjectImpl:

Public Types | |
| typedef LCGenericObject | lcobject_type |
Public Member Functions | |
| LCGenericObjectImpl () | |
| LCGenericObjectImpl (int nInt, int nFloat, int nDouble) | |
| virtual | ~LCGenericObjectImpl () |
| Destructor. | |
| virtual int | id () const |
| virtual int | getNInt () const |
| virtual int | getNFloat () const |
| virtual int | getNDouble () const |
| virtual int | getIntVal (int index) const |
| virtual float | getFloatVal (int index) const |
| virtual double | getDoubleVal (int index) const |
| virtual void | setIntVal (unsigned index, int value) |
| virtual void | setFloatVal (unsigned index, float value) |
| virtual void | setDoubleVal (unsigned index, double value) |
| virtual bool | isFixedSize () const |
| virtual const std::string | getTypeName () const |
| virtual const std::string | getDataDescription () const |
| virtual LCObject * | clone () const |
| template<class V> | |
| V::ext_type | ext () |
| template<class V> | |
| V::rel_type | rel () |
| virtual int | simpleUID () const |
Protected Member Functions | |
| template<class V> | |
| V::ptr & | ptr () |
| virtual void | setReadOnly (bool readOnly) |
| void | checkAccess () throw ( EVENT::ReadOnlyException ) |
| void | checkAccess (const char *what) throw ( EVENT::ReadOnlyException ) |
Protected Attributes | |
| std::vector< int > | _intVec |
| std::vector< float > | _floatVec |
| std::vector< double > | _doubleVec |
| bool | _isFixedSize |
| bool | _readOnly |
| int | _id |
Static Protected Attributes | |
| std::string | _typeName = "LCGenericObject" |
| std::string | _dataDescription = "" |
Definition at line 18 of file LCGenericObjectImpl.h.
|
|
Useful typedef for template programming with LCIO Definition at line 35 of file LCGenericObject.h. |
|
|
Variable size c'tor. Definition at line 14 of file LCGenericObjectImpl.cc. |
|
||||||||||||||||
|
Fixed size c'tor. Definition at line 20 of file LCGenericObjectImpl.cc. References _doubleVec, _floatVec, and _intVec. |
|
|
Destructor.
Definition at line 31 of file LCGenericObjectImpl.h. |
|
|
Definition at line 20 of file AccessChecked.cc. |
|
|
|
Deep copy of the object. C++ implementations should return the concrete type (virtual constructor). No reasonable implementation yet. Do not use this method. Reimplemented in IMPL::SimCalorimeterHitImpl. Definition at line 52 of file LCObject.h. |
|
|||||||||
|
Provides access to an extension object - the type and ownership is defined by the class V which should be a subtype of LCExtension, LCOwnedExtension, LCExtensionVector, LCExtensionList,... Definition at line 430 of file LCRTRelations.h. |
|
|
The description string. A comma separated list of pairs of type identifier, one of 'i','f','d' followed by ':' and an attribute name, e.g. "i:cellId,f:offset,f:gain". Implements EVENT::LCGenericObject. Definition at line 76 of file LCGenericObjectImpl.cc. |
|
|
Returns the double value for the given index. Implements EVENT::LCGenericObject. Definition at line 46 of file LCGenericObjectImpl.cc. References _doubleVec. |
|
|
Returns the float value for the given index. Implements EVENT::LCGenericObject. Definition at line 42 of file LCGenericObjectImpl.cc. References _floatVec. |
|
|
Returns the integer value for the given index. Implements EVENT::LCGenericObject. Definition at line 38 of file LCGenericObjectImpl.cc. References _intVec. |
|
|
Number of double values stored in this object. Implements EVENT::LCGenericObject. Definition at line 34 of file LCGenericObjectImpl.cc. References _doubleVec. |
|
|
Number of float values stored in this object. Implements EVENT::LCGenericObject. Definition at line 30 of file LCGenericObjectImpl.cc. References _floatVec. |
|
|
Number of integer values stored in this object. Implements EVENT::LCGenericObject. Definition at line 27 of file LCGenericObjectImpl.cc. References _intVec. |
|
|
The type name of the user class (typically the class name) Implements EVENT::LCGenericObject. Definition at line 72 of file LCGenericObjectImpl.cc. |
|
|
Provide default implementation for id Reimplemented from EVENT::LCGenericObject. Definition at line 33 of file LCGenericObjectImpl.h. |
|
|
True if objects of the implementation class have a fixed size, i.e getNInt, getNFloat and getNDouble will return values that are constant during the lifetime of the object. Implements EVENT::LCGenericObject. Definition at line 50 of file LCGenericObjectImpl.cc. |
|
|||||||||
|
Returns the reference to the pointer to the extension/relation object Definition at line 508 of file LCRTRelations.h. |
|
|||||||||
|
Provides read access to relations - the object types and their connectivity are defined by the class V which has to be a subtype of either LC1To1Relation, LC1ToNRelation or LCNToNRelation. Definition at line 444 of file LCRTRelations.h. |
|
||||||||||||
|
Sets the double value at the given index. Definition at line 66 of file LCGenericObjectImpl.cc. References _doubleVec. |
|
||||||||||||
|
Sets the float value at the given index. Definition at line 60 of file LCGenericObjectImpl.cc. References _floatVec. |
|
||||||||||||
|
Sets the integer value at the given index. Definition at line 54 of file LCGenericObjectImpl.cc. References _intVec. |
|
|
Reimplemented in IMPL::LCCollectionVec, and IMPL::LCRunHeaderImpl. Definition at line 14 of file AccessChecked.cc. References IMPL::AccessChecked::_readOnly. Referenced by IMPL::LCEventImpl::setAccessMode(), and IMPL::LCCollectionVec::setReadOnly(). |
|
|
Definition at line 24 of file AccessChecked.h. |
|
|
Definition at line 10 of file LCGenericObjectImpl.cc. |
|
|
Definition at line 94 of file LCGenericObjectImpl.h. Referenced by getDoubleVal(), getNDouble(), LCGenericObjectImpl(), SIO::SIOLCGenericObjectHandler::read(), and setDoubleVal(). |
|
|
Definition at line 93 of file LCGenericObjectImpl.h. Referenced by getFloatVal(), getNFloat(), LCGenericObjectImpl(), SIO::SIOLCGenericObjectHandler::read(), and setFloatVal(). |
|
|
Definition at line 34 of file AccessChecked.h. Referenced by IMPL::AccessChecked::AccessChecked(). |
|
|
Definition at line 92 of file LCGenericObjectImpl.h. Referenced by getIntVal(), getNInt(), LCGenericObjectImpl(), SIO::SIOLCGenericObjectHandler::read(), and setIntVal(). |
|
|
Definition at line 95 of file LCGenericObjectImpl.h. Referenced by SIO::SIOLCGenericObjectHandler::read(). |
|
|
Definition at line 33 of file AccessChecked.h. Referenced by IMPL::AccessChecked::setReadOnly(). |
|
|
Definition at line 9 of file LCGenericObjectImpl.cc. |
1.3.9.1