Jpp test-rotations-old
the software that should make you happy
|
Auxiliary class to select JTreeScanner based on ROOT class name. More...
#include <JAutoTreeScanner.hh>
Classes | |
struct | JElement_t |
Auxiliary class for element insertion. More... | |
Public Types | |
typedef JAutoMap< std::string, JSinglePointer< JTreeScannerInterface< JBase_t, JEvaluator_t > > >::map_type | map_type |
typedef JAutoMap< std::string, JSinglePointer< JTreeScannerInterface< JBase_t, JEvaluator_t > > >::value_type | value_type |
typedef map_type::const_iterator | const_iterator |
typedef map_type::iterator | iterator |
typedef map_type::const_reverse_iterator | const_reverse_iterator |
typedef map_type::reverse_iterator | reverse_iterator |
Public Member Functions | |
JAutoTreeScanner () | |
Default constructor. | |
template<class T > | |
JAutoTreeScanner (JType< T > type, const bool option=false) | |
Constructor. | |
bool | getOption () const |
Get option to include name space. | |
template<class T > | |
void | insert () |
Insert list of data types. | |
template<class T , class JElement_t > | |
void | insert (const JAutomate< JElement_t > &automate) |
Insert list of data types. | |
Static Public Member Functions | |
template<class T > | |
static value_type | getAutoElement (JType< T > type) |
Creation of a map element for given data type. | |
Protected Member Functions | |
template<class T , class JElement_t > | |
void | insert (JType< T > type, const JAutomate< JElement_t > &automate) |
Insertion of single data type. | |
template<class JHead_t , class JTail_t , class JElement_t > | |
void | insert (JType< JTypeList< JHead_t, JTail_t > > typelist, const JAutomate< JElement_t > &automate) |
Recursive insertion of data types. | |
template<class JElement_t > | |
void | insert (JType< JNullType > type, const JAutomate< JElement_t > &automate) |
Template specialisation to terminate insertion of data types. | |
Private Attributes | |
bool | option |
include namespace | |
Auxiliary class to select JTreeScanner based on ROOT class name.
Definition at line 34 of file JAutoTreeScanner.hh.
JAutoMap<std::string,JSinglePointer<JTreeScannerInterface<JBase_t,JEvaluator_t>>>::map_type JSUPPORT::JAutoTreeScanner< JBase_t, JEvaluator_t >::map_type |
Definition at line 37 of file JAutoTreeScanner.hh.
JAutoMap<std::string,JSinglePointer<JTreeScannerInterface<JBase_t,JEvaluator_t>>>::value_type JSUPPORT::JAutoTreeScanner< JBase_t, JEvaluator_t >::value_type |
Definition at line 38 of file JAutoTreeScanner.hh.
map_type::const_iterator JSUPPORT::JAutoTreeScanner< JBase_t, JEvaluator_t >::const_iterator |
Definition at line 40 of file JAutoTreeScanner.hh.
map_type::iterator JSUPPORT::JAutoTreeScanner< JBase_t, JEvaluator_t >::iterator |
Definition at line 41 of file JAutoTreeScanner.hh.
map_type::const_reverse_iterator JSUPPORT::JAutoTreeScanner< JBase_t, JEvaluator_t >::const_reverse_iterator |
Definition at line 42 of file JAutoTreeScanner.hh.
map_type::reverse_iterator JSUPPORT::JAutoTreeScanner< JBase_t, JEvaluator_t >::reverse_iterator |
Definition at line 43 of file JAutoTreeScanner.hh.
|
inline |
|
inline |
Constructor.
type | data type |
option | include namespace |
Definition at line 62 of file JAutoTreeScanner.hh.
|
inline |
|
inline |
Insert list of data types.
Definition at line 84 of file JAutoTreeScanner.hh.
|
staticinherited |
Creation of a map element for given data type.
This method should be overloaded for the requested data types if the method insert() is used without argument.
type | data type |
|
inlineinherited |
Insert list of data types.
automate | type defined element |
Definition at line 137 of file JAutoMap.hh.
|
inlineprotectedinherited |
Insertion of single data type.
type | data type |
automate | element automate by data type |
Definition at line 150 of file JAutoMap.hh.
|
inlineprotectedinherited |
Recursive insertion of data types.
typelist | type list |
automate | element automate by data type |
Definition at line 164 of file JAutoMap.hh.
|
inlineprotectedinherited |
Template specialisation to terminate insertion of data types.
type | null type |
automate | element automate by data type |
Definition at line 179 of file JAutoMap.hh.
|
private |
include namespace
Definition at line 114 of file JAutoTreeScanner.hh.