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)(BRIGHTFIELD)(SWEPTFIELDCONFOCAL)(SPIM) 187 operator const std::string& ()
const 202 static const string_map_type&
210 static const value_map_type&
219 static const string_map_type&
279 const std::string& rhs)
281 return static_cast<const std::string&
>(lhs) == rhs;
295 return lhs ==
static_cast<const std::string&
>(rhs);
349 const std::string& rhs)
351 return static_cast<const std::string&
>(lhs) != rhs;
365 return lhs !=
static_cast<const std::string&
>(rhs);
375 template<
class charT,
class traits>
376 inline std::basic_ostream<charT,traits>&
377 operator<< (std::basic_ostream<charT,traits>& os,
380 return os << static_cast<const std::string&>(enumeration);
390 template<
class charT,
class traits>
391 inline std::basic_istream<charT,traits>&
405 is.setstate(std::ios::failbit);
417 #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:392
bool operator!=(const AcquisitionMode &lhs, const AcquisitionMode &rhs)
Compare two AcquisitionMode objects for non-equality.
Definition: AcquisitionMode.h:306
static const string_map_type & lowercase_strings()
Get a map of valid lowercased string names and enum values.
Definition: AcquisitionMode.cpp:211
FluorescenceCorrelationSpectroscopy.
Definition: AcquisitionMode.h:99
enum_value value
Enumeration value.
Definition: AcquisitionMode.h:223
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:193
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:195
const std::string * name
Enumeration name.
Definition: AcquisitionMode.h:225
MultiPhotonMicroscopy.
Definition: AcquisitionMode.h:87
SecondHarmonicGenerationImaging.
Definition: AcquisitionMode.h:103
StructuredIllumination.
Definition: AcquisitionMode.h:89
SlitScanConfocal.
Definition: AcquisitionMode.h:85
SPIM.
Definition: AcquisitionMode.h:123
SweptFieldConfocal.
Definition: AcquisitionMode.h:121
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:236
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:67
static const value_map_type & values()
Get a map of valid enum values and string names.
Definition: AcquisitionMode.cpp:178
Other.
Definition: AcquisitionMode.h:117
BrightField.
Definition: AcquisitionMode.h:119
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:145
LaserScanningConfocalMicroscopy.
Definition: AcquisitionMode.h:81
AcquisitionMode & operator=(const AcquisitionMode &rhs)
Assignment operator.
Definition: AcquisitionMode.h:163
LCM.
Definition: AcquisitionMode.h:115