owlcpp  v0.3.3~
C++ library for working with OWL ontologies
 All Classes Namespaces Files Functions Macros Pages
Classes | Public Types | Public Member Functions | List of all members
owlcpp::Map_ns Class Reference

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 ()

Detailed Description

Map for namespace IRIs.

Member Function Documentation

Ns_id const* owlcpp::Map_ns::find ( Ns_iri const &  iri) const
inline
Parameters
irinamespace IRI string
Returns
pointer to namespace IRI ID or NULL if iri is unknown

The documentation for this class was generated from the following file: