#ifndef __JDB__JDBDICTIONARY__ #define __JDB__JDBDICTIONARY__ #include "JROOT/JRootDictionary.hh" #include "JDB/JPBS_t.hh" #include "JDB/JUPI_t.hh" #include "JDB/JDate_t.hh" #include "JDB/JTime_t.hh" #include "JDB/JDatim_t.hh" #include "JDB/JDBString.hh" #include "JDB/JMACAddress.hh" /** * \author mdejong */ namespace JDATABASE {} namespace JPP { using namespace JDATABASE; } namespace JDATABASE { using JROOT::JRootDictionary; /** * Simple wrapper class around JROOT::JRootDictionary so that other classes * could be included in this dictionary if necessary. */ class JDBDictionary : public JRootDictionary { private: /** * Default constructor. */ JDBDictionary() : JRootDictionary(JRootDictionary::getInstance()) { add(); add(); add(); add(); add(); add(); add(); } public: /** * Get reference to unique instance of this class object. * This JROOT::JRootDictionary object includes the various database data types. * * \return reference to this class object */ static JRootDictionary& getInstance() { static JDBDictionary dictionary; return dictionary; } }; } #endif