38 #ifndef OME_FILES_DETAIL_FORMATREADER_H
39 #define OME_FILES_DETAIL_FORMATREADER_H
45 #include <ome/files/FormatReader.h>
46 #include <ome/files/FormatHandler.h>
86 description(description),
121 std::shared_ptr<std::istream>
in;
242 initFile(
const boost::filesystem::path&
id);
252 isUsedFile(
const boost::filesystem::path& file);
313 std::shared_ptr<::ome::xml::meta::MetadataStore>
327 coremetadata_list_type::value_type cm(
core.at(index));
329 throw std::logic_error(
"CoreMetadata null");
344 coremetadata_list_type::value_type cm(
core.at(index));
346 throw std::logic_error(
"CoreMetadata null");
352 const std::set<MetadataOptions::MetadataLevel>&
384 isThisType(
const boost::filesystem::path& name,
385 bool open =
true)
const;
390 std::size_t length)
const;
395 const uint8_t *end)
const;
523 std::array<dimension_size_type, 2>
594 close(
bool fileOnly =
false);
649 const std::vector<boost::filesystem::path>
653 const std::vector<boost::filesystem::path>
657 std::vector<FileInfo>
661 std::vector<FileInfo>
665 const boost::optional<boost::filesystem::path>&
684 std::array<dimension_size_type, 3>
688 std::array<dimension_size_type, 6>
692 const std::vector<std::shared_ptr<::ome::files::CoreMetadata>>&
708 const std::shared_ptr<::ome::xml::meta::MetadataStore>&
712 std::shared_ptr<::ome::xml::meta::MetadataStore>&
716 std::vector<std::shared_ptr<::ome::files::FormatReader>>
732 const std::vector<std::string>&
740 const std::vector<std::string>&
797 setId(
const boost::filesystem::path&
id);
808 const std::vector<boost::filesystem::path>&
812 const std::vector<boost::filesystem::path>&
820 #endif // OME_FILES_DETAIL_FORMATREADER_H
Properties specific to a particular reader.
Definition: FormatReader.h:64
uint32_t pixel_size_type
Size type for pixel bit depths.
Definition: Types.h:61
std::size_t dimension_size_type
Size type for image dimensions.
Definition: Types.h:58
std::set< MetadataOptions::MetadataLevel > metadata_levels
Supported metadata levels. A typical default is {METADATA_MINIMUM,METADATA_NO_OVERLAYS,METADATA_ALL}.
Definition: FormatReader.h:75
std::vector< boost::filesystem::path > suffixes
Filename suffixes this format can handle.
Definition: FormatReader.h:71
std::string name
Format name.
Definition: FormatReader.h:67
std::string description
Format description.
Definition: FormatReader.h:69
std::vector< boost::filesystem::path > compression_suffixes
Filename compression suffixes this format can handle.
Definition: FormatReader.h:73
A subdimension of Z, C, or T.
Definition: Modulo.h:56
ReaderProperties(const std::string &name, const std::string &description)
Constructor.
Definition: FormatReader.h:83
Buffer for all pixel types.
Definition: VariantPixelBuffer.h:78