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 IO_ILCFACTORY_H 00008 #define IO_ILCFACTORY_H 1 00009 00010 namespace IO { 00011 00012 class LCReader; 00013 class LCWriter; 00014 00022 class ILCFactory { 00023 00024 public: 00026 virtual ~ILCFactory() { /* nop */; } 00027 00028 // /** Returns the instance of the factory. 00029 // * In the future we need to specify the data format here... 00030 // * This doesn't work for java as an interface can't have static members ... 00031 // */ 00032 // this needs more thought .... 00033 // 00034 // @cpp{ static LCFactory* getInstance() ; 00035 // } 00036 // 00039 virtual LCWriter * createLCWriter() = 0; 00040 00043 virtual LCReader * createLCReader(int readerFlag = 0) = 0; 00044 }; // class 00045 } // namespace IO 00046 #endif /* ifndef IO_ILCFACTORY_H */