20 #ifndef DX_IO_SPI_IO_PLUGIN_OST_HH
21 #define DX_IO_SPI_IO_PLUGIN_OST_HH
30 namespace ost {
namespace io {
51 bool normalize_on_save_;
Manage shared instances of images.
static bool ProvidesExport()
static bool ProvidesImport()
static bool MatchType(const ImageFormatBase &type)
virtual void Export(const img::MapHandle &sh, const boost::filesystem::path &loc, const ImageFormatBase &formatstruct) const
static String GetFormatName()
virtual void Import(img::MapHandle &sh, std::istream &loc, const ImageFormatBase &formatstruct)
static bool MatchContent(unsigned char *header)
virtual void Export(const img::MapHandle &sh, std::ostream &loc, const ImageFormatBase &formatstruct) const
static bool MatchSuffix(const String &loc)
static String GetFormatDescription()
void do_import(img::MapHandle &sh, std::istream &loc, const ImageFormatBase &formatstruct)
virtual void Import(img::MapHandle &sh, const boost::filesystem::path &loc, const ImageFormatBase &formatstruct)
Map IO handler to read/write Spider map files.
Spider(bool normalize_on_save=false, Endianess endianness_on_save=OST_LOCAL_ENDIAN)
bool GetNormalizeOnSave() const
void SetNormalizeOnSave(bool normalize_on_save)
static String FORMAT_DESCRIPTION_STRING
static String FORMAT_NAME_STRING
Endianess GetEndianessOnSave() const
void SetEndianessOnSave(Endianess end)
static String FORMAT_STRING
MapIOHandlerFactory< MapIOSpiHandler > MapIOSpiHandlerFactory
pointer_it< T > end(const std::vector< T > &values)