Jpp test-rotations-new
the software that should make you happy
|
Auxiliary class for handling ROOT types. More...
#include <JRootTypesHandler.hh>
Public Types | |
typedef std::map< std::string, std::shared_ptr< JAbstractType< JType_t > > > | map_type |
Public Member Functions | |
JRootTypesHandler () | |
Default constructor. | |
template<class T > | |
void | operator() (const JType< T > &type) |
Addition of data type. | |
template<class T > | |
void | operator() (const char *const name, const JType< T > &type) |
Addition of data type. | |
void | apply (JType_t &object) const |
Apply this handler to given object. | |
Auxiliary class for handling ROOT types.
Included types:
JPrimitiveTypes_t
Removed types:
long double
(not supported by ROOT TDictionary
)Added STL types:
std::string
std::size_t
Added ROOT types:
[U]Char_t
[U]Short_t
[U]Int_t
[U]Long_t
[U]Long64_t
Float_t
Double_t
LongDouble_t
TString
Definition at line 114 of file JRootTypesHandler.hh.
std::map<std::string, std::shared_ptr< JAbstractType<JType_t> > > JROOT::JRootTypesHandler< JType_t >::map_type |
Definition at line 119 of file JRootTypesHandler.hh.
|
inline |
Default constructor.
Definition at line 124 of file JRootTypesHandler.hh.
|
inline |
Addition of data type.
This method uses TDictionary>
to determine name of given data type.
type | data type |
Definition at line 162 of file JRootTypesHandler.hh.
|
inline |
Addition of data type.
name | data name |
type | data type |
Definition at line 180 of file JRootTypesHandler.hh.
|
inline |
Apply this handler to given object.
object | object |
Definition at line 191 of file JRootTypesHandler.hh.