owlcpp
v0.3.3~
C++ library for working with OWL ontologies
|
Map for namespace IRIs. More...
#include <map_ns.hpp>
Classes | |
struct | Err |
Public Types | |
typedef Ns_id | id_type |
typedef Iterator_member_pair < map_t::const_iterator, id_type const, 2 > | iterator |
typedef iterator | const_iterator |
Public Member Functions | |
Map_ns (const Ns_id id0=detail::min_ns_id()) | |
std::size_t | size () const |
const_iterator | begin () const |
const_iterator | end () const |
bool | empty () const |
Ns_iri const & | operator[] (const Ns_id id) const |
Ns_iri const & | at (const Ns_id id) const |
Ns_iri const * | find (const Ns_id id) const |
std::string | prefix (const Ns_id id) const |
Ns_id const * | find_prefix (std::string const &pref) const |
Ns_id const * | find (Ns_iri const &iri) const |
Ns_id const * | find (std::string const &iri) const |
Ns_id | insert (Ns_iri const &iri) |
Ns_id | insert (std::string const &iri) |
void | set_prefix (const Ns_id id, std::string const &pref="") |
void | remove (const Ns_id id) |
void | clear () |
Map for namespace IRIs.
iri | namespace IRI string |