Jpp
18.2.0
the software that should make you happy
|
Auxiliary class to manage access to base classes and data members of ROOT class. More...
#include <JRootClass.hh>
Public Member Functions | |
template<class JType_t > | |
JRootClass (const JType< JType_t > &type) | |
Constructor. More... | |
template<class JType_t , class JClass_t > | |
JRootClass (JType_t JClass_t::*pd) | |
Constructor. More... | |
TDictionary * | getDictionary () const |
Get dictionary. More... | |
int | getOffset () const |
Get offset of this class with respect to parent class. More... | |
TClass * | getClass () const |
Get class. More... | |
const char * | getTypename () const |
Get type name. More... | |
bool | is_valid () const |
Check validity of this class. More... | |
bool | equals (const JRootClass &object) const |
Test equality of ROOT classes. More... | |
JRootClass | find (const char *const name, const bool option=true) const |
Find base class or data member with given name within current class. More... | |
JRootClass | get (const TDataMember &data_member) const |
Get ROOT class of given data member. More... | |
JRootClass | get (const TBaseClass &base_class) const |
Get ROOT class of given base class. More... | |
void | print (std::ostream &out) const |
Print ROOT class information. More... | |
Static Public Member Functions | |
static bool | is_class (const char *const name) |
Check name of class against ROOT classes. More... | |
static bool | is_class (const TBaseClass &base_class) |
Check base class against ROOT class names. More... | |
static bool | is_class (const TDataMember &data_member) |
Check data member against ROOT class names. More... | |
static bool | is_STLcontainer (const TBaseClass &base_class) |
Check if base class is STL container. More... | |
static bool | is_STLcontainer (const TDataMember &data_member) |
Check if data member is STL container. More... | |
static bool | is_STLstring (const TDataMember &data_member) |
Check if data member is STL string. More... | |
static bool | is_static (const TDataMember &data_member) |
Check if data member is static. More... | |
Protected Member Functions | |
JRootClass () | |
Default constructor. More... | |
JRootClass (TDictionary *dictionary, int offset) | |
Constructor. More... | |
void | print (std::ostream &out, const std::string &prefix) const |
Print ROOT class information. More... | |
Static Protected Member Functions | |
static void | print (std::ostream &out, const std::string &name, const std::string &type) |
Print ROOT class information. More... | |
Protected Attributes | |
TDictionary * | dictionary |
pointer to ROOT dictionary More... | |
int | offset |
offset with respect to data structure [B] More... | |
Auxiliary class to manage access to base classes and data members of ROOT class.
Definition at line 41 of file JRootClass.hh.
|
inline |
Constructor.
type | data type |
Definition at line 140 of file JRootClass.hh.
|
inline |
Constructor.
pd | pointer to C++ data member |
Definition at line 152 of file JRootClass.hh.
|
inlineprotected |
Default constructor.
Definition at line 324 of file JRootClass.hh.
|
inlineprotected |
Constructor.
dictionary | pointer to dictionary |
offset | offset |
Definition at line 336 of file JRootClass.hh.
|
inlinestatic |
Check name of class against ROOT classes.
name | name of class |
Definition at line 50 of file JRootClass.hh.
|
inlinestatic |
Check base class against ROOT class names.
base_class | base class |
Definition at line 67 of file JRootClass.hh.
|
inlinestatic |
Check data member against ROOT class names.
data_member | data member |
Definition at line 79 of file JRootClass.hh.
|
inlinestatic |
Check if base class is STL container.
base_class | base class |
Definition at line 91 of file JRootClass.hh.
|
inlinestatic |
Check if data member is STL container.
data_member | data member |
Definition at line 103 of file JRootClass.hh.
|
inlinestatic |
Check if data member is STL string.
data_member | data member |
Definition at line 115 of file JRootClass.hh.
|
inlinestatic |
Check if data member is static.
data_member | data member |
Definition at line 128 of file JRootClass.hh.
|
inline |
Get dictionary.
Definition at line 163 of file JRootClass.hh.
|
inline |
Get offset of this class with respect to parent class.
Definition at line 174 of file JRootClass.hh.
|
inline |
Get class.
Definition at line 185 of file JRootClass.hh.
|
inline |
Get type name.
Definition at line 196 of file JRootClass.hh.
|
inline |
Check validity of this class.
Definition at line 210 of file JRootClass.hh.
|
inline |
Test equality of ROOT classes.
object | ROOT class |
Definition at line 222 of file JRootClass.hh.
|
inline |
Find base class or data member with given name within current class.
name | name of base class or data member |
option | case sensitivity |
Definition at line 237 of file JRootClass.hh.
|
inline |
Get ROOT class of given data member.
data_member | data member |
Definition at line 284 of file JRootClass.hh.
|
inline |
Get ROOT class of given base class.
base_class | base class |
Definition at line 297 of file JRootClass.hh.
|
inline |
Print ROOT class information.
out | output stream |
Definition at line 309 of file JRootClass.hh.
|
inlineprotected |
Print ROOT class information.
out | output stream |
prefix | prefix |
Definition at line 349 of file JRootClass.hh.
|
inlinestaticprotected |
Print ROOT class information.
out | output stream |
name | name |
type | type |
Definition at line 388 of file JRootClass.hh.
|
protected |
pointer to ROOT dictionary
Definition at line 317 of file JRootClass.hh.
|
protected |
offset with respect to data structure [B]
Definition at line 318 of file JRootClass.hh.