A position in the JSON tree.
Keeps track of how it got there, in order to create the paths in error messages only when they are needed.
Definition at line 32 of file HS3Schema.h.
Public Member Functions | |
| Cursor (Detail::JSONNode const &node, Cursor const &parent, const char *key) | |
| Cursor (Detail::JSONNode const &node, Cursor const &parent, std::size_t index) | |
| Cursor (Detail::JSONNode const &node, Diagnostics &diagnostics) | |
| void | error (std::string const &message) const |
| Detail::JSONNode const & | node () const |
| std::size_t | numErrors () const |
| std::string | path () const |
| void | warning (std::string const &message) const |
Private Attributes | |
| Diagnostics & | _diagnostics |
| std::size_t | _index = 0 |
| const char * | _key = nullptr |
| Detail::JSONNode const & | _node |
| Cursor const * | _parent = nullptr |
#include </github/home/ROOT-CI/src/roofit/hs3/src/HS3Schema.h>
|
inline |
Definition at line 34 of file HS3Schema.h.
|
inline |
Definition at line 35 of file HS3Schema.h.
|
inline |
Definition at line 39 of file HS3Schema.h.
| void RooFit::HS3::Cursor::error | ( | std::string const & | message | ) | const |
Definition at line 120 of file HS3Parser.cxx.
|
inline |
Definition at line 44 of file HS3Schema.h.
| std::size_t RooFit::HS3::Cursor::numErrors | ( | ) | const |
Definition at line 130 of file HS3Parser.cxx.
| std::string RooFit::HS3::Cursor::path | ( | ) | const |
Definition at line 100 of file HS3Parser.cxx.
| void RooFit::HS3::Cursor::warning | ( | std::string const & | message | ) | const |
Definition at line 125 of file HS3Parser.cxx.
|
private |
Definition at line 52 of file HS3Schema.h.
|
private |
Definition at line 55 of file HS3Schema.h.
|
private |
Definition at line 54 of file HS3Schema.h.
|
private |
Definition at line 51 of file HS3Schema.h.
|
private |
Definition at line 53 of file HS3Schema.h.