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

#include <map_std_node_crtpb.hpp>

Public Types

typedef traits::node_type node_type

Public Member Functions

bool is_standard (const Node_id nid) const
node_type const & operator[] (const Node_id id) const
node_type const & at (const Node_id id) const
node_type const * find (const Node_id id) const
Node_id insert_node_iri (const Ns_id nsid, std::string const &name)
 Insert IRI node.
Node_id const * find_node_iri (const Ns_id nsid, std::string const &name) const

Detailed Description

template<class Super>
class owlcpp::Map_std_node_crtpb< Super >

Enable interaction between a mutable maps of namespaces and nodes and immutable map of standard IRI nodes. Base for CRTP (Curiously Recurring Template Pattern).

Member Function Documentation

template<class Super>
node_type const& owlcpp::Map_std_node_crtpb< Super >::at ( const Node_id  id) const
inline
Parameters
idnode ID
Returns
node object with specified ID
Exceptions
Rdf_errif id does not exist
template<class Super>
node_type const* owlcpp::Map_std_node_crtpb< Super >::find ( const Node_id  id) const
inline
Parameters
idnode ID
Returns
pointer to node object with specified ID or NULL if ID is invalid
template<class Super>
Node_id owlcpp::Map_std_node_crtpb< Super >::insert_node_iri ( const Ns_id  nsid,
std::string const &  name 
)
inline

Insert IRI node.

Parameters
nsidnamespace IRI id
namefragment name
Returns
node ID

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