46 #ifndef OME_XML_MODEL_ENUMS_MICROBEAMMANIPULATIONTYPE_H
47 #define OME_XML_MODEL_ENUMS_MICROBEAMMANIPULATIONTYPE_H
55 #include <ome/xml/model/enums/EnumerationException.h>
152 operator const std::string& ()
const
160 typedef std::map<MicrobeamManipulationType::enum_value, std::string>
value_map_type;
167 static const string_map_type&
175 static const value_map_type&
184 static const string_map_type&
244 const std::string& rhs)
246 return static_cast<const std::string&
>(lhs) == rhs;
260 return lhs ==
static_cast<const std::string&
>(rhs);
314 const std::string& rhs)
316 return static_cast<const std::string&
>(lhs) != rhs;
330 return lhs !=
static_cast<const std::string&
>(rhs);
340 template<
class charT,
class traits>
341 inline std::basic_ostream<charT,traits>&
342 operator<< (std::basic_ostream<charT,traits>& os,
345 return os << static_cast<const std::string&>(enumeration);
355 template<
class charT,
class traits>
356 inline std::basic_istream<charT,traits>&
370 is.setstate(std::ios::failbit);
382 #endif // OME_XML_MODEL_ENUMS_MICROBEAMMANIPULATIONTYPE_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
FLIP.
Definition: MicrobeamManipulationType.h:78
EnumerationException is thrown when an enumeration is invalid or not found.
Definition: EnumerationException.h:74
std::map< MicrobeamManipulationType::enum_value, std::string > value_map_type
Value map type.
Definition: MicrobeamManipulationType.h:160
static const string_map_type & strings()
Get a map of valid string names and enum values.
Definition: MicrobeamManipulationType.cpp:153
InverseFRAP.
Definition: MicrobeamManipulationType.h:80
enum_value
Enumeration values.
Definition: MicrobeamManipulationType.h:73
static const value_map_type & values()
Get a map of valid enum values and string names.
Definition: MicrobeamManipulationType.cpp:174
Open Microscopy Environment C++ implementation.
Definition: CoreMetadata.cpp:40
MicrobeamManipulationType & operator=(const MicrobeamManipulationType &rhs)
Assignment operator.
Definition: MicrobeamManipulationType.h:128
bool operator==(const AcquisitionMode &lhs, const AcquisitionMode &rhs)
Compare two AcquisitionMode objects for equality.
Definition: AcquisitionMode.h:225
MicrobeamManipulationType enumeration.
Definition: MicrobeamManipulationType.h:69
std::map< std::string, MicrobeamManipulationType::enum_value > string_map_type
String map type.
Definition: MicrobeamManipulationType.h:158
static const string_map_type & lowercase_strings()
Get a map of valid lowercased string names and enum values.
Definition: MicrobeamManipulationType.cpp:195
enum_value value
Enumeration value.
Definition: MicrobeamManipulationType.h:188
Other.
Definition: MicrobeamManipulationType.h:90
Photoablation.
Definition: MicrobeamManipulationType.h:82
Uncaging.
Definition: MicrobeamManipulationType.h:86
Photoactivation.
Definition: MicrobeamManipulationType.h:84
const std::string * name
Enumeration name.
Definition: MicrobeamManipulationType.h:190
MicrobeamManipulationType(enum_value value)
Construct a MicrobeamManipulationType enumeration by an enumeration value.
Definition: MicrobeamManipulationType.cpp:75
OpticalTrapping.
Definition: MicrobeamManipulationType.h:88
FRAP.
Definition: MicrobeamManipulationType.h:76
Xerces-C modern C++ wrapper.
Definition: Base.h:53