Adding stuff needed for io (friend declarations, etc.) More...
#include <IOIMPL/LCCollectionIOVec.h>
Public Member Functions | |
LCCollectionIOVec (const std::string &type) | |
![]() | |
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::LCObject * | getElementAt (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::LCParameters & | getParameters () const |
Parameters defined for this run. | |
virtual EVENT::LCParameters & | parameters () |
Parameters defined for this run. | |
![]() | |
virtual | ~LCCollection () |
Destructor. | |
![]() | |
virtual int | simpleUID () const |
Friends | |
class | SIO::SIOCollectionHandler |
Additional Inherited Members | |
![]() | |
static const int | BITTransient = 16 |
Transient bit in flag word. | |
static const int | BITDefault = 17 |
static const int | BITSubset = 18 |
![]() | |
void | setReadOnly (bool readOnly) |
![]() | |
void | checkAccess () throw ( EVENT::ReadOnlyException ) |
void | checkAccess (const char *what) throw ( EVENT::ReadOnlyException ) |
![]() | |
std::string | _typeName |
int | _flag |
LCParametersImpl | _params |
![]() | |
bool | _readOnly |
int | _id |
Adding stuff needed for io (friend declarations, etc.)