BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
IndentedConfigParser.h
Go to the documentation of this file.
1
#ifndef INDENTEDCONFIGPARSER_H
2
#define INDENTEDCONFIGPARSER_H
3
4
#include <sstream>
5
#include <string>
6
#include <vector>
7
8
using
std::istringstream;
9
using
std::string;
10
using
std::vector;
11
12
namespace
IndentedConfigParser
13
{
14
15
struct
Node
16
{
17
vector<Node>
children
;
18
string
value
;
19
};
20
21
void
PrintConfig
(
const
Node
&
n
,
int
indent = 0);
22
23
void
ParseIStringStream
(std::istringstream& iss,
Node
& root);
24
25
void
ParseString
(
string
& str,
Node
& root);
26
27
}
// namespace IndentedConfigParser
28
29
#endif
// INDENTEDCONFIGPARSER_H
n
*brief user defined string literal for JSON values *sa std::size_t n
Definition
json.hpp:20362
IndentedConfigParser
Definition
IndentedConfigParser.cxx:9
IndentedConfigParser::PrintConfig
void PrintConfig(const Node &n, int indent)
Definition
IndentedConfigParser.cxx:11
IndentedConfigParser::ParseIStringStream
void ParseIStringStream(istringstream &iss, Node &root)
Definition
IndentedConfigParser.cxx:18
IndentedConfigParser::ParseString
void ParseString(string &str, Node &root)
Definition
IndentedConfigParser.cxx:44
IndentedConfigParser::Node
Definition
IndentedConfigParser.h:16
IndentedConfigParser::Node::value
string value
Definition
IndentedConfigParser.h:18
IndentedConfigParser::Node::children
vector< Node > children
Definition
IndentedConfigParser.h:17
decoder
IndentedConfigParser.h
Generated on
for BmnRoot by
1.17.0