20 #ifndef DX_IO_SPI_IO_PLUGIN_OST_HH
21 #define DX_IO_SPI_IO_PLUGIN_OST_HH
30 namespace ost {
namespace io {
39 bool GetNormalizeOnSave()
const;
40 void SetNormalizeOnSave(
bool normalize_on_save);
45 static String FORMAT_STRING;
46 static String FORMAT_NAME_STRING;
47 static String FORMAT_DESCRIPTION_STRING;
51 bool normalize_on_save_;
61 virtual void Import(
img::MapHandle& sh,
const boost::filesystem::path& loc,
const ImageFormatBase& formatstruct);
62 virtual void Import(
img::MapHandle& sh, std::istream& loc,
const ImageFormatBase& formatstruct);
63 virtual void Export(
const img::MapHandle& sh,
const boost::filesystem::path& loc,
const ImageFormatBase& formatstruct)
const;
64 virtual void Export(
const img::MapHandle& sh, std::ostream& loc,
const ImageFormatBase& formatstruct)
const;
65 static bool MatchContent(
unsigned char* header);
66 static bool MatchType(
const ImageFormatBase& type);
67 static bool MatchSuffix(
const String& loc);
MapIOHandlerFactory< MapIOSpiHandler > MapIOSpiHandlerFactory
pointer_it< T > end(const std::vector< T > &values)
static bool ProvidesImport()
static String GetFormatName()
Manage shared instances of images.
static bool ProvidesExport()
static String GetFormatDescription()