Jpp test-rotations-old
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 384 of file JRootClass.hh.
JPointer_t JROOT::JRootAddressableClass< JPointer_t >::pointer_type |
Type definition of address.
Definition at line 390 of file JRootClass.hh.
|
inline |
Constructor.
object | template object |
Definition at line 398 of file JRootClass.hh.
|
inlineprotected |
Default constructor.
Definition at line 506 of file JRootClass.hh.
|
inlineprotected |
|
inline |
Get address.
Definition at line 409 of file JRootClass.hh.
|
inline |
Check validity of this addressable class.
Definition at line 420 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 432 of file JRootClass.hh.
|
inline |
Get addressable class of given data member.
object | data member |
Definition at line 444 of file JRootClass.hh.
|
inline |
Get addressable class of given base class.
object | base class |
Definition at line 484 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 496 of file JRootClass.hh.
|
inlineinherited |
Get dictionary.
Definition at line 87 of file JRootClass.hh.
|
inlineinherited |
Get offset of this class with respect to parent class.
Definition at line 98 of file JRootClass.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Test equality of ROOT classes.
object | ROOT class |
Definition at line 146 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 161 of file JRootClass.hh.
|
inlineinherited |
Print ROOT class information.
out | output stream |
Definition at line 233 of file JRootClass.hh.
|
inlineprotectedinherited |
Print ROOT class information.
out | output stream |
prefix | prefix |
Definition at line 260 of file JRootClass.hh.
|
inlinestaticprotectedinherited |
Print ROOT class information.
out | output stream |
name | name |
type | type |
Definition at line 293 of file JRootClass.hh.
|
protected |
Definition at line 523 of file JRootClass.hh.
|
protectedinherited |
pointer to ROOT dictionary
Definition at line 241 of file JRootClass.hh.
|
protectedinherited |
offset with respect to data structure [B]
Definition at line 242 of file JRootClass.hh.