/// Source to build the Header: I@PROJECT_NAME@_version.hxx /// or auto-generated output of the ICEDUST_REGISTER_PACKAGE macro /// template file: ICEDUST_packages/cmake/Ipackage_version.hxx.in #ifndef I@PROJECT_NAME@_version_hxx_seen #define I@PROJECT_NAME@_version_hxx_seen #include namespace COMET { class I@PROJECT_NAME@_version; }; /// This has fields for the library version and can add stuff to the TROOT /// environment. class COMET::I@PROJECT_NAME@_version: public COMET::IPackageVersion { private: static I@PROJECT_NAME@_version* fThis; public: I@PROJECT_NAME@_version(); ~I@PROJECT_NAME@_version(); /// Return a reference to the singleton. static I@PROJECT_NAME@_version* Get(void); /// Return the version of this library. const char* GetName(void) const; /// Return the version of this library. const char* GetVersion(void) const; /// Return the date that this library was compiled. const char* GetCompilationDate(void) const; /// Return the host that this library was compiled on. const char* GetCompilationHost(void) const; /// Return the directory from which this library was compiled. const char* GetCompilationDirectory(void) const; /// Return the machine information for the machine that compiled this /// library. On most machines this is generated from "uname -a". const char* GetCompilationMachineInfo(void) const; /// Do any initialization needed for the oaUtility library. This is /// called by the I@PROJECT_NAME@_version constructor. void Initialize(void); ClassDef(I@PROJECT_NAME@_version,0); }; #endif