46 #ifndef OME_XML_MODEL_ENUMS_ACQUISITIONMODE_H
47 #define OME_XML_MODEL_ENUMS_ACQUISITIONMODE_H
55 #include <ome/xml/model/enums/EnumerationException.h>
176 operator const std::string& ()
const
191 static const string_map_type&
199 static const value_map_type&
208 static const string_map_type&
268 const std::string& rhs)
270 return static_cast<const std::string&
>(lhs) == rhs;
284 return lhs ==
static_cast<const std::string&
>(rhs);
338 const std::string& rhs)
340 return static_cast<const std::string&
>(lhs) != rhs;
354 return lhs !=
static_cast<const std::string&
>(rhs);
364 template<
class charT,
class traits>
365 inline std::basic_ostream<charT,traits>&
366 operator<< (std::basic_ostream<charT,traits>& os,
369 return os << static_cast<const std::string&>(enumeration);
379 template<
class charT,
class traits>
380 inline std::basic_istream<charT,traits>&
394 is.setstate(std::ios::failbit);
406 #endif // OME_XML_MODEL_ENUMS_ACQUISITIONMODE_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
static const string_map_type & lowercase_strings()
Get a map of valid lowercased string names and enum values.
Definition: AcquisitionMode.cpp:219
FluorescenceCorrelationSpectroscopy.
Definition: AcquisitionMode.h:96
enum_value value
Enumeration value.
Definition: AcquisitionMode.h:212
SpinningDiskConfocal.
Definition: AcquisitionMode.h:80
WideField.
Definition: AcquisitionMode.h:76
TotalInternalReflection.
Definition: AcquisitionMode.h:90
SpectralImaging.
Definition: AcquisitionMode.h:94
EnumerationException is thrown when an enumeration is invalid or not found.
Definition: EnumerationException.h:74
AcquisitionMode enumeration.
Definition: AcquisitionMode.h:69
std::map< std::string, AcquisitionMode::enum_value > string_map_type
String map type.
Definition: AcquisitionMode.h:182
FluorescenceLifetime.
Definition: AcquisitionMode.h:92
NearFieldScanningOpticalMicroscopy.
Definition: AcquisitionMode.h:98
std::map< AcquisitionMode::enum_value, std::string > value_map_type
Value map type.
Definition: AcquisitionMode.h:184
const std::string * name
Enumeration name.
Definition: AcquisitionMode.h:214
MultiPhotonMicroscopy.
Definition: AcquisitionMode.h:84
SecondHarmonicGenerationImaging.
Definition: AcquisitionMode.h:100
StructuredIllumination.
Definition: AcquisitionMode.h:86
SlitScanConfocal.
Definition: AcquisitionMode.h:82
Open Microscopy Environment C++ implementation.
Definition: CoreMetadata.cpp:40
PALM.
Definition: AcquisitionMode.h:102
bool operator==(const AcquisitionMode &lhs, const AcquisitionMode &rhs)
Compare two AcquisitionMode objects for equality.
Definition: AcquisitionMode.h:225
STED.
Definition: AcquisitionMode.h:106
FSM.
Definition: AcquisitionMode.h:110
SingleMoleculeImaging.
Definition: AcquisitionMode.h:88
AcquisitionMode(enum_value value)
Construct a AcquisitionMode enumeration by an enumeration value.
Definition: AcquisitionMode.cpp:75
static const value_map_type & values()
Get a map of valid enum values and string names.
Definition: AcquisitionMode.cpp:186
Other.
Definition: AcquisitionMode.h:114
STORM.
Definition: AcquisitionMode.h:104
enum_value
Enumeration values.
Definition: AcquisitionMode.h:73
TIRF.
Definition: AcquisitionMode.h:108
static const string_map_type & strings()
Get a map of valid string names and enum values.
Definition: AcquisitionMode.cpp:153
LaserScanningConfocalMicroscopy.
Definition: AcquisitionMode.h:78
AcquisitionMode & operator=(const AcquisitionMode &rhs)
Assignment operator.
Definition: AcquisitionMode.h:152
LCM.
Definition: AcquisitionMode.h:112
Xerces-C modern C++ wrapper.
Definition: Base.h:53