Logo ROOT  
Reference Guide
TDumpMembers Class Reference

Definition at line 554 of file TClass.cxx.

Public Member Functions

 TDumpMembers (bool noAddr)
 
virtual void Inspect (TClass *cl, const char *parent, const char *name, const void *addr)
 
void Inspect (TClass *cl, const char *parent, const char *name, const void *addr, Bool_t isTransient)
 Print value of member mname. More...
 
virtual void Inspect (TClass *cl, const char *parent, const char *name, const void *addr, Bool_t)
 
- Public Member Functions inherited from TMemberInspector
 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)
 
void InspectMember (const char *topclassname, const void *pobj, const char *name, Bool_t transient)
 
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 (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 Attributes

bool fNoAddr
 

Additional Inherited Members

- Public Types inherited from TMemberInspector
enum  EObjectPointerState { kUnset , kNoObjectGiven , kValidObjectGiven }
 
Inheritance diagram for TDumpMembers:
[legend]

Constructor & Destructor Documentation

◆ TDumpMembers()

TDumpMembers::TDumpMembers ( bool  noAddr)
inline

Definition at line 557 of file TClass.cxx.

Member Function Documentation

◆ Inspect() [1/3]

void TMemberInspector::Inspect ( TClass cl,
const char *  parent,
const char *  name,
const void addr 
)
virtual

Reimplemented from TMemberInspector.

Definition at line 52 of file TMemberInspector.cxx.

◆ Inspect() [2/3]

void TDumpMembers::Inspect ( TClass cl,
const char *  pname,
const char *  mname,
const void add,
Bool_t  isTransient 
)
virtual

Print value of member mname.

This method is called by the ShowMembers() method for each data member when object.Dump() is invoked.

  • cl is the pointer to the current class
  • pname is the parent name (in case of composed objects)
  • mname is the data member name
  • add is the data member address

Reimplemented from TMemberInspector.

Definition at line 574 of file TClass.cxx.

◆ Inspect() [3/3]

virtual void TMemberInspector::Inspect ( TClass cl,
const char *  parent,
const char *  name,
const void addr,
Bool_t   
)
inlinevirtual

Reimplemented from TMemberInspector.

Definition at line 53 of file TMemberInspector.h.

Member Data Documentation

◆ fNoAddr

bool TDumpMembers::fNoAddr
private

Definition at line 555 of file TClass.cxx.


The documentation for this class was generated from the following file: