A representation of all objects involved in a rootls-style ROOT file listing.
This listing is used in command line tools like rootls, rootcp etc. and it comes from a shell glob-style syntax like:
file.root:dir/*
In this case, a RootObjTree that represents the above query will contain the TFile relative to file.root, all nodes "visited" by the glob expression in fNodes and links to them in fDirList and fLeafList. This is basically a filtered view of a ROOT file.
Example: assume you have a ROOT file with the following structure:
file.root --- a/ | — b | --- c — d
Then the RootObjTree representing the query file.root:* will contain:
fNodes: [a, b, c, d] fLeafList: [1, 2, 3] fDirList: [0]
Definition at line 78 of file RootObjTree.hxx.
Public Attributes | |
| std::vector< NodeIdx_t > | fDirList |
| std::unique_ptr< TFile > | fFile |
| std::vector< NodeIdx_t > | fLeafList |
| std::vector< RootObjNode > | fNodes |
#include </home/stephan/code/root-2/main/src/RootObjTree.hxx>
| std::vector<NodeIdx_t> ROOT::CmdLine::RootObjTree::fDirList |
Definition at line 82 of file RootObjTree.hxx.
| std::unique_ptr<TFile> ROOT::CmdLine::RootObjTree::fFile |
Definition at line 86 of file RootObjTree.hxx.
| std::vector<NodeIdx_t> ROOT::CmdLine::RootObjTree::fLeafList |
Definition at line 84 of file RootObjTree.hxx.
| std::vector<RootObjNode> ROOT::CmdLine::RootObjTree::fNodes |
Definition at line 80 of file RootObjTree.hxx.