23using namespace std::string_literals;
 
   49      return TObjectElement::GetContent(kind);
 
 
 
   69      if (!
leaf->GetBranch())
 
   72      return leaf->GetBranch()->GetTotalSize();
 
 
 
  101      return br ? 
br->GetTotalSize() : -1;
 
 
 
  136      return br && 
br->GetLeaves() ? 
br->GetLeaves()->GetSize() : 0;
 
 
  143      if (
br && 
br->GetLeaves())
 
 
 
  176      return tr ? 
tr->GetTotBytes() : -1;
 
 
 
  201         return std::make_shared<TBrLeafElement>(
object);
 
  204         return std::make_shared<TBrElement>(
object);
 
  207         return std::make_shared<TBrElement>(
object);
 
  210         return std::make_shared<TBrBrowsableElement>(
object);
 
  213         return std::make_shared<TTreeElement>(
object);
 
  216         return std::make_shared<TTreeElement>(
object);
 
 
 
TBranchBrowseProvider newTBranchBrowseProvider
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
EActionKind
Possible actions on double-click.
@ kActDraw6
can be drawn inside ROOT6 canvas
@ kActTree
can be shown in tree viewer
@ kActDraw7
can be drawn inside ROOT7 canvas
Provider of different browsing methods for supported classes.
void RegisterBrowse(const TClass *cl, BrowseFunc_t func)
Access to TObject basic properties for RBrowsable.
static std::unique_ptr< RLevelIter > GetCollectionIter(const TCollection *)
Creates iterator for TCollection object.
std::unique_ptr< RHolder > fObject
virtual const TObject * CheckObject() const
Check if object still exists.
Representing TVirtualBranchBrowsable in browsables.
std::string GetDrawExpr() const override
TBrBrowsableElement(std::unique_ptr< RHolder > &br)
std::unique_ptr< RLevelIter > GetChildsIter() override
Create iterator for childs elements if any.
int GetNumChilds() override
Returns number of childs By default creates iterator and iterates over all items.
virtual ~TBrBrowsableElement()=default
Representing TBranch in browsables.
Long64_t GetSize() const override
TBrElement(std::unique_ptr< RHolder > &br)
std::string GetDrawExpr() const override
Representing TLeaf in browsables.
Long64_t GetSize() const override
std::string GetDrawExpr() const override
TBrLeafElement(std::unique_ptr< RHolder > &leaf)
A Branch for the case of an object.
A TTree is a list of TBranches.
Provider for drawing of branches / leafs in the TTree.
A TLeaf describes individual elements of a TBranch See TBranch structure in TTree.
bool IsCapable(EActionKind action) const override
Check if want to perform action.
virtual std::string GetDrawExpr() const
EActionKind GetDefaultAction() const override
Get default action.
std::string GetContent(const std::string &kind) override
Returns element content, depends from kind.
TTreeBrowsingElement(std::unique_ptr< RHolder > &obj)
Representing TTree in browsables.
EActionKind GetDefaultAction() const override
Get default action.
Long64_t GetSize() const override
TTreeElement(std::unique_ptr< RHolder > &br)
bool IsCapable(EActionKind action) const override
Check if want to perform action.
A TTree represents a columnar dataset.
TVirtualBranchBrowsable is a base class (not really abstract, but useless by itself) for helper objec...