8 #ifndef __ORCUS_XML_NAMESPACE_MANAGER_HPP__ 9 #define __ORCUS_XML_NAMESPACE_MANAGER_HPP__ 19 struct xmlns_repository_impl;
20 struct xmlns_context_impl;
29 xmlns_id_t intern(
const pstring& uri);
34 size_t get_index(xmlns_id_t ns_id)
const;
38 ORCUS_PSR_DLLPUBLIC ~xmlns_repository();
65 ORCUS_PSR_DLLPUBLIC std::string get_short_name(xmlns_id_t ns_id)
const;
66 ORCUS_PSR_DLLPUBLIC std::string get_short_name(
size_t index)
const;
69 xmlns_repository_impl* mp_impl;
87 xmlns_context(
const xmlns_context& r);
92 xmlns_id_t
get(
const pstring& key)
const;
93 size_t get_index(xmlns_id_t ns_id)
const;
94 std::string get_short_name(xmlns_id_t ns_id)
const;
105 pstring get_alias(xmlns_id_t ns_id)
const;
107 void get_all_namespaces(std::vector<xmlns_id_t>& nslist)
const;
109 void dump(std::ostream& os)
const;
112 xmlns_context_impl* mp_impl;
Definition: pstring.hpp:24
ORCUS_PSR_DLLPUBLIC xmlns_id_t get_identifier(size_t index) const
Definition: xml_namespace.hpp:80
ORCUS_PSR_DLLPUBLIC void add_predefined_values(const xmlns_id_t *predefined_ns)
Definition: xml_namespace.hpp:26
Definition: base64.hpp:15