7 #ifndef EVENT_LCCOLLECTION_H 
    8 #define EVENT_LCCOLLECTION_H 1 
   62     virtual int getFlag() 
const = 0;
 
  105     virtual void setFlag(
int flag) = 0;
 
The generic object that is held in an LCCollection. 
 
virtual bool isTransient() const =0
True if collection is transient, i.e. 
 
virtual void setFlag(int flag)=0
Set the flag word. 
 
virtual void removeElementAt(int i)=0
Removes the i-th element from the collection. 
 
virtual LCObject * getElementAt(int index) const =0
Returns pointer to element at index - no range check, use getNumberOfEntries(). 
 
virtual int getFlag() const =0
Returns flag word for collection. 
 
static const int BITTransient
Transient bit in flag word. 
 
virtual LCParameters & parameters()=0
Parameters defined for this collection. 
 
virtual void addElement(LCObject *obj)=0
Adds the given element to (end of) the collection. 
 
Simple interface to store generic named parameters of type int, float and string. ...
 
virtual bool isSubset() const =0
True if the collection holds a subset of objects from other collections. 
 
virtual const std::string & getTypeName() const =0
Returns the type name of the collection - valid names are defined in LCIO. 
 
virtual int getNumberOfElements() const =0
Returns the number of elements in the collection. 
 
The generic collection used in LCIO. 
 
virtual ~LCCollection()
Destructor. 
 
virtual bool isDefault() const =0
True if collection is the default collection for the given type. 
 
virtual const LCParameters & getParameters() const =0
Parameters defined for this collection. 
 
static const int BITDefault
 
static const int BITSubset