00001 // -*- C++ -*- 00002 // AID-GENERATED 00003 // ========================================================================= 00004 // This class was generated by AID - Abstract Interface Definition 00005 // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it. 00006 // ========================================================================= 00007 #ifndef EVENT_LCOBJECT_H 00008 #define EVENT_LCOBJECT_H 1 00009 00010 #include "LCRTRelations.h" 00011 00012 #include <vector> 00013 00014 namespace EVENT { 00015 00016 00017 class LCObject ; 00018 /**Vector of (pointers to) LCObjects.*/ 00019 typedef std::vector<LCObject*> LCObjectVec ; 00020 using namespace lcrtrel ; 00021 /** The generic object that is held in an LCCollection. 00022 * Every object stored in an LCCollection, i.e. in an LCEvent has to 00023 * implement this interface. 00024 * 00025 * @author gaede 00026 * @version Jun 7, 2003 00027 * fg 20040405 moved here from hep.lcio.data 00028 */ 00029 00030 class LCObject : public LCRTRelations { 00031 00032 public: 00033 /// Destructor. 00034 virtual ~LCObject() { /* nop */; } 00035 00036 /** Returns an object id for internal (debugging) use in LCIO. 00037 */ 00038 virtual int id() const = 0; 00039 00040 // 00041 // public interface LCObject extends Cloneable, LCRTRelations{ 00042 // /** Returns an object id for internal (debugging) use in LCIO. 00043 // */ 00044 // public int id() const ; 00045 // 00046 00047 /** Deep copy of the object. C++ implementations should return the 00048 * concrete type (virtual constructor). No reasonable implementation yet. 00049 * Do not use this method. 00050 */ 00051 public: 00052 virtual LCObject* clone() const { return 0 ; } 00053 }; // class 00054 } // namespace EVENT 00055 #endif /* ifndef EVENT_LCOBJECT_H */
1.3.9.1