Default LCIO implementation of the interface to store generic user data. More...
#include <IMPL/LCGenericObjectImpl.h>
Public Member Functions | |
| LCGenericObjectImpl () | |
| Variable size c'tor. | |
| LCGenericObjectImpl (int nInt, int nFloat, int nDouble) | |
| Fixed size c'tor. | |
| virtual | ~LCGenericObjectImpl () |
| Destructor. | |
| virtual int | id () const |
| Provide default implementation for id. | |
| virtual int | getNInt () const |
| Number of integer values stored in this object. | |
| virtual int | getNFloat () const |
| Number of float values stored in this object. | |
| virtual int | getNDouble () const |
| Number of double values stored in this object. | |
| virtual int | getIntVal (int index) const |
| Returns the integer value for the given index. | |
| virtual float | getFloatVal (int index) const |
| Returns the float value for the given index. | |
| virtual double | getDoubleVal (int index) const |
| Returns the double value for the given index. | |
| virtual void | setIntVal (unsigned index, int value) |
| Sets the integer value at the given index. | |
| virtual void | setFloatVal (unsigned index, float value) |
| Sets the float value at the given index. | |
| virtual void | setDoubleVal (unsigned index, double value) |
| Sets the double value at the given index. | |
| virtual bool | isFixedSize () const |
| 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. | |
| virtual const std::string | getTypeName () const |
| The type name of the user class (typically the class name) | |
| virtual const std::string | getDataDescription () const |
| The description string. More... | |
Public Member Functions inherited from EVENT::LCGenericObject | |
| virtual | ~LCGenericObject () |
| Destructor. | |
Public Member Functions inherited from EVENT::LCObject | |
| virtual | ~LCObject () |
| Destructor. | |
| virtual LCObject * | clone () const |
| Returns an object id for internal (debugging) use in LCIO. More... | |
Public Member Functions inherited from lcrtrel::LCRTRelations | |
| template<class V > | |
| V::ext_type | ext () |
| 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,... | |
| template<class V > | |
| const V::ext_type | ext () const |
| template<class V > | |
| V::rel_type | rel () |
| 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. | |
Public Member Functions inherited from IMPL::AccessChecked | |
| virtual int | simpleUID () const |
Protected Attributes | |
| std::vector< int > | _intVec |
| std::vector< float > | _floatVec |
| std::vector< double > | _doubleVec |
| bool | _isFixedSize |
Protected Attributes inherited from IMPL::AccessChecked | |
| bool | _readOnly |
| int | _id |
Static Protected Attributes | |
| static std::string | _typeName = "LCGenericObject" |
| static std::string | _dataDescription = "" |
Additional Inherited Members | |
Public Types inherited from EVENT::LCGenericObject | |
| typedef LCGenericObject | lcobject_type |
| Useful typedef for template programming with LCIO. | |
Protected Member Functions inherited from lcrtrel::LCRTRelations | |
| template<class V > | |
| V::ptr & | ptr () const |
| Returns the reference to the pointer to the extension/relation object. | |
Protected Member Functions inherited from IMPL::AccessChecked | |
| virtual void | setReadOnly (bool readOnly) |
| void | checkAccess () throw ( EVENT::ReadOnlyException ) |
| void | checkAccess (const char *what) throw ( EVENT::ReadOnlyException ) |
Default LCIO implementation of the interface to store generic user data.
|
virtual |
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.
1.8.6