Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TRYMLTree::Node Class Reference

Definition at line 29 of file RYMLParser.h.

Classes

class  Impl
 

Public Member Functions

 Node (const Node &other)
 
 Node (TRYMLTree *t, const Impl &other)
 
virtual Nodeappend_child () override
 
virtual const Nodechild (size_t pos) const override
 
virtual Nodechild (size_t pos) override
 
virtual bool has_child (std::string const &) const override
 
virtual bool has_key () const override
 
virtual bool has_val () const override
 
virtual bool is_container () const override
 
virtual bool is_map () const override
 
virtual bool is_seq () const override
 
virtual std::string key () const override
 
virtual size_t num_children () const override
 
virtual Nodeoperator<< (double d) override
 
virtual Nodeoperator<< (int i) override
 
virtual Nodeoperator<< (std::string const &s) override
 
virtual const Nodeoperator>> (std::string &v) const override
 
virtual const Nodeoperator[] (size_t pos) const override
 
virtual Nodeoperator[] (size_t pos) override
 
virtual const Nodeoperator[] (std::string const &k) const override
 
virtual Nodeoperator[] (std::string const &k) override
 
virtual void set_map () override
 
virtual void set_seq () override
 
virtual std::string val () const override
 
virtual void writeJSON (std::ostream &os) const override
 
virtual void writeYML (std::ostream &) const override
 
- Public Member Functions inherited from RooFit::Experimental::JSONNode
virtual children_view children ()
 
virtual const_children_view children () const
 
template<class T >
JSONNodeoperator<< (const std::vector< T > &v)
 
virtual bool val_bool () const
 
virtual float val_float () const
 
virtual int val_int () const
 
template<class T >
val_t () const
 
template<>
int val_t () const
 
template<>
float val_t () const
 
template<>
double val_t () const
 
template<>
bool val_t () const
 

Protected Attributes

std::unique_ptr< Implnode
 
TRYMLTreetree
 
friend TRYMLTree
 

Additional Inherited Members

- Public Types inherited from RooFit::Experimental::JSONNode
using child_iterator = child_iterator_t< JSONNode >
 
using children_view = children_view_t< JSONNode >
 
using const_child_iterator = child_iterator_t< const JSONNode >
 
using const_children_view = children_view_t< const JSONNode >
 

#include </home/sftnight/build/workspace/root-makedoc-v626/rootspi/rdoc/src/v6-26-00-patches/roofit/hs3/src/RYMLParser.h>

Inheritance diagram for TRYMLTree::Node:
[legend]

Constructor & Destructor Documentation

◆ Node() [1/2]

TRYMLTree::Node::Node ( TRYMLTree t,
const Impl other 
)

Definition at line 142 of file RYMLParser.cxx.

◆ Node() [2/2]

TRYMLTree::Node::Node ( const Node other)

Definition at line 147 of file RYMLParser.cxx.

Member Function Documentation

◆ append_child()

TRYMLTree::Node & TRYMLTree::Node::append_child ( )
overridevirtual

Implements RooFit::Experimental::JSONNode.

Definition at line 245 of file RYMLParser.cxx.

◆ child() [1/2]

const TRYMLTree::Node & TRYMLTree::Node::child ( size_t  pos) const
overridevirtual

Implements RooFit::Experimental::JSONNode.

Definition at line 281 of file RYMLParser.cxx.

◆ child() [2/2]

TRYMLTree::Node & TRYMLTree::Node::child ( size_t  pos)
overridevirtual

Implements RooFit::Experimental::JSONNode.

Definition at line 275 of file RYMLParser.cxx.

◆ has_child()

bool TRYMLTree::Node::has_child ( std::string const &  s) const
overridevirtual

Implements RooFit::Experimental::JSONNode.

Definition at line 263 of file RYMLParser.cxx.

◆ has_key()

bool TRYMLTree::Node::has_key ( ) const
overridevirtual

Implements RooFit::Experimental::JSONNode.

Definition at line 251 of file RYMLParser.cxx.

◆ has_val()

bool TRYMLTree::Node::has_val ( ) const
overridevirtual

Implements RooFit::Experimental::JSONNode.

Definition at line 257 of file RYMLParser.cxx.

◆ is_container()

bool TRYMLTree::Node::is_container ( ) const
overridevirtual

Implements RooFit::Experimental::JSONNode.

Definition at line 210 of file RYMLParser.cxx.

