diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2018-05-09 16:34:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-05-11 15:33:13 (GMT) |
commit | ff13b0cdc2ac2db7f140aefb46feb6a31e4d6c96 (patch) | |
tree | 377b4b9078455c51a61534fae89bc5a1da2e1f68 /Source/CTest/cmCTestLaunch.h | |
parent | d44441a365e4d4e4188ed2fa6b1f9ccda0568846 (diff) | |
download | CMake-ff13b0cdc2ac2db7f140aefb46feb6a31e4d6c96.zip CMake-ff13b0cdc2ac2db7f140aefb46feb6a31e4d6c96.tar.gz CMake-ff13b0cdc2ac2db7f140aefb46feb6a31e4d6c96.tar.bz2 |
cmCTestLaunch: use cmXMLElement for XML generation
class `cmXMLElement` enhanced with more members; its use demonstrated
Diffstat (limited to 'Source/CTest/cmCTestLaunch.h')
-rw-r--r-- | Source/CTest/cmCTestLaunch.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/CTest/cmCTestLaunch.h b/Source/CTest/cmCTestLaunch.h index 29986ff..debbe59 100644 --- a/Source/CTest/cmCTestLaunch.h +++ b/Source/CTest/cmCTestLaunch.h @@ -10,7 +10,7 @@ #include <string> #include <vector> -class cmXMLWriter; +class cmXMLElement; /** \class cmCTestLaunch * \brief Launcher for make rules to report results for ctest @@ -89,11 +89,11 @@ private: // Methods to generate the xml fragment. void WriteXML(); - void WriteXMLAction(cmXMLWriter& xml); - void WriteXMLCommand(cmXMLWriter& xml); - void WriteXMLResult(cmXMLWriter& xml); - void WriteXMLLabels(cmXMLWriter& xml); - void DumpFileToXML(cmXMLWriter& xml, std::string const& fname); + void WriteXMLAction(cmXMLElement&); + void WriteXMLCommand(cmXMLElement&); + void WriteXMLResult(cmXMLElement&); + void WriteXMLLabels(cmXMLElement&); + void DumpFileToXML(cmXMLElement&, const char* tag, std::string const& fname); // Configuration void LoadConfig(); |