#include "IOADatabase.hxx" // Source for IoaUtility_version.cxx auto-generated using the // Ipackage_version.cxx.in template file. #include "IoaUtility_version.hxx" #include "oaUtility_version.h" ClassImp(COMET::IoaUtility_version); // Trickiness so that the package version is automatically added to the // list of used packages. static COMET::IoaUtility_version oaUtility_version; COMET::IoaUtility_version* COMET::IoaUtility_version::fThis = NULL; COMET::IoaUtility_version::IoaUtility_version() { fThis = COMET::IoaUtility_version::Get(); } COMET::IoaUtility_version::~IoaUtility_version() {} void COMET::IoaUtility_version::Initialize(void) { // register this package. COMET::IOADatabase::Get().PackageSet().insert(fThis); } COMET::IoaUtility_version* COMET::IoaUtility_version::Get(void) { // Make sure that fThis is initialized; if (!fThis) { // Make sure that fThis is not null before allocating a real pointer. // This cruft is required so that there isn't an infinite recursion // while fThis is initialized. fThis = (COMET::IoaUtility_version*) 1; // Allocate real space for the fThis pointer. fThis = new COMET::IoaUtility_version; // Now initialize fThis->Initialize(); } // Return the pointer. return fThis; } const char* COMET::IoaUtility_version::GetName(void) const { return oaUtility_NAME; } const char* COMET::IoaUtility_version::GetVersion(void) const { return oaUtility_VERSION; } const char* COMET::IoaUtility_version::GetCompilationDate(void) const { return oaUtility_COMPILE_DATE; } const char* COMET::IoaUtility_version::GetCompilationHost(void) const { return oaUtility_COMPILE_HOST; } const char* COMET::IoaUtility_version::GetCompilationDirectory(void) const { return oaUtility_COMPILE_DIR; } const char* COMET::IoaUtility_version::GetCompilationMachineInfo(void) const { return oaUtility_COMPILE_UNAME; }