38 #ifndef OME_FILES_MODULO_H 39 #define OME_FILES_MODULO_H 59 typedef std::vector<std::string>::size_type
size_type;
85 Modulo(std::string dimension);
120 template<
class charT,
class traits>
121 inline std::basic_ostream<charT,traits>&
122 operator<< (std::basic_ostream<charT,traits>& os,
126 <<
"start = " << modulo.start <<
'\n' 127 <<
"step = " << modulo.step <<
'\n' 128 <<
"end = " << modulo.end <<
'\n' 129 <<
"parentType = " << modulo.parentType <<
'\n' 130 <<
"type = " << modulo.type <<
'\n' 131 <<
"typeDescription = " << modulo.typeDescription <<
'\n' 132 <<
"unit = " << modulo.unit <<
'\n' 134 for (std::vector<std::string>::const_iterator i = modulo.labels.begin();
135 i != modulo.labels.end();
139 if (i + 1 != modulo.labels.end())
150 #endif // OME_FILES_MODULO_H double end
End value.
Definition: Modulo.h:68
Modulo(std::string dimension)
Constructor.
Definition: Modulo.cpp:49
double step
Step size.
Definition: Modulo.h:66
std::string toXMLAnnotation() const
Convert to XML string.
Definition: Modulo.cpp:76
std::string parentDimension
Parent dimension being subdivided.
Definition: Modulo.h:62
Open Microscopy Environment C++.
std::vector< std::string > labels
Labels along the subdimension.
Definition: Modulo.h:78
double start
Start value.
Definition: Modulo.h:64
std::vector< std::string >::size_type size_type
Size of the subdimension.
Definition: Modulo.h:59
size_type size() const
Get the size of this subdimension.
Definition: Modulo.cpp:63
std::string parentType
Type of the parent dimension.
Definition: Modulo.h:70
A subdimension of Z, C, or T.
Definition: Modulo.h:56
std::string typeDescription
Type description of the subdimension.
Definition: Modulo.h:74
std::string type
Type of the subdimension.
Definition: Modulo.h:72
std::string unit
Unit of the subdimension.
Definition: Modulo.h:76