21 #ifndef DX_IO_MAP_IO_PLUGIN_OST_HH
22 #define DX_IO_MAP_IO_PLUGIN_OST_HH
26 namespace ost {
namespace io {
32 DX(
bool normalize_on_save =
false);
34 bool GetNormalizeOnSave()
const;
35 void SetNormalizeOnSave(
bool normalize_on_save);
36 static String FORMAT_STRING;
37 static String FORMAT_NAME_STRING;
38 static String FORMAT_DESCRIPTION_STRING;
42 bool normalize_on_save_;
56 virtual void Import(
img::MapHandle& sh,
const boost::filesystem::path& loc,
57 const ImageFormatBase& formatstruct);
58 virtual void Import(
img::MapHandle& sh, std::istream& loc,
const ImageFormatBase& formatstruct);
60 const boost::filesystem::path& loc,
const ImageFormatBase& formatstruct)
const;
62 std::ostream& loc,
const ImageFormatBase& formatstruct)
const;
63 static bool MatchContent(
unsigned char* header);
64 static bool MatchType(
const ImageFormatBase& type);
65 static bool MatchSuffix(
const String& locx);
static String GetFormatDescription()
MapIOHandlerFactory< MapIODxHandler > MapIODxHandlerFactory
static bool ProvidesImport()
static String GetFormatName()
static bool ProvidesExport()