46 #ifndef OME_XML_MODEL_ENUMS_PIXELTYPE_H
47 #define OME_XML_MODEL_ENUMS_PIXELTYPE_H
55 #include <ome/xml/model/enums/EnumerationException.h>
158 operator const std::string& ()
const
173 static const string_map_type&
181 static const value_map_type&
190 static const string_map_type&
250 const std::string& rhs)
252 return static_cast<const std::string&
>(lhs) == rhs;
266 return lhs ==
static_cast<const std::string&
>(rhs);
320 const std::string& rhs)
322 return static_cast<const std::string&
>(lhs) != rhs;
336 return lhs !=
static_cast<const std::string&
>(rhs);
346 template<
class charT,
class traits>
347 inline std::basic_ostream<charT,traits>&
348 operator<< (std::basic_ostream<charT,traits>& os,
351 return os << static_cast<const std::string&>(enumeration);
361 template<
class charT,
class traits>
362 inline std::basic_istream<charT,traits>&
376 is.setstate(std::ios::failbit);
388 #endif // OME_XML_MODEL_ENUMS_PIXELTYPE_H
uint32
Definition: PixelType.h:86
std::basic_istream< charT, traits > & operator>>(std::basic_istream< charT, traits > &is, AcquisitionMode &enumeration)
Set AcquisitionMode from input stream.
Definition: AcquisitionMode.h:381
uint8
Definition: PixelType.h:82
bool operator!=(const AcquisitionMode &lhs, const AcquisitionMode &rhs)
Compare two AcquisitionMode objects for non-equality.
Definition: AcquisitionMode.h:295
PixelType(enum_value value)
Construct a PixelType enumeration by an enumeration value.
Definition: PixelType.cpp:75
bit
Definition: PixelType.h:90
EnumerationException is thrown when an enumeration is invalid or not found.
Definition: EnumerationException.h:74
int8
Definition: PixelType.h:76
static const string_map_type & lowercase_strings()
Get a map of valid lowercased string names and enum values.
Definition: PixelType.cpp:186
std::map< std::string, PixelType::enum_value > string_map_type
String map type.
Definition: PixelType.h:164
static const value_map_type & values()
Get a map of valid enum values and string names.
Definition: PixelType.cpp:162
enum_value
Enumeration values.
Definition: PixelType.h:73
int16
Definition: PixelType.h:78
uint16
Definition: PixelType.h:84
float
Definition: PixelType.h:88
Open Microscopy Environment C++ implementation.
Definition: CoreMetadata.cpp:40
const std::string * name
Enumeration name.
Definition: PixelType.h:196
enum_value value
Enumeration value.
Definition: PixelType.h:194
static const string_map_type & strings()
Get a map of valid string names and enum values.
Definition: PixelType.cpp:138
complex
Definition: PixelType.h:94
std::map< PixelType::enum_value, std::string > value_map_type
Value map type.
Definition: PixelType.h:166
bool operator==(const AcquisitionMode &lhs, const AcquisitionMode &rhs)
Compare two AcquisitionMode objects for equality.
Definition: AcquisitionMode.h:225
double
Definition: PixelType.h:92
PixelType enumeration.
Definition: PixelType.h:69
int32
Definition: PixelType.h:80
double-complex
Definition: PixelType.h:96
PixelType & operator=(const PixelType &rhs)
Assignment operator.
Definition: PixelType.h:134
Xerces-C modern C++ wrapper.
Definition: Base.h:53