46 #ifndef OME_XML_MODEL_ENUMS_LASERMEDIUM_H
47 #define OME_XML_MODEL_ENUMS_LASERMEDIUM_H
55 #include <ome/xml/model/enums/EnumerationException.h>
204 operator const std::string& ()
const
219 static const string_map_type&
227 static const value_map_type&
236 static const string_map_type&
296 const std::string& rhs)
298 return static_cast<const std::string&
>(lhs) == rhs;
312 return lhs ==
static_cast<const std::string&
>(rhs);
366 const std::string& rhs)
368 return static_cast<const std::string&
>(lhs) != rhs;
382 return lhs !=
static_cast<const std::string&
>(rhs);
392 template<
class charT,
class traits>
393 inline std::basic_ostream<charT,traits>&
394 operator<< (std::basic_ostream<charT,traits>& os,
397 return os << static_cast<const std::string&>(enumeration);
407 template<
class charT,
class traits>
408 inline std::basic_istream<charT,traits>&
422 is.setstate(std::ios::failbit);
434 #endif // OME_XML_MODEL_ENUMS_LASERMEDIUM_H
std::basic_istream< charT, traits > & operator>>(std::basic_istream< charT, traits > &is, AcquisitionMode &enumeration)
Set AcquisitionMode from input stream.
Definition: AcquisitionMode.h:381
enum_value
Enumeration values.
Definition: LaserMedium.h:73
bool operator!=(const AcquisitionMode &lhs, const AcquisitionMode &rhs)
Compare two AcquisitionMode objects for non-equality.
Definition: AcquisitionMode.h:295
GaAlAs.
Definition: LaserMedium.h:138
XeFl.
Definition: LaserMedium.h:88
Ar.
Definition: LaserMedium.h:96
NdGlass.
Definition: LaserMedium.h:114
Other.
Definition: LaserMedium.h:142
CO.
Definition: LaserMedium.h:106
CoumarinC30.
Definition: LaserMedium.h:134
EnumerationException is thrown when an enumeration is invalid or not found.
Definition: EnumerationException.h:74
Kr.
Definition: LaserMedium.h:98
GaAs.
Definition: LaserMedium.h:136
ArFl.
Definition: LaserMedium.h:80
XeBr.
Definition: LaserMedium.h:92
CO2.
Definition: LaserMedium.h:108
Alexandrite.
Definition: LaserMedium.h:130
HeNe.
Definition: LaserMedium.h:102
HoYAG.
Definition: LaserMedium.h:124
H2O.
Definition: LaserMedium.h:110
Ruby.
Definition: LaserMedium.h:126
const std::string * name
Enumeration name.
Definition: LaserMedium.h:242
ErYAG.
Definition: LaserMedium.h:120
XeCl.
Definition: LaserMedium.h:90
Ag.
Definition: LaserMedium.h:78
static const value_map_type & values()
Get a map of valid enum values and string names.
Definition: LaserMedium.cpp:200
HeCd.
Definition: LaserMedium.h:104
Rhodamine6G.
Definition: LaserMedium.h:132
ErGlass.
Definition: LaserMedium.h:118
EMinus.
Definition: LaserMedium.h:140
std::map< std::string, LaserMedium::enum_value > string_map_type
String map type.
Definition: LaserMedium.h:210
Open Microscopy Environment C++ implementation.
Definition: CoreMetadata.cpp:40
TiSapphire.
Definition: LaserMedium.h:128
ArCl.
Definition: LaserMedium.h:82
HFl.
Definition: LaserMedium.h:112
enum_value value
Enumeration value.
Definition: LaserMedium.h:240
bool operator==(const AcquisitionMode &lhs, const AcquisitionMode &rhs)
Compare two AcquisitionMode objects for equality.
Definition: AcquisitionMode.h:225
NdYAG.
Definition: LaserMedium.h:116
LaserMedium & operator=(const LaserMedium &rhs)
Assignment operator.
Definition: LaserMedium.h:180
std::map< LaserMedium::enum_value, std::string > value_map_type
Value map type.
Definition: LaserMedium.h:212
KrCl.
Definition: LaserMedium.h:86
static const string_map_type & lowercase_strings()
Get a map of valid lowercased string names and enum values.
Definition: LaserMedium.cpp:247
static const string_map_type & strings()
Get a map of valid string names and enum values.
Definition: LaserMedium.cpp:153
N.
Definition: LaserMedium.h:94
Xe.
Definition: LaserMedium.h:100
KrFl.
Definition: LaserMedium.h:84
LaserMedium(enum_value value)
Construct a LaserMedium enumeration by an enumeration value.
Definition: LaserMedium.cpp:75
Cu.
Definition: LaserMedium.h:76
HoYLF.
Definition: LaserMedium.h:122
LaserMedium enumeration.
Definition: LaserMedium.h:69
Xerces-C modern C++ wrapper.
Definition: Base.h:53