#ifndef __JROOTLABEL__ #define __JROOTLABEL__ /** * \author mdejong */ namespace JROOT {} namespace JPP { using namespace JROOT; } namespace JROOT { /** * Replica of structure JLANG::JLabel for data types with ROOT I/O. * The methods JRootLabel::getName and JRootLabel::getVersion defer * the return value to the Class[NV]Def implementations. */ template struct JRootLabel { /** * Type identifier. */ static const int ID = __ID; /** * Get name of type. */ static inline const char* getName() { return T::Class_Name(); } /** * Version. */ static inline int getVersion() { return T::Class_Version(); } }; } #endif