The generic object that is held in an LCCollection. More...
#include <pre-generated/EVENT/LCObject.h>
Public Member Functions | |
virtual | ~LCObject () |
Destructor. | |
virtual int | id () const =0 |
Returns an object id for internal (debugging) use in LCIO. | |
virtual LCObject * | clone () const |
Returns an object id for internal (debugging) use in LCIO. |
The generic object that is held in an LCCollection.
Every object stored in an LCCollection, i.e. in an LCEvent has to implement this interface.
virtual LCObject* EVENT::LCObject::clone | ( | ) | const [inline, virtual] |
Returns an object id for internal (debugging) use in LCIO.
Deep copy of the object. C++ implementations should return the concrete type (virtual constructor). No reasonable implementation yet. Do not use this method.