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

Definition at line 30 of file RYMLParser.h.

Classes

class  Impl
 

Public Member Functions

 Node (const Node &other)
 
 Node (TRYMLTree *t, const Impl &other)
 
Nodeappend_child () override
 
const Nodechild (size_t pos) const override
 
Nodechild (size_t pos) override
 
void clear () override
 
bool has_child (std::string const &) const override
 
bool has_key () const override
 
bool has_val () const override
 
bool is_container () const override
 
bool is_map () const override
 
bool is_seq () const override
 
std::string key () const override
 
size_t num_children () const override
 
Nodeoperator<< (bool b) override
 
Nodeoperator<< (double d) override
 
Nodeoperator<< (int i) override
 
Nodeoperator<< (std::string const &s) override
 
const Nodeoperator>> (std::string &v) const override
 
const Nodeoperator[] (std::string const &k) const override
 
Nodeoperator[] (std::string const &k) override
 
Nodeset_map () override
 
Nodeset_seq () override
 
std::string val () const override
 
void writeJSON (std::ostream &os) const override
 
void writeYML (std::ostream &) const override
 
- Public Member Functions inherited from RooFit::Detail::JSONNode
virtual children_view children ()
 
virtual const_children_view children () const
 
template<typename Matrix >
void fill_mat (Matrix const &mat)
 
template<typename Collection >
void fill_seq (Collection const &coll)
 
template<typename Collection >
void fill_seq (Collection const &coll, size_t nmax)
 
template<typename Collection , typename TransformationFunc >
void fill_seq (Collection const &coll, TransformationFunc func)
 
JSONNode const * find (std::string const &key) const
 
template<typename... Keys_t>
JSONNode const * find (std::string const &key, Keys_t const &...keys) const
 
JSONNodeget (std::string const &key)
 
template<typename... Keys_t>
JSONNodeget (std::string const &key, Keys_t const &...keys)
 
JSONNodeoperator<< (const char *s)
 
virtual bool val_bool () const
 
virtual double val_double () const
 
virtual int val_int () const
 
template<class T >
val_t () const
 
template<>
int 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::Detail::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-master/rootspi/rdoc/src/master/roofit/jsoninterface/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 149 of file RYMLParser.cxx.

◆ Node() [2/2]

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

Definition at line 154 of file RYMLParser.cxx.

Member Function Documentation

◆ append_child()

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

Implements RooFit::Detail::JSONNode.

Definition at line 247 of file RYMLParser.cxx.

◆ child() [1/2]

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

Implements RooFit::Detail::JSONNode.

Definition at line 283 of file RYMLParser.cxx.

◆ child() [2/2]

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

Implements RooFit::Detail::JSONNode.

Definition at line 277 of file RYMLParser.cxx.

◆ clear()

void TRYMLTree::Node::clear ( )
overridevirtual

Implements RooFit::Detail::JSONNode.

Definition at line 126 of file RYMLParser.cxx.

◆ has_child()

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

Implements RooFit::Detail::JSONNode.

Definition at line 265 of file RYMLParser.cxx.

◆ has_key()

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

Implements RooFit::Detail::JSONNode.

Definition at line 253 of file RYMLParser.cxx.

◆ has_val()

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

Implements RooFit::Detail::JSONNode.

Definition at line 259 of file RYMLParser.cxx.

◆ is_container()

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

Implements RooFit::Detail::JSONNode.

Definition at line 212 of file RYMLParser.cxx.

◆ is_map()

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

Implements RooFit::Detail::JSONNode.

Definition at line 218 of file RYMLParser.cxx.

◆ is_seq()

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

Implements RooFit::Detail::JSONNode.

Definition at line 224 of file RYMLParser.cxx.

◆ key()

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

Implements RooFit::Detail::JSONNode.

Definition at line 230 of file RYMLParser.cxx.

◆ num_children()

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

Implements RooFit::Detail::JSONNode.

Definition at line 271 of file RYMLParser.cxx.

◆ operator<<() [1/4]

TRYMLTree::Node & TRYMLTree::Node::operator<< ( bool  b)
overridevirtual

Implements RooFit::Detail::JSONNode.

Definition at line 186 of file RYMLParser.cxx.

◆ operator<<() [2/4]

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

Implements RooFit::Detail::JSONNode.

Definition at line 179 of file RYMLParser.cxx.

◆ operator<<() [3/4]

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

Implements RooFit::Detail::JSONNode.

Definition at line 172 of file RYMLParser.cxx.

◆ operator<<() [4/4]

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

Implements RooFit::Detail::JSONNode.

Definition at line 165 of file RYMLParser.cxx.

◆ operator>>()

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

Implements RooFit::Detail::JSONNode.

Definition at line 193 of file RYMLParser.cxx.

◆ operator[]() [1/2]

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

Implements RooFit::Detail::JSONNode.

Definition at line 206 of file RYMLParser.cxx.

◆ operator[]() [2/2]

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

Implements RooFit::Detail::JSONNode.

Definition at line 200 of file RYMLParser.cxx.

◆ set_map()

TRYMLTree::Node & TRYMLTree::Node::set_map ( )
overridevirtual

Implements RooFit::Detail::JSONNode.

Definition at line 112 of file RYMLParser.cxx.

◆ set_seq()

TRYMLTree::Node & TRYMLTree::Node::set_seq ( )
overridevirtual

Implements RooFit::Detail::JSONNode.

Definition at line 119 of file RYMLParser.cxx.

◆ val()

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

Implements RooFit::Detail::JSONNode.

Definition at line 238 of file RYMLParser.cxx.

◆ writeJSON()

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

Implements RooFit::Detail::JSONNode.

Definition at line 100 of file RYMLParser.cxx.

◆ writeYML()

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

Reimplemented from RooFit::Detail::JSONNode.

Definition at line 106 of file RYMLParser.cxx.

Member Data Documentation

◆ node

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

Definition at line 35 of file RYMLParser.h.

◆ tree

TRYMLTree* TRYMLTree::Node::tree
protected

Definition at line 32 of file RYMLParser.h.

◆ TRYMLTree

friend TRYMLTree::Node::TRYMLTree
protected

Definition at line 34 of file RYMLParser.h.

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