Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TDumpMembers Class Reference

Definition at line 621 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) override
 Print value of member mname.
 
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
 
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 TClassIsA () const
 
virtual Bool_t IsTreatingNonAccessibleTypes ()
 
void RemoveFromParent (Ssiz_t startingAt)
 
void SetObjectValidity (EObjectPointerState val)
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Private Attributes

bool fNoAddr
 

Additional Inherited Members

- Public Types inherited from TMemberInspector
enum  EObjectPointerState { kUnset , kNoObjectGiven , kValidObjectGiven }
 
- Static Public Member Functions inherited from TMemberInspector
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
Inheritance diagram for TDumpMembers:
[legend]

Constructor & Destructor Documentation

◆ TDumpMembers()

TDumpMembers::TDumpMembers ( bool  noAddr)
inline

Definition at line 624 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 
)
overridevirtual

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 641 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 622 of file TClass.cxx.

  • core/meta/src/TClass.cxx