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/cmXMLWriter.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/cmXMLWriter.h')
-rw-r--r-- | Source/cmXMLWriter.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmXMLWriter.h b/Source/cmXMLWriter.h index ff0df18..d124907 100644 --- a/Source/cmXMLWriter.h +++ b/Source/cmXMLWriter.h @@ -181,6 +181,12 @@ public: { xmlwr.Content(content); } + template <typename T> + void Element(std::string const& name, T const& value) + { + xmlwr.Element(name, value); + } + void Comment(const char* comment) { xmlwr.Comment(comment); } private: cmXMLWriter& xmlwr; |