38 #ifndef OME_FILES_DETAIL_FORMATWRITER_H
39 #define OME_FILES_DETAIL_FORMATWRITER_H
41 #include <ome/files/FormatWriter.h>
42 #include <ome/files/FormatHandler.h>
59 typedef std::map<std::string,
84 const std::string& description):
86 description(description),
88 compression_suffixes(),
93 compression_suffixes.push_back(boost::filesystem::path(
""));
119 ome::compat::shared_ptr<std::ostream>
out;
164 isThisType(
const boost::filesystem::path& name,
165 bool open =
true)
const;
213 setMetadataRetrieve(ome::compat::shared_ptr< ::ome::xml::meta::MetadataRetrieve>& retrieve);
216 const ome::compat::shared_ptr< ::ome::xml::meta::MetadataRetrieve>&
220 ome::compat::shared_ptr< ::ome::xml::meta::MetadataRetrieve>&
363 ome::compat::array<dimension_size_type, 3>
375 const std::set<ome::xml::model::enums::PixelType>&
379 const std::set<ome::xml::model::enums::PixelType>&
389 const std::string& codec)
const;
392 const std::set<std::string>&
400 const boost::optional<std::string>&
408 const boost::optional<bool>&
425 setId(
const boost::filesystem::path&
id);
429 close(
bool fileOnly =
false);
440 const std::vector<boost::filesystem::path>&
444 const std::vector<boost::filesystem::path>&
452 #endif // OME_FILES_DETAIL_FORMATWRITER_H
uint32_t pixel_size_type
Size type for pixel bit depths.
Definition: Types.h:62
std::size_t dimension_size_type
Size type for image dimensions.
Definition: Types.h:59
WriterProperties(const std::string &name, const std::string &description)
Constructor.
Definition: FormatWriter.h:83
std::set< std::string > compression_types
Supported compression types.
Definition: FormatWriter.h:71
std::map< std::string, std::set< ome::xml::model::enums::PixelType > > codec_pixel_type_map
Map of codec to pixel types.
Definition: FormatWriter.h:60
Properties specific to a particular writer.
Definition: FormatWriter.h:56
codec_pixel_type_map codec_pixel_types
Supported pixel types.
Definition: FormatWriter.h:73
std::string name
Format name.
Definition: FormatWriter.h:63
std::vector< boost::filesystem::path > suffixes
Filename suffixes this format can handle.
Definition: FormatWriter.h:67
bool stacks
Stacks are supported.
Definition: FormatWriter.h:75
std::vector< boost::filesystem::path > compression_suffixes
Filename compression suffixes this format can handle.
Definition: FormatWriter.h:69
std::string description
Format description.
Definition: FormatWriter.h:65
Buffer for all pixel types.
Definition: VariantPixelBuffer.h:75