38 #ifndef OME_FILES_MODULO_H 39 #define OME_FILES_MODULO_H 60 typedef std::vector<std::string>::size_type
size_type;
86 Modulo(std::string dimension);
121 template<
class charT,
class traits>
122 inline std::basic_ostream<charT,traits>&
123 operator<< (std::basic_ostream<charT,traits>& os,
127 <<
"start = " << modulo.start <<
'\n' 128 <<
"step = " << modulo.step <<
'\n' 129 <<
"end = " << modulo.end <<
'\n' 130 <<
"parentType = " << modulo.parentType <<
'\n' 131 <<
"type = " << modulo.type <<
'\n' 132 <<
"typeDescription = " << modulo.typeDescription <<
'\n' 133 <<
"unit = " << modulo.unit <<
'\n' 135 for (std::vector<std::string>::const_iterator i = modulo.labels.begin();
136 i != modulo.labels.end();
140 if (i + 1 != modulo.labels.end())
151 #endif // OME_FILES_MODULO_H size_type size() const
Get the size of this subdimension.
Definition: Modulo.cpp:63
double end
End value.
Definition: Modulo.h:69
std::string toXMLAnnotation() const
Convert to XML string.
Definition: Modulo.cpp:76
Modulo(std::string dimension)
Constructor.
Definition: Modulo.cpp:49
double step
Step size.
Definition: Modulo.h:67
std::string parentDimension
Parent dimension being subdivided.
Definition: Modulo.h:63
std::vector< std::string > labels
Labels along the subdimension.
Definition: Modulo.h:79
double start
Start value.
Definition: Modulo.h:65
std::vector< std::string >::size_type size_type
Size of the subdimension.
Definition: Modulo.h:60
std::string parentType
Type of the parent dimension.
Definition: Modulo.h:71
A subdimension of Z, C, or T.
Definition: Modulo.h:57
std::string typeDescription
Type description of the subdimension.
Definition: Modulo.h:75
std::string type
Type of the subdimension.
Definition: Modulo.h:73
std::string unit
Unit of the subdimension.
Definition: Modulo.h:77