4 using namespace EVENT ;
9 const std::string LCGenericObjectImpl::_typeName =
"LCGenericObject" ;
10 const std::string LCGenericObjectImpl::_dataDescription =
"" ;
14 LCGenericObjectImpl::LCGenericObjectImpl():
15 _isFixedSize( false ) {
21 _isFixedSize( true ) {
virtual void setFloatVal(unsigned index, float value)
Sets the float value at the given index.
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.
std::vector< int > _intVec
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.
static const std::string _dataDescription
virtual bool isFixedSize() const
True if objects of the implementation class have a fixed size, i.e getNInt, getNFloat and getNDouble ...
virtual const std::string getTypeName() const
The type name of the user class (typically the class name)
LCGenericObjectImpl()
Variable size c'tor.
virtual int getNInt() const
Number of integer values stored in this object.
virtual const std::string getDataDescription() const
The description string.
std::vector< double > _doubleVec
std::vector< float > _floatVec
static const std::string _typeName
virtual void setDoubleVal(unsigned index, double value)
Sets the double value at the given index.