◆ is_map()

bool TRYMLTree::Node::is_map ( ) const
overridevirtual

Implements RooFit::Experimental::JSONNode.

Definition at line 216 of file RYMLParser.cxx.

◆ is_seq()

bool TRYMLTree::Node::is_seq ( ) const
overridevirtual

Implements RooFit::Experimental::JSONNode.

Definition at line 222 of file RYMLParser.cxx.

◆ key()

std::string TRYMLTree::Node::key ( ) const
overridevirtual

Implements RooFit::Experimental::JSONNode.

Definition at line 228 of file RYMLParser.cxx.

◆ num_children()

size_t TRYMLTree::Node::num_children ( ) const
overridevirtual

Implements RooFit::Experimental::JSONNode.

Definition at line 269 of file RYMLParser.cxx.

◆ operator<<() [1/3]

TRYMLTree::Node & TRYMLTree::Node::operator<< ( double  d)
overridevirtual

Implements RooFit::Experimental::JSONNode.

Definition at line 172 of file RYMLParser.cxx.

◆ operator<<() [2/3]

TRYMLTree::Node & TRYMLTree::Node::operator<< ( int  i)
overridevirtual

Implements RooFit::Experimental::JSONNode.

Definition at line 165 of file RYMLParser.cxx.

◆ operator<<() [3/3]

TRYMLTree::Node & TRYMLTree::Node::operator<< ( std::string const &  s)
overridevirtual

Implements RooFit::Experimental::JSONNode.

Definition at line 158 of file RYMLParser.cxx.

◆ operator>>()

const TRYMLTree::Node & TRYMLTree::Node::operator>> ( std::string &  v) const
overridevirtual

Implements RooFit::Experimental::JSONNode.

Definition at line 179 of file RYMLParser.cxx.

◆ operator[]() [1/4]

const TRYMLTree::Node & TRYMLTree::Node::operator[] ( size_t  pos) const
overridevirtual

Implements RooFit::Experimental::JSONNode.

Definition at line 204 of file RYMLParser.cxx.

◆ operator[]() [2/4]

TRYMLTree::Node & TRYMLTree::Node::operator[] ( size_t  pos)
overridevirtual

Implements RooFit::Experimental::JSONNode.

Definition at line 192 of file RYMLParser.cxx.

◆ operator[]() [3/4]

const TRYMLTree::Node & TRYMLTree::Node::operator[] ( std::string const &  k) const
overridevirtual

Implements RooFit::Experimental::JSONNode.

Definition at line 198 of file RYMLParser.cxx.

◆ operator[]() [4/4]

TRYMLTree::Node & TRYMLTree::Node::operator[] ( std::string const &  k)
overridevirtual

Implements RooFit::Experimental::JSONNode.

Definition at line 186 of file RYMLParser.cxx.

◆ set_map()

void TRYMLTree::Node::set_map ( )
overridevirtual

Implements RooFit::Experimental::JSONNode.

Definition at line 112 of file RYMLParser.cxx.

◆ set_seq()

void TRYMLTree::Node::set_seq ( )
overridevirtual

Implements RooFit::Experimental::JSONNode.

Definition at line 118 of file RYMLParser.cxx.

◆ val()

std::string TRYMLTree::Node::val ( ) const
overridevirtual

Implements RooFit::Experimental::JSONNode.

Definition at line 236 of file RYMLParser.cxx.

◆ writeJSON()

void TRYMLTree::Node::writeJSON ( std::ostream &  os) const
overridevirtual

Implements RooFit::Experimental::JSONNode.

Definition at line 100 of file RYMLParser.cxx.

◆ writeYML()

void TRYMLTree::Node::writeYML ( std::ostream &  os) const
overridevirtual

Reimplemented from RooFit::Experimental::JSONNode.

Definition at line 106 of file RYMLParser.cxx.

Member Data Documentation

◆ node

std::unique_ptr<Impl> TRYMLTree::Node::node
protected

Definition at line 34 of file RYMLParser.h.

◆ tree

TRYMLTree* TRYMLTree::Node::tree
protected

Definition at line 31 of file RYMLParser.h.

◆ TRYMLTree

friend TRYMLTree::Node::TRYMLTree
protected

Definition at line 33 of file RYMLParser.h.

  • roofit/hs3/src/RYMLParser.h
  • roofit/hs3/src/RYMLParser.cxx