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>
84 const std::string& description):
86 description(description),
88 compression_suffixes(),
91 compression_suffixes.push_back(boost::filesystem::path(
""));
121 ome::compat::shared_ptr<std::istream>
in;
243 initFile(
const boost::filesystem::path&
id);
253 isUsedFile(
const boost::filesystem::path& file);
314 ome::compat::shared_ptr< ::ome::xml::meta::MetadataStore>
328 coremetadata_list_type::value_type cm(core.at(index));
330 throw std::logic_error(
"CoreMetadata null");
345 coremetadata_list_type::value_type cm(core.at(index));
347 throw std::logic_error(
"CoreMetadata null");
353 const std::set<MetadataOptions::MetadataLevel>&
385 isThisType(
const boost::filesystem::path& name,
386 bool open =
true)
const;
391 std::size_t length)
const;
396 const uint8_t *end)
const;
524 ome::compat::array<dimension_size_type, 2>
595 close(
bool fileOnly =
false);
650 const std::vector<boost::filesystem::path>
654 const std::vector<boost::filesystem::path>
658 std::vector<FileInfo>
662 std::vector<FileInfo>
666 const boost::optional<boost::filesystem::path>&
685 ome::compat::array<dimension_size_type, 3>
689 ome::compat::array<dimension_size_type, 6>
693 const std::vector<ome::compat::shared_ptr< ::ome::files::CoreMetadata> >&
706 setMetadataStore(ome::compat::shared_ptr< ::ome::xml::meta::MetadataStore>& store);
709 const ome::compat::shared_ptr< ::ome::xml::meta::MetadataStore>&
713 ome::compat::shared_ptr< ::ome::xml::meta::MetadataStore>&
717 std::vector<ome::compat::shared_ptr< ::ome::files::FormatReader> >
733 const std::vector<std::string>&
741 const std::vector<std::string>&
798 setId(
const boost::filesystem::path&
id);
809 const std::vector<boost::filesystem::path>&
813 const std::vector<boost::filesystem::path>&
821 #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:62
std::size_t dimension_size_type
Size type for image dimensions.
Definition: Types.h:59
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:57
ReaderProperties(const std::string &name, const std::string &description)
Constructor.
Definition: FormatReader.h:83
Buffer for all pixel types.
Definition: VariantPixelBuffer.h:75