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

Classes

struct  Err
struct  Pref_wrap

Public Member Functions

std::string prefix (const Ns_id id) const
Ns_id const * find (std::string const &pref) const
void set (const Ns_id id, std::string const &pref="")
 set or clear a prefix for namespace IRI
void erase (const Ns_id id)
void clear ()

Member Function Documentation

void owlcpp::Map_ns_prefix::set ( const Ns_id  id,
std::string const &  pref = "" 
)
inline

set or clear a prefix for namespace IRI

Parameters
idnamespace IRI ID
prefprefix string for namespace IRI; if pref is empty, the existing prefix is cleared from the IRI; if id is invalid, behavior is undefined

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