PhoenixToml  1.2.0
Toml parser for Phoenix
Loading...
Searching...
No Matches
parser_toml.h
Go to the documentation of this file.
1/***************************************
2 Auteur : Pierre Aubert
3 Mail : pierre.aubert@lapp.in2p3.fr
4 Licence : CeCILL-C
5****************************************/
6
7#ifndef __PARSER_TOML_H__
8#define __PARSER_TOML_H__
9
10#include "phoenix_get_string.h"
11
12bool parser_toml(DicoValue & dico, const PPath & fileName);
13
14#include "ConfigNode.h"
15
16bool parser_toml(ConfigNode & node, const PPath & fileName);
17bool parser_tomlString(ConfigNode & node, const PString & fileContent);
18
19#endif
bool parser_toml(DicoValue &dico, const PPath &fileName)
Parse a toml file and update the given DicoValue.
bool parser_tomlString(ConfigNode &node, const PString &fileContent)
Parse a toml string.