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

Store locations, ontology IRIs, and version IRIs of OWL ontologies. More...

#include <catalog.hpp>

Inheritance diagram for owlcpp::Catalog:
owlcpp::Map_doc_crtpb< Catalog > owlcpp::Map_std_ns_crtpb< Super > owlcpp::Map_std_node_crtpb< Catalog > owlcpp::Crtpb_ns_node_iri< Catalog >

Classes

struct  Err

Public Types

typedef traits::map_doc_type map_doc_type
typedef map_doc_type::iterator iterator
typedef
map_doc_type::const_iterator 
const_iterator
- Public Types inherited from owlcpp::Map_doc_crtpb< Catalog >
typedef map_doc_type::iri_range doc_iri_range
typedef map_doc_type::version_range doc_version_range
- Public Types inherited from owlcpp::Map_std_node_crtpb< Catalog >
typedef traits::node_type node_type

Public Member Functions

std::size_t size () const
const_iterator begin () const
const_iterator end () const
map_ns_type const & map_ns () const
map_node_type const & map_node () const
map_doc_type const & map_doc () const
Node_id ontology_iri_id (const Doc_id did) const
Node_id version_iri_id (const Doc_id did) const
std::string path (const Doc_id did) const
std::string ontology_iri_str (const Doc_id) const
std::string version_iri_str (const Doc_id) const
- Public Member Functions inherited from owlcpp::Map_doc_crtpb< Catalog >
doc_type const & operator[] (const Doc_id did) const
doc_type const & at (const Doc_id did) const
doc_type const * find (const Doc_id did) const
std::pair< Doc_id, bool > insert_doc (const Node_id iri_id, std::string const &path="", const Node_id vers_id=terms::empty_::id())
 Add document info: location, ontologyIRI, and versionIRI.
std::pair< Doc_id, bool > insert_doc (std::string const &iri, std::string const &path="", std::string const &vers="")
doc_iri_range find_doc_iri (std::string const &iri) const
doc_version_range find_doc_version (std::string const &version) const
- Public Member Functions inherited from owlcpp::Map_std_ns_crtpb< Super >
Ns_iri const & operator[] (const Ns_id nsid) const
Ns_iri const & at (const Ns_id nsid) const
Ns_iri const * find (const Ns_id nsid) const
std::string prefix (const Ns_id nsid) const
Ns_id const * find (Ns_iri const &iri) const
Ns_id const * find_prefix (std::string const &pref) const
Ns_id insert (Ns_iri const &iri)
void insert_prefix (const Ns_id nsid, std::string const &pref)
- Public Member Functions inherited from owlcpp::Map_std_node_crtpb< Catalog >
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
- Public Member Functions inherited from owlcpp::Crtpb_ns_node_iri< Catalog >
Node_id insert_node_iri (std::string const &iri)
 if not already present, store IRI reference node
Node_id const * find_node_iri (std::string const &iri) const

Friends

class Map_std_ns_crtpb< Catalog >
class Map_std_node_crtpb< Catalog >
class Map_doc_crtpb< Catalog >

Detailed Description

Store locations, ontology IRIs, and version IRIs of OWL ontologies.

Locations should be unique; ontology IRIs may be repeated; non-empty verions IRIs should be unique.

Examples:
find_ontologies.cpp, print_classes.cpp, print_triples.cpp, satisfiable.cpp, and validate.cpp.

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