46 #ifndef OME_XML_MODEL_ENUMS_DETECTORTYPE_H
47 #define OME_XML_MODEL_ENUMS_DETECTORTYPE_H
55 #include <ome/xml/model/enums/EnumerationException.h>
164 operator const std::string& ()
const
179 static const string_map_type&
187 static const value_map_type&
196 static const string_map_type&
256 const std::string& rhs)
258 return static_cast<const std::string&
>(lhs) == rhs;
272 return lhs ==
static_cast<const std::string&
>(rhs);
326 const std::string& rhs)
328 return static_cast<const std::string&
>(lhs) != rhs;
342 return lhs !=
static_cast<const std::string&
>(rhs);
352 template<
class charT,
class traits>
353 inline std::basic_ostream<charT,traits>&
354 operator<< (std::basic_ostream<charT,traits>& os,
357 return os << static_cast<const std::string&>(enumeration);
367 template<
class charT,
class traits>
368 inline std::basic_istream<charT,traits>&
382 is.setstate(std::ios::failbit);
394 #endif // OME_XML_MODEL_ENUMS_DETECTORTYPE_H
std::basic_istream< charT, traits > & operator>>(std::basic_istream< charT, traits > &is, AcquisitionMode &enumeration)
Set AcquisitionMode from input stream.
Definition: AcquisitionMode.h:381
bool operator!=(const AcquisitionMode &lhs, const AcquisitionMode &rhs)
Compare two AcquisitionMode objects for non-equality.
Definition: AcquisitionMode.h:295
const std::string * name
Enumeration name.
Definition: DetectorType.h:202
IntensifiedCCD.
Definition: DetectorType.h:78
enum_value
Enumeration values.
Definition: DetectorType.h:73
EnumerationException is thrown when an enumeration is invalid or not found.
Definition: EnumerationException.h:74
enum_value value
Enumeration value.
Definition: DetectorType.h:200
Photodiode.
Definition: DetectorType.h:84
APD.
Definition: DetectorType.h:96
static const string_map_type & strings()
Get a map of valid string names and enum values.
Definition: DetectorType.cpp:153
EBCCD.
Definition: DetectorType.h:100
EMCCD.
Definition: DetectorType.h:94
Open Microscopy Environment C++ implementation.
Definition: CoreMetadata.cpp:40
PMT.
Definition: DetectorType.h:82
DetectorType(enum_value value)
Construct a DetectorType enumeration by an enumeration value.
Definition: DetectorType.cpp:75
DetectorType enumeration.
Definition: DetectorType.h:69
CorrelationSpectroscopy.
Definition: DetectorType.h:90
bool operator==(const AcquisitionMode &lhs, const AcquisitionMode &rhs)
Compare two AcquisitionMode objects for equality.
Definition: AcquisitionMode.h:225
static const string_map_type & lowercase_strings()
Get a map of valid lowercased string names and enum values.
Definition: DetectorType.cpp:207
std::map< DetectorType::enum_value, std::string > value_map_type
Value map type.
Definition: DetectorType.h:172
Spectroscopy.
Definition: DetectorType.h:86
DetectorType & operator=(const DetectorType &rhs)
Assignment operator.
Definition: DetectorType.h:140
std::map< std::string, DetectorType::enum_value > string_map_type
String map type.
Definition: DetectorType.h:170
CCD.
Definition: DetectorType.h:76
FTIR.
Definition: DetectorType.h:92
Other.
Definition: DetectorType.h:102
LifetimeImaging.
Definition: DetectorType.h:88
AnalogVideo.
Definition: DetectorType.h:80
CMOS.
Definition: DetectorType.h:98
static const value_map_type & values()
Get a map of valid enum values and string names.
Definition: DetectorType.cpp:180
Xerces-C modern C++ wrapper.
Definition: Base.h:53