46 #ifndef OME_XML_MODEL_ENUMS_EXPERIMENTTYPE_H 47 #define OME_XML_MODEL_ENUMS_EXPERIMENTTYPE_H 55 #include <ome/xml/model/enums/EnumerationException.h> 58 #define OME_XML_MODEL_ENUMS_EXPERIMENTTYPE_VALUES (FP)(FRET)(TIMELAPSE)(FOURDPLUS)(SCREEN)(IMMUNOCYTOCHEMISTRY)(IMMUNOFLUORESCENCE)(FISH)(ELECTROPHYSIOLOGY)(IONIMAGING)(COLOCALIZATION)(PGIDOCUMENTATION)(FLUORESCENCELIFETIME)(SPECTRALIMAGING)(PHOTOBLEACHING)(SPIM)(OTHER) 175 operator const std::string& ()
const 190 static const string_map_type&
198 static const value_map_type&
207 static const string_map_type&
267 const std::string& rhs)
269 return static_cast<const std::string&
>(lhs) == rhs;
283 return lhs ==
static_cast<const std::string&
>(rhs);
337 const std::string& rhs)
339 return static_cast<const std::string&
>(lhs) != rhs;
353 return lhs !=
static_cast<const std::string&
>(rhs);
363 template<
class charT,
class traits>
364 inline std::basic_ostream<charT,traits>&
365 operator<< (std::basic_ostream<charT,traits>& os,
368 return os << static_cast<const std::string&>(enumeration);
378 template<
class charT,
class traits>
379 inline std::basic_istream<charT,traits>&
393 is.setstate(std::ios::failbit);
405 #endif // OME_XML_MODEL_ENUMS_EXPERIMENTTYPE_H std::basic_istream< charT, traits > & operator>>(std::basic_istream< charT, traits > &is, AcquisitionMode &enumeration)
Set AcquisitionMode from input stream.
Definition: AcquisitionMode.h:392
Immunocytochemistry.
Definition: ExperimentType.h:89
bool operator!=(const AcquisitionMode &lhs, const AcquisitionMode &rhs)
Compare two AcquisitionMode objects for non-equality.
Definition: AcquisitionMode.h:306
ExperimentType enumeration.
Definition: ExperimentType.h:72
static const value_map_type & values()
Get a map of valid enum values and string names.
Definition: ExperimentType.cpp:172
std::map< ExperimentType::enum_value, std::string > value_map_type
Value map type.
Definition: ExperimentType.h:183
Colocalization.
Definition: ExperimentType.h:99
Screen.
Definition: ExperimentType.h:87
EnumerationException is thrown when an enumeration is invalid or not found.
Definition: EnumerationException.h:74
Other.
Definition: ExperimentType.h:111
FluorescenceLifetime.
Definition: ExperimentType.h:103
static const string_map_type & lowercase_strings()
Get a map of valid lowercased string names and enum values.
Definition: ExperimentType.cpp:199
FP.
Definition: ExperimentType.h:79
FISH.
Definition: ExperimentType.h:93
Open Microscopy Environment C++ implementation.
enum_value
Enumeration values.
Definition: ExperimentType.h:76
bool operator==(const AcquisitionMode &lhs, const AcquisitionMode &rhs)
Compare two AcquisitionMode objects for equality.
Definition: AcquisitionMode.h:236
std::map< std::string, ExperimentType::enum_value > string_map_type
String map type.
Definition: ExperimentType.h:181
ExperimentType & operator=(const ExperimentType &rhs)
Assignment operator.
Definition: ExperimentType.h:151
Electrophysiology.
Definition: ExperimentType.h:95
TimeLapse.
Definition: ExperimentType.h:83
Photobleaching.
Definition: ExperimentType.h:107
static const string_map_type & strings()
Get a map of valid string names and enum values.
Definition: ExperimentType.cpp:145
PGIDocumentation.
Definition: ExperimentType.h:101
FRET.
Definition: ExperimentType.h:81
SpectralImaging.
Definition: ExperimentType.h:105
enum_value value
Enumeration value.
Definition: ExperimentType.h:211
FourDPlus.
Definition: ExperimentType.h:85
Immunofluorescence.
Definition: ExperimentType.h:91
IonImaging.
Definition: ExperimentType.h:97
ExperimentType(enum_value value)
Construct a ExperimentType enumeration by an enumeration value.
Definition: ExperimentType.cpp:67
const std::string * name
Enumeration name.
Definition: ExperimentType.h:213
SPIM.
Definition: ExperimentType.h:109