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

#include <map_node_crtpb.hpp>

Public Member Functions

node_type const & operator[] (const Node_id id) const
node_type const & at (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_node_crtpb< Super >

Expose IRI node map interface. Base for CRTP (Curiously Recurring Template Pattern).

Member Function Documentation

template<class Super >
node_type const& owlcpp::Map_node_crtpb< Super >::at ( const Node_id  id) const
inline
Parameters
idnode ID
Returns
immutable reference to node object with specified ID
Exceptions
Rdf_errif id does not exist
template<class Super >
Node_id owlcpp::Map_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: