Definition at line 22 of file JSONParser.h.
|
| static std::unique_ptr< JSONTree > | create () |
| static std::unique_ptr< JSONTree > | create (std::istream &is) |
| static std::unique_ptr< JSONTree > | create (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 </home/stephan/code/root-2/roofit/jsoninterface/src/JSONParser.h>
◆ Backend
◆ TJSONTree() [1/2]
◆ ~TJSONTree()
| TJSONTree::~TJSONTree |
( |
| ) |
|
|
override |
◆ TJSONTree() [2/2]
| TJSONTree::TJSONTree |
( |
std::istream & | is | ) |
|
◆ clearcache()
| void TJSONTree::clearcache |
( |
| ) |
|
|
protected |
◆ create() [1/3]
| std::unique_ptr< JSONTree > RooFit::Detail::JSONTree::create |
( |
| ) |
|
|
staticinherited |
◆ create() [2/3]
| std::unique_ptr< JSONTree > RooFit::Detail::JSONTree::create |
( |
std::istream & | is | ) |
|
|
staticinherited |
◆ create() [3/3]
| std::unique_ptr< JSONTree > RooFit::Detail::JSONTree::create |
( |
std::string const & | str | ) |
|
|
staticinherited |
◆ createImpl()
template<typename... Args>
| std::unique_ptr< JSONTree > RooFit::Detail::JSONTree::createImpl |
( |
Args &&... | args | ) |
|
|
staticprivateinherited |
◆ getBackend()
| std::string RooFit::Detail::JSONTree::getBackend |
( |
| ) |
|
|
staticinherited |
Returns the name of the library that serves as the backend for the JSON interface, which is either "nlohmann-json" or "rapidyaml".
- Returns
- Backend name as a string.
Definition at line 133 of file JSONInterface.cxx.
◆ getBackendEnum()
◆ hasBackend()
| bool RooFit::Detail::JSONTree::hasBackend |
( |
std::string const & | name | ) |
|
|
staticinherited |
Check if ROOT was compiled with support for a certain JSON backend library.
- Parameters
-
| [in] | name | Name of the backend. |
Definition at line 110 of file JSONInterface.cxx.
◆ incache()
◆ rootnode()
| Node & TJSONTree::rootnode |
( |
| ) |
|
|
inlineoverridevirtual |
◆ setBackend()
| void RooFit::Detail::JSONTree::setBackend |
( |
std::string const & | name | ) |
|
|
staticinherited |
Set the library that serves as the backend for the JSON interface.
Note that the "rapidyaml" backend is only supported if rapidyaml was found on the system when ROOT was compiled.
- Parameters
-
| [in] | name | Name of the backend, can be either "nlohmann-json" or "rapidyaml". |
Definition at line 141 of file JSONInterface.cxx.
◆ _nodecache
| std::list<Node> TJSONTree::_nodecache |
|
protected |
◆ root
The documentation for this class was generated from the following files: