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);
75 IOFORMAT_API std::shared_ptr<iolink::ImageView>
readImage(
const std::string& pathFile);
85 IOFORMAT_API std::shared_ptr<iolink::View>
openView(std::shared_ptr<iolink::DataAccess> storage,
86 const std::string& format);
96 IOFORMAT_API std::shared_ptr<iolink::Writer>
openWriter(std::shared_ptr<iolink::View> view,
97 const std::string& pathFile);
108 IOFORMAT_API std::shared_ptr<iolink::Writer>
openWriter(std::shared_ptr<iolink::View> view,
109 std::shared_ptr<iolink::DataAccess> dst,
110 const std::string& format);
122 IOFORMAT_API std::shared_ptr<iolink::Writer>
openWriter(std::shared_ptr<iolink::View> view,
123 std::shared_ptr<iolink::DataAccess> dst,
124 const std::string& format,
125 const std::string& plugin);
135 IOFORMAT_API
void writeView(std::shared_ptr<iolink::View> view,
const std::string& pathFile);
146 IOFORMAT_API
void writeView(std::shared_ptr<iolink::View> view,
147 std::shared_ptr<iolink::DataAccess> dst,
148 const std::string& format);