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 ) // X needs to have dll-interface to be used by clients of class Z 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 ) 86 #endif // CPPUNIT_TOOLS_XMLDOCUMENT_H
A XML Element.
Definition: XmlElement.h:33
bool m_standalone
Definition: XmlDocument.h:75
A XML Document.
Definition: XmlDocument.h:27
XmlElement * m_rootElement
Definition: XmlDocument.h:74
#define CPPUNIT_NS_END
Definition: Portability.h:106
#define CPPUNIT_NS_BEGIN
Definition: Portability.h:105
std::enable_if<!std::is_enum< T >::value, std::string >::type toString(const T &x)
Definition: StringHelper.h:22
std::string m_styleSheet
Definition: XmlDocument.h:73
std::string m_encoding
Definition: XmlDocument.h:72
#define CPPUNIT_API
Definition: CppUnitApi.h:27