![]() |
PhoenixInkscape
2.0.0
Generate multiple png files with svg inkscape files
|
Go to the source code of this file.
Functions | |
bool | checkParseXmlFile (const PPath &fileName, const PString &inputXml, const PString &referenceOutputXml, bool isSvg) |
Check the xml parsing of a file. More... | |
void | checkXmlAttr () |
Check the xml attribute. More... | |
bool | checkXmlString (const PString &inputXml, const PString &referenceOutputXml, bool isSvg) |
Check the xml parsing. More... | |
int | main (int argc, char **argv) |
void | testCreateXml () |
Test to create the XML. More... | |
bool checkParseXmlFile | ( | const PPath & | fileName, |
const PString & | inputXml, | ||
const PString & | referenceOutputXml, | ||
bool | isSvg | ||
) |
Check the xml parsing of a file.
fileName | : file to be used |
inputXml | : input xml string |
referenceOutputXml | : reference output |
isSvg | : true if the given xml is supposed to be svg |
Definition at line 19 of file main.cpp.
References phoenix_check(), pxml_baliseStr(), pxml_parserFile(), and PPath::saveFileContent().
Referenced by main().
void checkXmlAttr | ( | ) |
Check the xml attribute.
Definition at line 31 of file main.cpp.
References PXml::getIsText(), PXmlAttr::getName(), PXmlAttr::getValue(), phoenix_assert, PXmlAttr::setName(), PXml::setVecAttr(), and PXml::setVecChild().
Referenced by main().
Check the xml parsing.
inputXml | : input xml string |
referenceOutputXml | : reference output |
isSvg | : true if the given xml is supposed to be svg |
Definition at line 61 of file main.cpp.
References PXml::getName(), phoenix_check(), pxml_baliseStr(), pxml_getChildIfExist(), and pxml_parserContent().
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 105 of file main.cpp.
References checkParseXmlFile(), checkXmlAttr(), checkXmlString(), phoenix_assert, and testCreateXml().
void testCreateXml | ( | ) |
Test to create the XML.
Definition at line 79 of file main.cpp.
References PXml::getVecChild(), phoenix_assert, pxml_eraseVecChild(), pxml_saveFile(), pxml_setAttr(), and PXml::setName().
Referenced by main().