1 #ifndef CPPUNIT_TOOLS_XMLDOCUMENT_H
2 #define CPPUNIT_TOOLS_XMLDOCUMENT_H
6 #if CPPUNIT_NEED_DLL_DECL
7 #pragma warning( push )
8 #pragma warning( disable: 4251 )
36 const std::string &styleSheet =
"" );
41 std::string encoding()
const;
42 void setEncoding(
const std::string &encoding =
"" );
44 std::string styleSheet()
const;
45 void setStyleSheet(
const std::string &styleSheet =
"" );
47 bool standalone()
const;
57 void setStandalone(
bool standalone );
59 void setRootElement(
XmlElement *rootElement );
79 #if CPPUNIT_NEED_DLL_DECL
80 #pragma warning( pop )
#define CPPUNIT_API
Definition: CppUnitApi.h:27
#define CPPUNIT_NS_END
Definition: Portability.h:106
#define CPPUNIT_NS_BEGIN
Definition: Portability.h:105
A XML Document.
Definition: XmlDocument.h:28
bool m_standalone
Definition: XmlDocument.h:75
std::string m_encoding
Definition: XmlDocument.h:72
XmlDocument(const XmlDocument ©)
Prevents the use of the copy constructor.
XmlElement * m_rootElement
Definition: XmlDocument.h:74
std::string m_styleSheet
Definition: XmlDocument.h:73
A XML Element.
Definition: XmlElement.h:34
std::enable_if<!std::is_enum< T >::value, std::string >::type toString(const T &x)
Definition: StringHelper.h:22