11 #include <ioformat/IOFormatAPI.h>
12 #include <iolink/Uri.h>
13 #include <iolink/storage/DataAccess.h>
14 #include <iolink/view/ImageView.h>
15 #include <iolink/view/View.h>
16 #include <iolink/writer/Writer.h>
33 IOFORMAT_API
bool init();
41 IOFORMAT_API std::shared_ptr<iolink::View>
openView(
const std::string& pathFile);
51 IOFORMAT_API std::shared_ptr<iolink::View>
openView(
const std::string& path,
const std::string& format);
57 IOFORMAT_API std::shared_ptr<iolink::View>
openView(
const iolink::Uri& uri);
63 IOFORMAT_API std::shared_ptr<iolink::View>
openView(
const iolink::Uri& uri,
const std::string& format);
76 IOFORMAT_API std::shared_ptr<iolink::ImageView>
readImage(
const std::string& pathFile);
86 IOFORMAT_API std::shared_ptr<iolink::View>
openView(std::shared_ptr<iolink::DataAccess> storage,
87 const std::string& format);
97 IOFORMAT_API std::shared_ptr<iolink::Writer>
openWriter(std::shared_ptr<iolink::View> view,
98 const std::string& pathFile);
109 IOFORMAT_API std::shared_ptr<iolink::Writer>
openWriter(std::shared_ptr<iolink::View> view,
110 std::shared_ptr<iolink::DataAccess> dst,
111 const std::string& format);
123 IOFORMAT_API std::shared_ptr<iolink::Writer>
openWriter(std::shared_ptr<iolink::View> view,
124 std::shared_ptr<iolink::DataAccess> dst,
125 const std::string& format,
126 const std::string& plugin);
136 IOFORMAT_API
void writeView(std::shared_ptr<iolink::View> view,
const std::string& pathFile);
147 IOFORMAT_API
void writeView(std::shared_ptr<iolink::View> view,
148 std::shared_ptr<iolink::DataAccess> dst,
149 const std::string& format);