20 #ifndef OST_IO_MAP_IO_IPL_HANDLER_HH
21 #define OST_IO_MAP_IO_IPL_HANDLER_HH
30 namespace ost {
namespace io {
39 Format GetBitDepth()
const;
40 void SetBitDepth (
Format bitdepth);
43 bool GetNormalizeOnSave()
const;
44 void SetNormalizeOnSave(
bool normalize_on_save=
true);
45 Real GetMaximum()
const;
46 Real GetMinimum()
const;
47 static String FORMAT_STRING;
50 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);