// file : xsd/cxx/xml/dom/serialization-header.hxx // author : Boris Kolpackov // copyright : Copyright (c) 2005-2008 Code Synthesis Tools CC // license : GNU GPL v2 + exceptions; see accompanying LICENSE file #ifndef XSD_CXX_XML_DOM_SERIALIZATION_HEADER_HXX #define XSD_CXX_XML_DOM_SERIALIZATION_HEADER_HXX #include #include #include namespace xsd { namespace cxx { namespace xml { namespace dom { // // class no_prefix {}; template std::basic_string prefix (const C* ns, const xercesc::DOMElement&); template inline std::basic_string prefix (const std::basic_string& ns, const xercesc::DOMElement& e) { return prefix (ns.c_str (), e); } // // template void clear (xercesc::DOMElement&); // // template struct namespace_info { typedef std::basic_string string; namespace_info () { } namespace_info (const string& name_, const string& schema_) : name (name_), schema (schema_) { } std::basic_string name; std::basic_string schema; }; // Map of namespace prefix to namespace_info. // template struct namespace_infomap: public std::map, namespace_info > { }; } } } } #include #endif // XSD_CXX_XML_DOM_SERIALIZATION_HEADER_HXX