![]() |
PhoenixGenerator
2.0.0
Set of tools to generate code
|
Go to the source code of this file.
Functions | |
bool | parserClassConfig (std::vector< PClassConfig > &listClassConfig, PVecPath &listInclude, const PPath &fileName) |
Parser list class config. More... | |
bool | saveParserClassConfig (const PPath &baseFileNameOutput, const PPath &fileName, bool enableDataStream, bool enableTypeStream, bool enableUnitTest, const PPath &testParentDir=PPath("./"), const PString &libName=PString("")) |
Parser list class config. More... | |
bool parserClassConfig | ( | std::vector< PClassConfig > & | listClassConfig, |
PVecPath & | listInclude, | ||
const PPath & | fileName | ||
) |
Parser list class config.
[out] | listClassConfig | : list of class config |
listInclude | : list of include | |
fileName | : file name of the config |
Definition at line 215 of file parserClassConfig.cpp.
References PString::eraseChar(), errorUnexpectedToken(), PFileParser::getNextToken(), PFileParser::getUntilKeyWithoutPatern(), PFileParser::isEndOfFile(), PFileParser::isMatch(), PFileParser::open(), parseEnumConfig(), parsePClassConfig(), PFileParser::setSeparator(), PFileParser::setWhiteSpace(), PFileParser::skipWhiteSpace(), updateCurrentComment(), and updateCurrentTemplate().
Referenced by project_wrapper_generator(), and saveParserClassConfig().
bool saveParserClassConfig | ( | const PPath & | baseFileNameOutput, |
const PPath & | fileName, | ||
bool | enableDataStream, | ||
bool | enableTypeStream, | ||
bool | enableUnitTest, | ||
const PPath & | testParentDir, | ||
const PString & | libName | ||
) |
Parser list class config.
baseFileNameOutput | : base of the output files |
fileName | : file name of the config |
enableDataStream | : true to enable the serialization/deserialization with data |
enableTypeStream | : true to test phoenix_getTypeName function |
enableUnitTest | : true to enable unit tests |
testParentDir | : parent directory of tests |
libName | : name of the generated library to link with |
Definition at line 253 of file parserClassConfig.cpp.
References PPath::getFileName(), parserClassConfig(), saveClassImplDecl(), and saveClassTest().
Referenced by project_generator().