20 #ifndef DX_IO_DM3_IO_PLUGIN_OST_HH
21 #define DX_IO_DM3_IO_PLUGIN_OST_HH
29 namespace ost {
namespace io {
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);
51 static bool MatchSuffix(
const String& loc);