38 #ifndef OME_FILES_COREMETADATA_H 39 #define OME_FILES_COREMETADATA_H 47 #include <ome/files/MetadataMap.h> 48 #include <ome/files/Modulo.h> 49 #include <ome/files/Types.h> 51 #include <ome/xml/meta/BaseMetadata.h> 52 #include <ome/xml/model/enums/DimensionOrder.h> 53 #include <ome/xml/model/enums/PixelType.h> 90 std::vector<dimension_size_type>
sizeC;
179 template<
class charT,
class traits>
180 inline std::basic_ostream<charT,traits>&
181 operator<< (std::basic_ostream<charT,traits>& os,
184 os <<
"sizeX = " << core.
sizeX <<
'\n' 185 <<
"sizeY = " << core.sizeY <<
'\n' 186 <<
"sizeZ = " << core.sizeZ <<
'\n' 187 <<
"sizeC = " << std::accumulate(core.sizeC.begin(), core.sizeC.end(),
dimension_size_type(0));
188 if (core.sizeC.size() > 1U)
191 for (std::vector<dimension_size_type>::const_iterator i = core.sizeC.begin();
192 i != core.sizeC.end();
196 if (i + 1 != core.sizeC.end())
201 os <<
"\nsizeT = " << core.sizeT <<
'\n' 202 <<
"thumbSizeX = " << core.thumbSizeX <<
'\n' 203 <<
"thumbSizeY = " << core.thumbSizeY <<
'\n' 204 <<
"pixelType = " << core.pixelType <<
'\n' 205 <<
"bitsPerPixel = " << core.bitsPerPixel <<
'\n' 206 <<
"imageCount = " << core.imageCount <<
'\n' 207 <<
"moduloZ = {\n" << core.moduloZ
208 <<
"}\nmoduloT = {\n" << core.moduloT
209 <<
"}\nmoduloC = {\n" << core.moduloC
210 <<
"}\ndimensionOrder = " << core.dimensionOrder <<
'\n' 211 <<
"orderCertain = " << core.orderCertain <<
'\n';
213 for (std::vector<dimension_size_type>::const_iterator i = core.sizeC.begin();
214 i != core.sizeC.end();
218 if (i + 1 != core.sizeC.end())
222 os <<
"\nlittleEndian = " << core.littleEndian <<
'\n' 223 <<
"interleaved = " << core.interleaved <<
'\n' 224 <<
"indexed = " << core.indexed <<
'\n' 225 <<
"falseColor = " << core.falseColor <<
'\n' 226 <<
"metadataComplete = " << core.metadataComplete <<
'\n' 227 <<
"seriesMetadata = " << core.seriesMetadata.size() <<
" keys" <<
'\n' 228 <<
"thumbnail = " << core.thumbnail <<
'\n' 229 <<
"resolutionCount = " << core.resolutionCount <<
'\n';
236 #endif // OME_FILES_COREMETADATA_H
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
Open Microscopy Environment C++.
A subdimension of Z, C, or T.
Definition: Modulo.h:56