Logo ROOT  
Reference Guide
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Loading...
Searching...
No Matches
TRYMLTree Class Reference

Definition at line 24 of file RYMLParser.h.

Classes

class  Impl
 
class  Node
 

Public Member Functions

 TRYMLTree ()
 
 TRYMLTree (std::istream &is)
 
 ~TRYMLTree () override
 
void clearcache ()
 
Nodeincache (const Node &n)
 
const char * incache (const std::string &str)
 
Noderootnode () override
 
- Public Member Functions inherited from RooFit::Detail::JSONTree
virtual ~JSONTree ()=default
 

Protected Attributes

std::list< Node_nodecache
 
std::list< std::string > _strcache
 
std::unique_ptr< Impltree
 

Additional Inherited Members

- Static Public Member Functions inherited from RooFit::Detail::JSONTree
static std::unique_ptr< JSONTreecreate ()
 
static std::unique_ptr< JSONTreecreate (std::istream &is)
 
static std::unique_ptr< JSONTreecreate (std::string const &str)
 
static std::string getBackend ()
 Returns the name of the library that serves as the backend for the JSON interface, which is either "nlohmann-json" or "rapidyaml".
 
static bool hasBackend (std::string const &name)
 Check if ROOT was compiled with support for a certain JSON backend library.
 
static void setBackend (std::string const &name)
 Set the library that serves as the backend for the JSON interface.
 

#include </github/home/ROOT-CI/src/roofit/jsoninterface/src/RYMLParser.h>

Inheritance diagram for TRYMLTree:
[legend]

Constructor & Destructor Documentation

◆ TRYMLTree() [1/2]

TRYMLTree::TRYMLTree ( )

Definition at line 136 of file RYMLParser.cxx.

◆ ~TRYMLTree()

TRYMLTree::~TRYMLTree ( )
override

Definition at line 141 of file RYMLParser.cxx.

◆ TRYMLTree() [2/2]

TRYMLTree::TRYMLTree ( std::istream & is)

Definition at line 131 of file RYMLParser.cxx.

Member Function Documentation

◆ clearcache()

void TRYMLTree::clearcache ( )

Definition at line 326 of file RYMLParser.cxx.

◆ incache() [1/2]

TRYMLTree::Node & TRYMLTree::incache ( const Node & n)

Definition at line 319 of file RYMLParser.cxx.

◆ incache() [2/2]

const char * TRYMLTree::incache ( const std::string & str)

Definition at line 312 of file RYMLParser.cxx.

◆ rootnode()

TRYMLTree::Node & TRYMLTree::rootnode ( )
overridevirtual

Implements RooFit::Detail::JSONTree.

Definition at line 159 of file RYMLParser.cxx.

Member Data Documentation

◆ _nodecache

std::list<Node> TRYMLTree::_nodecache
protected

Definition at line 69 of file RYMLParser.h.

◆ _strcache

std::list<std::string> TRYMLTree::_strcache
protected

Definition at line 68 of file RYMLParser.h.

◆ tree

std::unique_ptr<Impl> TRYMLTree::tree
protected

Definition at line 27 of file RYMLParser.h.

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