46 #ifndef OME_XML_MODEL_ENUMS_ACQUISITIONMODE_H 47 #define OME_XML_MODEL_ENUMS_ACQUISITIONMODE_H 55 #include <ome/xml/model/enums/EnumerationException.h> 58 #define OME_XML_MODEL_ENUMS_ACQUISITIONMODE_VALUES (WIDEFIELD)(LASERSCANNINGCONFOCALMICROSCOPY)(SPINNINGDISKCONFOCAL)(SLITSCANCONFOCAL)(MULTIPHOTONMICROSCOPY)(STRUCTUREDILLUMINATION)(SINGLEMOLECULEIMAGING)(TOTALINTERNALREFLECTION)(FLUORESCENCELIFETIME)(SPECTRALIMAGING)(FLUORESCENCECORRELATIONSPECTROSCOPY)(NEARFIELDSCANNINGOPTICALMICROSCOPY)(SECONDHARMONICGENERATIONIMAGING)(PALM)(STORM)(STED)(TIRF)(FSM)(LCM)(OTHER) 179 operator const std::string& ()
const 194 static const string_map_type&
202 static const value_map_type&
211 static const string_map_type&
271 const std::string& rhs)
273 return static_cast<const std::string&
>(lhs) == rhs;
287 return lhs ==
static_cast<const std::string&
>(rhs);
341 const std::string& rhs)
343 return static_cast<const std::string&
>(lhs) != rhs;
357 return lhs !=
static_cast<const std::string&
>(rhs);
367 template<
class charT,
class traits>
368 inline std::basic_ostream<charT,traits>&
369 operator<< (std::basic_ostream<charT,traits>& os,
372 return os << static_cast<const std::string&>(enumeration);
382 template<
class charT,
class traits>
383 inline std::basic_istream<charT,traits>&
397 is.setstate(std::ios::failbit);
409 #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:384
bool operator!=(const AcquisitionMode &lhs, const AcquisitionMode &rhs)
Compare two AcquisitionMode objects for non-equality.
Definition: AcquisitionMode.h:298
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:99
enum_value value
Enumeration value.
Definition: AcquisitionMode.h:215
SpinningDiskConfocal.
Definition: AcquisitionMode.h:83
WideField.
Definition: AcquisitionMode.h:79
TotalInternalReflection.
Definition: AcquisitionMode.h:93
SpectralImaging.
Definition: AcquisitionMode.h:97
EnumerationException is thrown when an enumeration is invalid or not found.
Definition: EnumerationException.h:74
AcquisitionMode enumeration.
Definition: AcquisitionMode.h:72
std::map< std::string, AcquisitionMode::enum_value > string_map_type
String map type.
Definition: AcquisitionMode.h:185
FluorescenceLifetime.
Definition: AcquisitionMode.h:95
NearFieldScanningOpticalMicroscopy.
Definition: AcquisitionMode.h:101
std::map< AcquisitionMode::enum_value, std::string > value_map_type
Value map type.
Definition: AcquisitionMode.h:187
const std::string * name
Enumeration name.
Definition: AcquisitionMode.h:217
MultiPhotonMicroscopy.
Definition: AcquisitionMode.h:87
SecondHarmonicGenerationImaging.
Definition: AcquisitionMode.h:103
StructuredIllumination.
Definition: AcquisitionMode.h:89
SlitScanConfocal.
Definition: AcquisitionMode.h:85
Open Microscopy Environment C++ implementation.
PALM.
Definition: AcquisitionMode.h:105
bool operator==(const AcquisitionMode &lhs, const AcquisitionMode &rhs)
Compare two AcquisitionMode objects for equality.
Definition: AcquisitionMode.h:228
STED.
Definition: AcquisitionMode.h:109
FSM.
Definition: AcquisitionMode.h:113
SingleMoleculeImaging.
Definition: AcquisitionMode.h:91
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:117
STORM.
Definition: AcquisitionMode.h:107
enum_value
Enumeration values.
Definition: AcquisitionMode.h:76
TIRF.
Definition: AcquisitionMode.h:111
static const string_map_type & strings()
Get a map of valid string names and enum values.
Definition: AcquisitionMode.cpp:153
LaserScanningConfocalMicroscopy.
Definition: AcquisitionMode.h:81
AcquisitionMode & operator=(const AcquisitionMode &rhs)
Assignment operator.
Definition: AcquisitionMode.h:155
LCM.
Definition: AcquisitionMode.h:115