Simple wrapper class around JROOT::JRootDictionary so that other classes could be included in this dictionary if necessary.
More...
#include <JHeadToolkit.hh>
|
template<class T > |
void | add () |
| Add ASCII I/O for given (list of) class(es) to dictionary. More...
|
|
|
template<class T > |
void | add (const JType< T > &type) |
| Addition of class. More...
|
|
template<class JElement_t , class JAllocator_t > |
void | add (const JType< std::vector< JElement_t, JAllocator_t > > &type) |
| Addition of std::vector . More...
|
|
template<class JHead_t , class JTail_t > |
void | add (const JType< JTypeList< JHead_t, JTail_t > > &typelist) |
| Recursive addition of classes. More...
|
|
void | add (const JType< JNullType > &type) |
| Template specialisation to terminate addition of classes. More...
|
|
Simple wrapper class around JROOT::JRootDictionary so that other classes could be included in this dictionary if necessary.
Definition at line 285 of file JHeadToolkit.hh.
JAANET::JAAnetDictionary::JAAnetDictionary |
( |
| ) |
|
|
inlineprivate |
Default constructor.
Definition at line 292 of file JHeadToolkit.hh.
296 add< std::vector<JAANET::physics> >();
JRootDictionary()
Default constructor.
static data_type & getInstance()
Get unique instance of template class.
Get reference to unique instance of this class object.
This JROOT::JRootDictionary object includes the various Monte Carlo data types.
- Returns
- reference to this class object
Definition at line 307 of file JHeadToolkit.hh.
JAAnetDictionary()
Default constructor.
template<class T >
static const char* JROOT::JRootDictionary::getTypename |
( |
| ) |
|
|
inlinestaticinherited |
Get typename for given template class.
This method uses the TDictionary class to get the name of the given class.
- Returns
- type name
Definition at line 99 of file JRootDictionary.hh.
101 const TDictionary* pDictionary = TDictionary::GetDictionary(
typeid(T));
103 if (pDictionary != NULL)
104 return pDictionary->GetName();
106 throw JException(
"Error at getTypename(): data type not implemented.");
template<class T >
void JROOT::JRootDictionary::add |
( |
| ) |
|
|
inlineinherited |
Add ASCII I/O for given (list of) class(es) to dictionary.
Definition at line 114 of file JRootDictionary.hh.
void add()
Add ASCII I/O for given (list of) class(es) to dictionary.
template<class T >
void JROOT::JRootDictionary::add |
( |
const JType< T > & |
type | ) |
|
|
inlineprotectedinherited |
Addition of class.
- Parameters
-
Definition at line 127 of file JRootDictionary.hh.
134 catch(
const JException& error) {};
static const char * getTypename()
Get typename for given template class.
template<class JElement_t , class JAllocator_t >
void JROOT::JRootDictionary::add |
( |
const JType< std::vector< JElement_t, JAllocator_t > > & |
type | ) |
|
|
inlineprotectedinherited |
template<class JHead_t , class JTail_t >
void JROOT::JRootDictionary::add |
( |
const JType< JTypeList< JHead_t, JTail_t > > & |
typelist | ) |
|
|
inlineprotectedinherited |
Recursive addition of classes.
- Parameters
-
Definition at line 158 of file JRootDictionary.hh.
160 add(JType<JHead_t>());
161 add(JType<JTail_t>());
void add()
Add ASCII I/O for given (list of) class(es) to dictionary.
Template specialisation to terminate addition of classes.
- Parameters
-
Definition at line 170 of file JRootDictionary.hh.
The documentation for this class was generated from the following file: