IOFormat  IOF_v0.34.0_release
IOFormat.h File Reference
#include <memory>
#include <string>
#include <ioformat/IOFormatAPI.h>
#include <iolink/Uri.h>
#include <iolink/storage/DataAccess.h>
#include <iolink/view/ImageView.h>
#include <iolink/view/View.h>
#include <iolink/writer/Writer.h>

Go to the source code of this file.

Namespaces

 ioformat
 Global namespace which contains all methods to encode/decode data from/into different resources (files, streams...) and some other helper classes and methods.
 

Functions

IOFORMAT_API bool ioformat::init ()
 
IOFORMAT_API std::shared_ptr< iolink::View > ioformat::openView (const std::string &pathFile)
 
IOFORMAT_API std::shared_ptr< iolink::View > ioformat::openView (const std::string &path, const std::string &format)
 
IOFORMAT_API std::shared_ptr< iolink::View > ioformat::openView (const iolink::Uri &uri)
 
IOFORMAT_API std::shared_ptr< iolink::View > ioformat::openView (const iolink::Uri &uri, const std::string &format)
 
IOFORMAT_API std::shared_ptr< iolink::ImageView > ioformat::readImage (const std::string &pathFile)
 
IOFORMAT_API std::shared_ptr< iolink::View > ioformat::openView (std::shared_ptr< iolink::DataAccess > storage, const std::string &format)
 
IOFORMAT_API std::shared_ptr< iolink::Writer > ioformat::openWriter (std::shared_ptr< iolink::View > view, const std::string &pathFile)
 
IOFORMAT_API std::shared_ptr< iolink::Writer > ioformat::openWriter (std::shared_ptr< iolink::View > view, std::shared_ptr< iolink::DataAccess > dst, const std::string &format)
 
IOFORMAT_API std::shared_ptr< iolink::Writer > ioformat::openWriter (std::shared_ptr< iolink::View > view, std::shared_ptr< iolink::DataAccess > dst, const std::string &format, const std::string &plugin)
 
IOFORMAT_API void ioformat::writeView (std::shared_ptr< iolink::View > view, const std::string &pathFile)
 
IOFORMAT_API void ioformat::writeView (std::shared_ptr< iolink::View > view, std::shared_ptr< iolink::DataAccess > dst, const std::string &format)
 
IOFORMAT_API std::string ioformat::formatFromExtension (const std::string &extension)