BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
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
8using std::istringstream;
9using std::string;
10using std::vector;
11
13{
14
15struct Node
16{
17 vector<Node> children;
18 string value;
19};
20
21void PrintConfig(const Node& n, int indent = 0);
22
23void ParseIStringStream(std::istringstream& iss, Node& root);
24
25void ParseString(string& str, Node& root);
26
27} // namespace IndentedConfigParser
28
29#endif // INDENTEDCONFIGPARSER_H
*brief user defined string literal for JSON values *sa std::size_t n
Definition json.hpp:20362
void PrintConfig(const Node &n, int indent)
void ParseIStringStream(istringstream &iss, Node &root)
void ParseString(string &str, Node &root)