46 #ifndef OME_XML_MODEL_ENUMS_EXPERIMENTTYPE_H
47 #define OME_XML_MODEL_ENUMS_EXPERIMENTTYPE_H
55 #include <ome/xml/model/enums/EnumerationException.h>
170 operator const std::string& ()
const
185 static const string_map_type&
193 static const value_map_type&
202 static const string_map_type&
262 const std::string& rhs)
264 return static_cast<const std::string&
>(lhs) == rhs;
278 return lhs ==
static_cast<const std::string&
>(rhs);
332 const std::string& rhs)
334 return static_cast<const std::string&
>(lhs) != rhs;
348 return lhs !=
static_cast<const std::string&
>(rhs);
358 template<
class charT,
class traits>
359 inline std::basic_ostream<charT,traits>&
360 operator<< (std::basic_ostream<charT,traits>& os,
363 return os << static_cast<const std::string&>(enumeration);
373 template<
class charT,
class traits>
374 inline std::basic_istream<charT,traits>&
388 is.setstate(std::ios::failbit);
400 #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:381
Immunocytochemistry.
Definition: ExperimentType.h:86
bool operator!=(const AcquisitionMode &lhs, const AcquisitionMode &rhs)
Compare two AcquisitionMode objects for non-equality.
Definition: AcquisitionMode.h:295
ExperimentType enumeration.
Definition: ExperimentType.h:69
static const value_map_type & values()
Get a map of valid enum values and string names.
Definition: ExperimentType.cpp:183
std::map< ExperimentType::enum_value, std::string > value_map_type
Value map type.
Definition: ExperimentType.h:178
Colocalization.
Definition: ExperimentType.h:96
Screen.
Definition: ExperimentType.h:84
EnumerationException is thrown when an enumeration is invalid or not found.
Definition: EnumerationException.h:74
Other.
Definition: ExperimentType.h:108
FluorescenceLifetime.
Definition: ExperimentType.h:100
static const string_map_type & lowercase_strings()
Get a map of valid lowercased string names and enum values.
Definition: ExperimentType.cpp:213
FP.
Definition: ExperimentType.h:76
FISH.
Definition: ExperimentType.h:90
Open Microscopy Environment C++ implementation.
Definition: CoreMetadata.cpp:40
enum_value
Enumeration values.
Definition: ExperimentType.h:73
bool operator==(const AcquisitionMode &lhs, const AcquisitionMode &rhs)
Compare two AcquisitionMode objects for equality.
Definition: AcquisitionMode.h:225
std::map< std::string, ExperimentType::enum_value > string_map_type
String map type.
Definition: ExperimentType.h:176
ExperimentType & operator=(const ExperimentType &rhs)
Assignment operator.
Definition: ExperimentType.h:146
Electrophysiology.
Definition: ExperimentType.h:92
TimeLapse.
Definition: ExperimentType.h:80
Photobleaching.
Definition: ExperimentType.h:104
static const string_map_type & strings()
Get a map of valid string names and enum values.
Definition: ExperimentType.cpp:153
PGIDocumentation.
Definition: ExperimentType.h:98
FRET.
Definition: ExperimentType.h:78
SpectralImaging.
Definition: ExperimentType.h:102
enum_value value
Enumeration value.
Definition: ExperimentType.h:206
FourDPlus.
Definition: ExperimentType.h:82
Immunofluorescence.
Definition: ExperimentType.h:88
IonImaging.
Definition: ExperimentType.h:94
ExperimentType(enum_value value)
Construct a ExperimentType enumeration by an enumeration value.
Definition: ExperimentType.cpp:75
const std::string * name
Enumeration name.
Definition: ExperimentType.h:208
Xerces-C modern C++ wrapper.
Definition: Base.h:53
SPIM.
Definition: ExperimentType.h:106