![]() |
PhoenixGenerator
2.0.0
Set of tools to generate code
|
Go to the source code of this file.
Functions | |
bool | checkIsParserOk (const PPath &fileName, const PString &fileContent) |
Check if the parsing of a file is OK. More... | |
bool | checkKeyMapValue (const DicoValue *mapKey, const PString &expectedValue) |
Check the value of a DicoValue. More... | |
bool | checkKeyMapVecValue (const DicoValue *mapKey, const PVecString &vecExpectedValue) |
Check the value of a DicoValue. More... | |
void | checkParserToml () |
Check the YML parser. More... | |
void | checkParserTomlFail () |
Check the YML parser. More... | |
void | checkTomlCompactDico () |
Check the compact dico. More... | |
void | checkTomlCompactDico2 () |
Check the compact dico. More... | |
void | checkTomlEmptyList () |
Check the embeded dico. More... | |
void | checkTomlList () |
Check the embeded dico. More... | |
void | checkTomNestedlList () |
Check the embeded dico. More... | |
void | checkTomNestedlMap () |
Check the embeded dico. More... | |
void | checkTomTable () |
Check the embeded dico. More... | |
int | main (int argc, char **argv) |
void | testCheckValue () |
Call the check value with NULL pointers. More... | |
Check if the parsing of a file is OK.
fileName | : name of the file to be created |
fileContent | : content of the file |
Definition at line 289 of file main.cpp.
References parser_toml(), and PPath::saveFileContent().
Referenced by checkParserTomlFail().
Check the value of a DicoValue.
mapKey | : DicoValue to be checked |
expectedValue | : expected value |
Definition at line 16 of file main.cpp.
References DicoValue::getValue().
Referenced by checkParserToml(), checkTomlCompactDico(), checkTomlCompactDico2(), checkTomlList(), checkTomNestedlMap(), checkTomTable(), and testCheckValue().
bool checkKeyMapVecValue | ( | const DicoValue * | mapKey, |
const PVecString & | vecExpectedValue | ||
) |
Check the value of a DicoValue.
mapKey | : DicoValue to be checked |
expectedValue | : expected value |
Definition at line 32 of file main.cpp.
References DicoValue::getVecChild().
Referenced by checkTomlList(), and testCheckValue().
void checkParserToml | ( | ) |
Check the YML parser.
Definition at line 64 of file main.cpp.
References checkKeyMapValue(), DicoValue::getMap(), parser_toml(), phoenix_assert, phoenix_get_string(), and PPath::saveFileContent().
Referenced by main().
void checkParserTomlFail | ( | ) |
Check the YML parser.
Definition at line 298 of file main.cpp.
References checkIsParserOk(), parser_toml(), and phoenix_assert.
Referenced by main().
void checkTomlCompactDico | ( | ) |
Check the compact dico.
Definition at line 243 of file main.cpp.
References checkKeyMapValue(), DicoValue::getMap(), parser_toml(), phoenix_assert, and PPath::saveFileContent().
Referenced by main().
void checkTomlCompactDico2 | ( | ) |
Check the compact dico.
Definition at line 264 of file main.cpp.
References checkKeyMapValue(), DicoValue::getMap(), parser_toml(), phoenix_assert, and PPath::saveFileContent().
Referenced by main().
void checkTomlEmptyList | ( | ) |
Check the embeded dico.
Definition at line 141 of file main.cpp.
References DicoValue::getMap(), DicoValue::getVecChild(), parser_toml(), phoenix_assert, and PPath::saveFileContent().
Referenced by main().
void checkTomlList | ( | ) |
Check the embeded dico.
Definition at line 93 of file main.cpp.
References checkKeyMapValue(), checkKeyMapVecValue(), DicoValue::getMap(), parser_toml(), phoenix_assert, and PPath::saveFileContent().
Referenced by main().
void checkTomNestedlList | ( | ) |
Check the embeded dico.
Definition at line 164 of file main.cpp.
References DicoValue::getMap(), DicoValue::getVecChild(), parser_toml(), phoenix_assert, and PPath::saveFileContent().
Referenced by main().
void checkTomNestedlMap | ( | ) |
Check the embeded dico.
Definition at line 196 of file main.cpp.
References checkKeyMapValue(), DicoValue::getMap(), parser_toml(), phoenix_assert, and PPath::saveFileContent().
Referenced by main().
void checkTomTable | ( | ) |
Check the embeded dico.
Definition at line 216 of file main.cpp.
References checkKeyMapValue(), DicoValue::getMap(), DicoValue::getVecChild(), parser_toml(), phoenix_assert, and PPath::saveFileContent().
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 312 of file main.cpp.
References checkParserToml(), checkParserTomlFail(), checkTomlCompactDico(), checkTomlCompactDico2(), checkTomlEmptyList(), checkTomlList(), checkTomNestedlList(), checkTomNestedlMap(), checkTomTable(), and testCheckValue().
void testCheckValue | ( | ) |
Call the check value with NULL pointers.
Definition at line 57 of file main.cpp.
References checkKeyMapValue(), and checkKeyMapVecValue().
Referenced by main().