LCIO  "2.7.4"
 All Classes Namespaces Functions Variables Typedefs Friends Pages
Public Member Functions | Friends | List of all members
IOIMPL::LCCollectionIOVec Class Reference

Adding stuff needed for io (friend declarations, etc.) More...

#include <IOIMPL/LCCollectionIOVec.h>

Inheritance diagram for IOIMPL::LCCollectionIOVec:
IMPL::LCCollectionVec EVENT::LCCollection IMPL::AccessChecked

Public Member Functions

 LCCollectionIOVec (const std::string &type)
 
- Public Member Functions inherited from IMPL::LCCollectionVec
 LCCollectionVec ()
 Default Constructor should be protected - every LCCollection needs to know the type of its elements.
 
 LCCollectionVec (const std::string &type)
 The public default constructur that takes the name of the type of the elements. More...
 
virtual ~LCCollectionVec ()
 Destructor.
 
virtual int getNumberOfElements () const
 Returns the number of entries in the collection.
 
virtual const std::string & getTypeName () const
 Returns the type name of the collection - valid names are defined in LCIO.
 
virtual EVENT::LCObjectgetElementAt (int index) const
 Returns pointer to element at index - no range check !.
 
virtual int getFlag () const
 Returns flag word for collection. More...
 
virtual bool isTransient () const
 True if collection is transient, i.e. More...
 
void setTransient (bool val=true)
 Sets the transient flag for this collection. More...
 
virtual bool isDefault () const
 True if collection is the default collection for the given type. More...
 
void setDefault (bool val=true)
 Sets the default flag for this collection. More...
 
virtual bool isSubset () const
 True if the collection holds a subset of objects from other collections. More...
 
void setSubset (bool val=true)
 Sets the subset flag for this collection. More...
 
void setFlag (int flag)
 Sets the flag word for this collection.
 
virtual void addElement (EVENT::LCObject *obj) throw (EVENT::ReadOnlyException)
 Adds the given element to (end of) the collection. More...
 
virtual void removeElementAt (int i) throw (EVENT::ReadOnlyException)
 Removes the i-th element from the collection. More...
 
virtual const EVENT::LCParametersgetParameters () const
 Parameters defined for this run.
 
virtual EVENT::LCParametersparameters ()
 Parameters defined for this run.
 
- Public Member Functions inherited from EVENT::LCCollection
virtual ~LCCollection ()
 Destructor.
 
- Public Member Functions inherited from IMPL::AccessChecked
virtual int simpleUID () const
 

Friends

class SIO::SIOCollectionHandler
 

Additional Inherited Members

- Static Public Attributes inherited from EVENT::LCCollection
static const int BITTransient = 16
 Transient bit in flag word.
 
static const int BITDefault = 17
 
static const int BITSubset = 18
 
- Protected Member Functions inherited from IMPL::LCCollectionVec
void setReadOnly (bool readOnly)
 
- Protected Member Functions inherited from IMPL::AccessChecked
void checkAccess () throw ( EVENT::ReadOnlyException )
 
void checkAccess (const char *what) throw ( EVENT::ReadOnlyException )
 
- Protected Attributes inherited from IMPL::LCCollectionVec
std::string _typeName
 
int _flag
 
LCParametersImpl _params
 
- Protected Attributes inherited from IMPL::AccessChecked
bool _readOnly
 
int _id
 

Detailed Description

Adding stuff needed for io (friend declarations, etc.)

Author
gaede
Version
Mar 6, 2003

The documentation for this class was generated from the following file: