TRootSnifferScanRec Structure used to scan hierarchies of ROOT objects Represents single level of hierarchy
Bool_t | fHasMore | ! indicates that potentially there are more items can be found |
TString | fItemName | ! name of current item |
TList | fItemsNames | ! list of created items names, need to avoid duplication |
Int_t | fLevel | ! current level of hierarchy |
UInt_t | fMask | ! defines operation kind |
Bool_t | fNodeStarted | ! indicate if node was started |
Int_t | fNumChilds | ! number of childs |
Int_t | fNumFields | ! number of fields |
TRootSnifferScanRec* | fParent | ! pointer on parent record |
Int_t | fRestriction | ! restriction 0 - default, 1 - read-only, 2 - full access |
const char* | fSearchPath | ! current path searched |
TRootSnifferStore* | fStore | ! object to store results |
static TRootSnifferScanRec::(anonymous) | kActions | |
static TRootSnifferScanRec::(anonymous) | kCheckChilds | |
static TRootSnifferScanRec::(anonymous) | kExpand | |
static TRootSnifferScanRec::(anonymous) | kOnlyFields | |
static TRootSnifferScanRec::(anonymous) | kScan | |
static TRootSnifferScanRec::(anonymous) | kSearch |
record field for current element
constructs item name from object name if special symbols like '/', '#', ':', '&', '?' are used in object name they will be replaced with '_'. To avoid item name duplication, additional id number can be appended
Produce full name, including all parents
creates new node with specified name if special symbols like "[]&<>" are used, node name will be replaced by default name like "extra_item_N" and original node name will be recorded as "_original_name" field Optionally, object name can be recorded as "_realname" field
set root class name as node kind in addition, path to master item (streamer info) specified Such master item required to correctly unstream data on JavaScript
Checks if result will be accepted. Used to verify if sniffer should read object from the file
returns true if current item can be expanded - means one could explore objects members
returns read-only flag for current item Depends from default value and current restrictions
Method verifies if new level of hierarchy should be started with provided object. If required, all necessary nodes and fields will be created Used when different collection kinds should be scanned