12345678910111213141516171819202122232425262728293031323334353637 |
- #ifndef cmXMLSafe_h
- #define cmXMLSafe_h
- #include "cmConfigure.h"
- #include <iosfwd>
- #include <string>
- class cmXMLSafe
- {
- public:
-
- cmXMLSafe(const char* s);
- cmXMLSafe(std::string const& s);
-
- cmXMLSafe& Quotes(bool b = true);
-
- std::string str();
- private:
- char const* Data;
- unsigned long Size;
- bool DoQuotes;
- friend std::ostream& operator<<(std::ostream&, cmXMLSafe const&);
- };
- #endif
|