ROOT logo
ROOT » NET » HTTP » TRootSnifferScanRec

class TRootSnifferScanRec

Function Members (Methods)

public:
TRootSnifferScanRec()
virtual~TRootSnifferScanRec()
voidBeforeNextChild()
voidBuildFullName(TString& buf, TRootSnifferScanRec* prnt = 0)
Bool_tCanExpandItem()
Bool_tCanSetFields() const
static TClass*Class()
voidCloseNode()
voidCreateNode(const char* _node_name)
Int_tDepth() const
Bool_tDone() const
Bool_tGoInside(TRootSnifferScanRec& super, TObject* obj, const char* obj_name = 0, TRootSniffer* sniffer = 0)
virtual TClass*IsA() const
Bool_tIsReadOnly(Bool_t dflt = kTRUE)
Bool_tIsReadyForResult() const
voidMakeItemName(const char* objname, TString& itemname)
Bool_tScanOnlyFields() const
voidSetField(const char* name, const char* value, Bool_t with_quotes = kTRUE)
Bool_tSetFoundResult(void* obj, TClass* cl, TDataMember* member = 0)
Bool_tSetResult(void* obj, TClass* cl, TDataMember* member = 0)
voidSetRootClass(TClass* cl)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)

Data Members

public:
enum { kScan
kExpand
kSearch
kCheckChilds
kOnlyFields
kActions
};
protected:
Bool_tfHasMore! indicates that potentially there are more items can be found
TStringfItemName! name of current item
TListfItemsNames! list of created items names, need to avoid duplication
Int_tfLevel! current level of hierarchy
UInt_tfMask! defines operation kind
Bool_tfNodeStarted! indicate if node was started
Int_tfNumChilds! number of childs
Int_tfNumFields! number of fields
TRootSnifferScanRec*fParent! pointer on parent record
Int_tfRestriction! restriction 0 - default, 1 - read-only, 2 - full access
const char*fSearchPath! current path searched
TRootSnifferStore*fStore! object to store results

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TRootSnifferScanRec()
virtual ~TRootSnifferScanRec()
void CloseNode()
Bool_t CanSetFields() const
 return true when fields could be set to the hierarchy item 
Bool_t ScanOnlyFields() const
void CreateNode(const char* _node_name)
 Starts new node, must be closed at the end 
void BeforeNextChild()
void SetField(const char* name, const char* value, Bool_t with_quotes = kTRUE)
 Set item field only when creating is specified 
void SetRootClass(TClass* cl)
 Mark item with ROOT class and correspondent streamer info 
Bool_t CanExpandItem()
 Returns true when item can be expanded 
Bool_t IsReadyForResult() const
 Checks if result will be accepted. Used to verify if sniffer should read object from the file 
Bool_t SetResult(void* obj, TClass* cl, TDataMember* member = 0)
 Obsolete, use SetFoundResult instead 
Bool_t SetFoundResult(void* obj, TClass* cl, TDataMember* member = 0)
 Set found element with class and datamember (optional) 
Int_t Depth() const
 Returns depth of hierarchy 
Bool_t Done() const
 Method indicates that scanning can be interrupted while result is set 
void MakeItemName(const char* objname, TString& itemname)
 Construct item name, using object name as basis 
void BuildFullName(TString& buf, TRootSnifferScanRec* prnt = 0)
 Produces full name for the current item 
Bool_t IsReadOnly(Bool_t dflt = kTRUE)
 Returns read-only flag for current item 
Bool_t GoInside(TRootSnifferScanRec& super, TObject* obj, const char* obj_name = 0, TRootSniffer* sniffer = 0)