owlcpp
v0.3.3~
C++ library for working with OWL ontologies
|
Store RDF IRI nodes. More...
#include <map_node_iri.hpp>
Classes | |
struct | Err |
Public Types | |
typedef Node_iri | node_type |
typedef Node_id | id_type |
typedef Iterator_member_pair < map_t::const_iterator, Node_id const, 2 > | iterator |
typedef iterator | const_iterator |
Public Member Functions | |
Map_node_iri (const Node_id id0=detail::min_node_id()) | |
std::size_t | size () const |
const_iterator | begin () const |
const_iterator | end () const |
bool | empty () const |
Node_iri const & | operator[] (const Node_id id) const |
Node_iri const & | at (const Node_id id) const |
Node_iri const * | find (const Node_id id) const |
Node_id const * | find (Node_iri const &node) const |
Node_id const * | find_iri (const Ns_id ns, std::string const &val) const |
Node_id | insert_iri (const Ns_id ns, std::string const &val) |
Node_id | insert (Node_iri const &node) |
void | remove (const Node_id id) |
void | clear () |
Store RDF IRI nodes.
Validity of node IDs is assumed and asserted in debug mode. Calling node map methods with invalid node IDs results in undefined behavior.