11#include <iolink/Uri.h>
12#include <iolink/storage/RandomAccess.h>
13#include <iolink/storage/StreamAccess.h>
14#include <iolink/view/ImageView.h>
15#include <iolink/view/View.h>
16#include <iolink/writer/Writer.h>
18#include <ioformat/GeneralOptions.h>
19#include <ioformat/IOFormatAPI.h>
44IOFORMAT_API std::shared_ptr<iolink::View>
openView(
const std::string& pathFile);
54IOFORMAT_API std::shared_ptr<iolink::View>
openView(
const std::string& path,
const std::string& format);
65 "Deprecated. Use openViewFromUri(const std::string & uri) instead.")]] IOFORMAT_API std::shared_ptr<iolink::View>
94 "Deprecated. Use openViewFromUri(const std::string & uri, const std::string& format) instead.")]] IOFORMAT_API
95 std::shared_ptr<iolink::View>
96 openView(
const iolink::Uri& uri,
const std::string& format);
114 const std::string& format,
142IOFORMAT_API std::shared_ptr<iolink::View>
openView(std::shared_ptr<iolink::DataAccess> storage,
143 const std::string& format);
153IOFORMAT_API std::shared_ptr<iolink::Writer>
openWriter(std::shared_ptr<iolink::View> view,
154 const std::string& pathFile);
165IOFORMAT_API std::shared_ptr<iolink::Writer>
openWriter(std::shared_ptr<iolink::View> view,
166 std::shared_ptr<iolink::DataAccess> dst,
167 const std::string& format);
179IOFORMAT_API std::shared_ptr<iolink::Writer>
openWriter(std::shared_ptr<iolink::View> view,
180 std::shared_ptr<iolink::DataAccess> dst,
181 const std::string& format,
182 const std::string& plugin);
192IOFORMAT_API
void writeView(std::shared_ptr<iolink::View> view,
const std::string& pathFile);
203IOFORMAT_API
void writeView(std::shared_ptr<iolink::View> view,
204 std::shared_ptr<iolink::DataAccess> dst,
205 const std::string& format);
232IOFORMAT_API std::shared_ptr<iolink::View>
openView(
const std::string& src,
233 const std::string& format,
259IOFORMAT_API std::shared_ptr<iolink::View>
openView(std::shared_ptr<iolink::StreamAccess> src,
260 const std::string& format,
273IOFORMAT_API std::shared_ptr<iolink::View>
openView(std::shared_ptr<iolink::RandomAccess> src,
274 const std::string& format,
304IOFORMAT_API std::shared_ptr<iolink::ImageView>
readImage(
const std::string& pathFile);
321IOFORMAT_API std::shared_ptr<iolink::Writer>
openWriter(std::shared_ptr<iolink::View> src,
322 const std::string& dst,
323 const std::string& format,
338IOFORMAT_API std::shared_ptr<iolink::Writer>
openWriter(std::shared_ptr<iolink::View> src,
339 const std::string& dst,
353IOFORMAT_API std::shared_ptr<iolink::Writer>
openWriter(std::shared_ptr<iolink::View> src,
354 std::shared_ptr<iolink::StreamAccess> dst,
355 const std::string& format,
372IOFORMAT_API
void writeView(std::shared_ptr<iolink::View> src,
373 const std::string& dst,
374 const std::string& format,
399IOFORMAT_API
void writeView(std::shared_ptr<iolink::View> src,
const std::string& dst,
const std::string& format);
416 const std::string& dst,
434 const std::string& dst,
435 const std::string& format,
448IOFORMAT_API
void writeView(std::shared_ptr<iolink::View> src,
449 std::shared_ptr<iolink::StreamAccess> dst,
450 const std::string& format,
462IOFORMAT_API
void writeView(std::shared_ptr<iolink::View> src,
463 std::shared_ptr<iolink::StreamAccess> dst,
464 const std::string& format);
478IOFORMAT_API
void addCredentials(
const std::string& host,
const std::string& user,
const std::string& password);