Go to the documentation of this file.Go to the SVN repository for this file.
35 #ifndef _xmlwrapp_ns_hpp_
36 #define _xmlwrapp_ns_hpp_
81 ns (
const char* prefix,
const char* uri);
118 const char*
get_uri (
void)
const;
174 ns (
const ns& other) =
default;
191 ns (
void* rawLibXML2Namespace);
The xml::attributes class is used to access all the attributes of one xml::node.
The xml::node class is used to hold information about one XML node.
The xml::ns class is used to access and handle namespaces of nodes and attributes.
void make_safe(void)
Convert the namespace object to a safe one (i.e.
ns_safety_type
Namespace object "safety".
ns(void)
Use more explicit "ns(enum ns_type)" ctor to create "void" namespace.
const char * get_prefix(void) const
Get the namespace prefix.
ns & operator=(ns &&other)
Moving assignment.
const char * get_uri(void) const
Get the namespace URI.
bool is_safe(void) const
Check if the object is safe i.e.
bool operator==(const ns &other) const
Compare with another namespace.
enum ns_safety_type safety_
bool operator!=(const ns &other) const
Compare with another namespace.
bool is_void(void) const
If a node or an attribute has no namespace, then a namespace with empty prefix and empty URI is retur...
ns(const ns &other)=default
std::vector< xml::ns > ns_list_type
type for holding XML namespaces