MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / XmlEncode

Method XmlEncode

unittests/catch.hpp:11007–11010  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11005} // anonymous namespace
11006
11007 XmlEncode::XmlEncode( std::string const& str, ForWhat forWhat )
11008 : m_str( str ),
11009 m_forWhat( forWhat )
11010 {}
11011
11012 void XmlEncode::encodeTo( std::ostream& os ) const {
11013 // Apostrophe escaping not necessary if we always use " to write attributes

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected