28 :
TObject(), fResPtr(0), fResClass(0), fResMember(0), fResNumChilds(-1), fResRestrict(0)
76 if (strpbrk(value,
"<>&\'\"") == 0) {
80 const char *
v = value;
152 for (
const char *
v = value; *
v != 0;
v++)
switch (*
v) {
162 if ((*
v > 31) && (*
v < 127))
TClass instances represent classes, structs and namespaces in the ROOT type system.
All ROOT classes may have RTTI (run time type identification) support added.
Mother of all ROOT objects.
Storage of hierarchy scan in TRootSniffer in JSON format.
virtual void SetField(Int_t lvl, const char *field, const char *value, Bool_t with_quotes)
set field (json field) in current node
virtual void BeforeNextChild(Int_t lvl, Int_t nchld, Int_t nfld)
called before next child node created
virtual void CreateNode(Int_t lvl, const char *nodename)
starts new json object, will be closed by CloseNode
virtual void CloseNode(Int_t lvl, Int_t numchilds)
called when node should be closed depending from number of childs different xml format is applied
Bool_t fCompact
! produce compact json code
TString * fBuf
! output buffer
Storage of hierarchy scan in TRootSniffer in XML format.
virtual void CreateNode(Int_t lvl, const char *nodename)
starts new xml node, will be closed by CloseNode
Bool_t fCompact
! produce compact xml code
virtual void SetField(Int_t lvl, const char *field, const char *value, Bool_t)
set field (xml attribute) in current node
TString * fBuf
! output buffer
virtual void BeforeNextChild(Int_t lvl, Int_t nchld, Int_t)
called before next child node created
virtual void CloseNode(Int_t lvl, Int_t numchilds)
called when node should be closed depending from number of childs different xml format is applied
Abstract interface for storage of hierarchy scan in TRootSniffer.
TClass * fResClass
! class of found item
virtual ~TRootSnifferStore()
destructor
Int_t fResRestrict
! restriction for result, 0-default, 1-readonly, 2-full
void SetResult(void *_res, TClass *_rescl, TDataMember *_resmemb, Int_t _res_chld, Int_t restr=0)
set pointer on found element, class and number of childs
TRootSnifferStore()
normal constructor
void * fResPtr
! pointer on found item
TDataMember * fResMember
! datamember pointer of found item
Int_t fResNumChilds
! count of found childs, -1 by default
TString & Append(const char *cs)
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.