ome-files
0.5.0
|
A subdimension of Z, C, or T. More...
#include <ome/files/Modulo.h>
Public Types | |
typedef std::vector< std::string >::size_type | size_type |
Size of the subdimension. | |
Public Member Functions | |
Modulo (std::string dimension) | |
Constructor. More... | |
size_type | size () const |
Get the size of this subdimension. More... | |
std::string | toXMLAnnotation () const |
Convert to XML string. More... | |
Public Attributes | |
std::string | parentDimension |
Parent dimension being subdivided. | |
double | start |
Start value. | |
double | step |
Step size. | |
double | end |
End value. | |
std::string | parentType |
Type of the parent dimension. | |
std::string | type |
Type of the subdimension. | |
std::string | typeDescription |
Type description of the subdimension. | |
std::string | unit |
Unit of the subdimension. | |
std::vector< std::string > | labels |
Labels along the subdimension. | |
A subdimension of Z, C, or T.
Needed to support Modulo annotations. See http://www.openmicroscopy.org/site/support/ome-model/developers/6d-7d-and-8d-storage.html
ome::files::Modulo::Modulo | ( | std::string | dimension | ) |
Constructor.
dimension | the parent dimension. |
Modulo::size_type ome::files::Modulo::size | ( | ) | const |
std::string ome::files::Modulo::toXMLAnnotation | ( | ) | const |
Convert to XML string.
The object is serialized to an XML text representation. This is suitable for embedding in an ome::xml::model::XMLAnnotation, for example.
References end, labels, parentDimension, start, step, type, typeDescription, and unit.