ROOT 6.10/09 Reference Guide |
Abstract base class for accessing the data-members of a class.
Classes derived from this class can be given as argument to the ShowMembers() methods of ROOT classes. This feature facilitates the writing of class browsers and inspectors.
Definition at line 31 of file TMemberInspector.h.
Public Types | |
enum | EObjectPointerState { kUnset, kNoObjectGiven, kValidObjectGiven } |
Public Member Functions | |
TMemberInspector () | |
virtual | ~TMemberInspector () |
void | AddToParent (const char *name) |
void | GenericShowMembers (const char *topClassName, const void *obj, Bool_t transientMember) |
EObjectPointerState | GetObjectValidity () const |
const char * | GetParent () const |
Ssiz_t | GetParentLen () const |
virtual void | Inspect (TClass *cl, const char *parent, const char *name, const void *addr) |
virtual void | Inspect (TClass *cl, const char *parent, const char *name, const void *addr, Bool_t) |
template<class T > | |
void | InspectMember (const T &obj, const char *name, Bool_t isTransient) |
void | InspectMember (const TObject &obj, const char *name, Bool_t isTransient) |
void | InspectMember (const char *topclassname, const void *pobj, const char *name, Bool_t transient) |
void | InspectMember (TClass *cl, const void *pobj, const char *name, Bool_t isTransient) |
virtual Bool_t | IsTreatingNonAccessibleTypes () |
void | RemoveFromParent (Ssiz_t startingAt) |
void | SetObjectValidity (EObjectPointerState val) |
Private Member Functions | |
TMemberInspector (const TMemberInspector &) | |
TMemberInspector & | operator= (const TMemberInspector &) |
Private Attributes | |
EObjectPointerState | fObjectPointerState |
TParentBuf * | fParent |
#include <TMemberInspector.h>
Enumerator | |
---|---|
kUnset | |
kNoObjectGiven | |
kValidObjectGiven |
Definition at line 33 of file TMemberInspector.h.
|
private |
TMemberInspector::TMemberInspector | ( | ) |
Definition at line 62 of file TMemberInspector.cxx.
|
virtual |
Definition at line 70 of file TMemberInspector.cxx.
void TMemberInspector::AddToParent | ( | const char * | name | ) |
Definition at line 87 of file TMemberInspector.cxx.
void TMemberInspector::GenericShowMembers | ( | const char * | topClassName, |
const void * | obj, | ||
Bool_t | transientMember | ||
) |
Definition at line 105 of file TMemberInspector.cxx.
|
inline |
Definition at line 50 of file TMemberInspector.h.
const char * TMemberInspector::GetParent | ( | ) | const |
Definition at line 75 of file TMemberInspector.cxx.
Ssiz_t TMemberInspector::GetParentLen | ( | ) | const |
Definition at line 81 of file TMemberInspector.cxx.
|
virtual |
Definition at line 99 of file TMemberInspector.cxx.
|
inlinevirtual |
Definition at line 53 of file TMemberInspector.h.
|
inline |
Definition at line 63 of file TMemberInspector.h.
Definition at line 132 of file TMemberInspector.cxx.
void TMemberInspector::InspectMember | ( | const char * | topclassname, |
const void * | pobj, | ||
const char * | name, | ||
Bool_t | transient | ||
) |
Definition at line 139 of file TMemberInspector.cxx.
void TMemberInspector::InspectMember | ( | TClass * | cl, |
const void * | pobj, | ||
const char * | name, | ||
Bool_t | isTransient | ||
) |
Definition at line 150 of file TMemberInspector.cxx.
|
inlinevirtual |
Definition at line 60 of file TMemberInspector.h.
|
private |
Definition at line 93 of file TMemberInspector.cxx.
|
inline |
Definition at line 51 of file TMemberInspector.h.
|
private |
Definition at line 41 of file TMemberInspector.h.
|
private |
Definition at line 39 of file TMemberInspector.h.