owlcpp  v0.3.3~
C++ library for working with OWL ontologies
 All Classes Namespaces Files Functions Macros Pages
input.hpp
Go to the documentation of this file.
1 
6 #ifndef INPUT_HPP_
7 #define INPUT_HPP_
8 #include <iosfwd>
9 #include <string>
10 
11 #include "boost/filesystem/path.hpp"
12 
13 #include "owlcpp/io/config.hpp"
14 #include "owlcpp/io/exception.hpp"
16 
17 namespace owlcpp{
18 class OWLCPP_IO_DECL Triple_store;
19 class OWLCPP_IO_DECL Catalog;
20 
31 OWLCPP_IO_DECL
32 void load(
33  std::istream& stream,
34  Triple_store& store,
35  std::string const& path = "",
36  Check_id const& check = Check_id()
37 );
38 
50 OWLCPP_IO_DECL
51 void load(
52  std::istream& stream,
53  Triple_store& store,
54  Catalog const& cat,
55  std::string const& path = "",
56  Check_id const& check = Check_id()
57 );
58 
68 OWLCPP_IO_DECL
69 void load_file(
70  boost::filesystem::path const& file,
71  Triple_store& store,
72  Check_id const& check = Check_id()
73 );
74 
85 OWLCPP_IO_DECL
86 void load_file(
87  boost::filesystem::path const& file,
88  Triple_store& store,
89  Catalog const& cat,
90  Check_id const& check = Check_id()
91 );
92 
105 OWLCPP_IO_DECL
106 void load_iri(std::string const& iri, Triple_store& store, Catalog const& cat);
107 
108 
109 }//namespace owlcpp
110 #endif /* INPUT_HPP_ */