Jpp 19.3.0-rc.3
the software that should make you happy
|
Auxiliary class to manage access to base classes and data members of ROOT class objects. More...
#include <JRootClass.hh>
Public Types | |
typedef JPointer_t | pointer_type |
Type definition of address. | |
Public Member Functions | |
template<class T > | |
JRootAddressableClass (T &object) | |
Constructor. | |
pointer_type | getAddress () const |
Get address. | |
bool | is_valid () const |
Check validity of this addressable class. | |
JRootAddressableClass | find (const char *const name) const |
Find addressable base class or data member with given name within current class. | |
JRootAddressableClass | get (const TDataMember &object) const |
Get addressable class of given data member. | |
JRootAddressableClass | get (const TBaseClass &object) const |
Get addressable class of given base class. | |
JRootAddressableClass | operator[] (const char *const name) const |
Find addressable base class or data member with given name within current class. | |
TDictionary * | getDictionary () const |
Get dictionary. | |
int | getOffset () const |
Get offset of this class with respect to parent class. | |
TClass * | getClass () const |
Get class. | |
const char * | getTypename () const |
Get type name. | |
bool | equals (const JRootClass &object) const |
Test equality of ROOT classes. | |
JRootClass | find (const char *const name, const bool option=true) const |
Find base class or data member with given name within current class. | |
void | print (std::ostream &out) const |
Print ROOT class information. | |
Protected Member Functions | |
JRootAddressableClass () | |
Default constructor. | |
JRootAddressableClass (const JRootClass &rc, pointer_type address) | |
Constructor. | |
void | print (std::ostream &out, const std::string &prefix) const |
Print ROOT class information. | |
Static Protected Member Functions | |
static void | print (std::ostream &out, const std::string &name, const std::string &type) |
Print ROOT class information. | |
Protected Attributes | |
pointer_type | address |
TDictionary * | dictionary |
pointer to ROOT dictionary | |
int | offset |
offset with respect to data structure [B] | |
Auxiliary class to manage access to base classes and data members of ROOT class objects.
This class augments the class JRootClass with addressing capabilities.
Definition at line 383 of file JRootClass.hh.
JPointer_t JROOT::JRootAddressableClass< JPointer_t >::pointer_type |
Type definition of address.
Definition at line 389 of file JRootClass.hh.
|
inline |
Constructor.
object | template object |
Definition at line 397 of file JRootClass.hh.
|
inlineprotected |
Default constructor.
Definition at line 505 of file JRootClass.hh.
|
inlineprotected |
|
inline |
Get address.
Definition at line 408 of file JRootClass.hh.
|
inline |
Check validity of this addressable class.
Definition at line 419 of file JRootClass.hh.
|
inline |
Find addressable base class or data member with given name within current class.
name | name of base class or data member |
Definition at line 431 of file JRootClass.hh.
|
inline |
Get addressable class of given data member.
object | data member |
Definition at line 443 of file JRootClass.hh.
|
inline |
Get addressable class of given base class.
object | base class |
Definition at line 483 of file JRootClass.hh.
|
inline |
Find addressable base class or data member with given name within current class.
name | name of base class or data member |
Definition at line 495 of file JRootClass.hh.
|
inlineinherited |
Get dictionary.
Definition at line 86 of file JRootClass.hh.
|
inlineinherited |
Get offset of this class with respect to parent class.
Definition at line 97 of file JRootClass.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Test equality of ROOT classes.
object | ROOT class |
Definition at line 145 of file JRootClass.hh.
|
inlineinherited |
Find base class or data member with given name within current class.
name | name of base class or data member |
option | case insensitive |
Definition at line 160 of file JRootClass.hh.
|
inlineinherited |
Print ROOT class information.
out | output stream |
Definition at line 232 of file JRootClass.hh.
|
inlineprotectedinherited |
Print ROOT class information.
out | output stream |
prefix | prefix |
Definition at line 259 of file JRootClass.hh.
|
inlinestaticprotectedinherited |
Print ROOT class information.
out | output stream |
name | name |
type | type |
Definition at line 292 of file JRootClass.hh.
|
protected |
Definition at line 522 of file JRootClass.hh.
|
protectedinherited |
pointer to ROOT dictionary
Definition at line 240 of file JRootClass.hh.
|
protectedinherited |
offset with respect to data structure [B]
Definition at line 241 of file JRootClass.hh.