27class TMemberInspector::TParentBuf {
29 std::vector<char> fBuf;
32 TParentBuf(): fBuf(1024), fLen(0) {}
33 Ssiz_t GetLength()
const {
return fLen; }
34 void Append(
const char*);
35 void Remove(
Ssiz_t startingAt);
36 operator const char*()
const {
return &fBuf[0]; }
39void TMemberInspector::TParentBuf::Append(
const char* add)
42 if (!add || !add[0])
return;
43 Ssiz_t addlen = strlen(add);
44 fBuf.resize(fLen + addlen + 1);
53void TMemberInspector::TParentBuf::Remove(
Ssiz_t startingAt)
63 fObjectPointerState(
kUnset)
102 Fatal(
"Inspect",
"This version of Inspect is obsolete");
117 ClassInfo_t *
b =
gInterpreter->ClassInfo_Factory(topClassName);
120 if (!isloaded)
return;
136 InspectMember<TObject>(obj,
name, isTransient);
void Fatal(const char *location, const char *msgfmt,...)
Use this function in case of a fatal error. It will abort the program.
TClass instances represent classes, structs and namespaces in the ROOT type system.
Bool_t CallShowMembers(const void *obj, TMemberInspector &insp, Bool_t isTransient=kFALSE) const
Call ShowMembers() on the obj of this class type, passing insp and parent.
static TClass * GetClass(const char *name, Bool_t load=kTRUE, Bool_t silent=kFALSE)
Static method returning pointer to TClass of the specified class name.
Abstract base class for accessing the data-members of a class.
const char * GetParent() const
void GenericShowMembers(const char *topClassName, const void *obj, Bool_t transientMember)
void RemoveFromParent(Ssiz_t startingAt)
virtual void Inspect(TClass *cl, const char *parent, const char *name, const void *addr)
virtual ~TMemberInspector()
void AddToParent(const char *name)
Ssiz_t GetParentLen() const
void InspectMember(const T &obj, const char *name, Bool_t isTransient)
Mother of all ROOT objects.
ROOT::ESTLType IsSTLCont(std::string_view type)
type : type name: vector<list<classA,allocator>,allocator> result: 0 : not stl container code of cont...