46 #ifndef OME_XML_MODEL_ENUMS_DIMENSIONORDER_H 47 #define OME_XML_MODEL_ENUMS_DIMENSIONORDER_H 55 #include <ome/xml/model/enums/EnumerationException.h> 58 #define OME_XML_MODEL_ENUMS_DIMENSIONORDER_VALUES (XYZCT)(XYZTC)(XYCTZ)(XYCZT)(XYTCZ)(XYTZC) 153 operator const std::string& ()
const 168 static const string_map_type&
176 static const value_map_type&
185 static const string_map_type&
245 const std::string& rhs)
247 return static_cast<const std::string&
>(lhs) == rhs;
261 return lhs ==
static_cast<const std::string&
>(rhs);
315 const std::string& rhs)
317 return static_cast<const std::string&
>(lhs) != rhs;
331 return lhs !=
static_cast<const std::string&
>(rhs);
341 template<
class charT,
class traits>
342 inline std::basic_ostream<charT,traits>&
343 operator<< (std::basic_ostream<charT,traits>& os,
346 return os << static_cast<const std::string&>(enumeration);
356 template<
class charT,
class traits>
357 inline std::basic_istream<charT,traits>&
371 is.setstate(std::ios::failbit);
383 #endif // OME_XML_MODEL_ENUMS_DIMENSIONORDER_H std::basic_istream< charT, traits > & operator>>(std::basic_istream< charT, traits > &is, AcquisitionMode &enumeration)
Set AcquisitionMode from input stream.
Definition: AcquisitionMode.h:392
bool operator!=(const AcquisitionMode &lhs, const AcquisitionMode &rhs)
Compare two AcquisitionMode objects for non-equality.
Definition: AcquisitionMode.h:306
static const string_map_type & lowercase_strings()
Get a map of valid lowercased string names and enum values.
Definition: DimensionOrder.cpp:162
enum_value
Enumeration values.
Definition: DimensionOrder.h:76
EnumerationException is thrown when an enumeration is invalid or not found.
Definition: EnumerationException.h:74
DimensionOrder & operator=(const DimensionOrder &rhs)
Assignment operator.
Definition: DimensionOrder.h:129
XYCTZ.
Definition: DimensionOrder.h:83
XYTZC.
Definition: DimensionOrder.h:89
DimensionOrder(enum_value value)
Construct a DimensionOrder enumeration by an enumeration value.
Definition: DimensionOrder.cpp:67
DimensionOrder enumeration.
Definition: DimensionOrder.h:72
const std::string * name
Enumeration name.
Definition: DimensionOrder.h:191
std::map< DimensionOrder::enum_value, std::string > value_map_type
Value map type.
Definition: DimensionOrder.h:161
Open Microscopy Environment C++ implementation.
XYZCT.
Definition: DimensionOrder.h:79
bool operator==(const AcquisitionMode &lhs, const AcquisitionMode &rhs)
Compare two AcquisitionMode objects for equality.
Definition: AcquisitionMode.h:236
static const value_map_type & values()
Get a map of valid enum values and string names.
Definition: DimensionOrder.cpp:146
XYTCZ.
Definition: DimensionOrder.h:87
enum_value value
Enumeration value.
Definition: DimensionOrder.h:189
XYZTC.
Definition: DimensionOrder.h:81
std::map< std::string, DimensionOrder::enum_value > string_map_type
String map type.
Definition: DimensionOrder.h:159
static const string_map_type & strings()
Get a map of valid string names and enum values.
Definition: DimensionOrder.cpp:130
XYCZT.
Definition: DimensionOrder.h:85