20 #ifndef DX_IO_DM3_IO_PLUGIN_OST_HH
21 #define DX_IO_DM3_IO_PLUGIN_OST_HH
29 namespace ost {
namespace io {
36 static String FORMAT_STRING;
45 virtual void Import(
img::MapHandle& sh,
const boost::filesystem::path& loc,
const ImageFormatBase& formatstruct);
46 virtual void Import(
img::MapHandle& sh, std::istream& loc,
const ImageFormatBase& formatstruct);
47 virtual void Export(
const img::MapHandle& sh,
const boost::filesystem::path& loc,
const ImageFormatBase& formatstruct)
const;
48 virtual void Export(
const img::MapHandle& sh, std::ostream& loc,
const ImageFormatBase& formatstruct)
const;
49 static bool MatchContent(
unsigned char* header);
50 static bool MatchType(
const ImageFormatBase& type);
51 static bool MatchSuffix(
const String& loc);