46 #ifndef OME_XML_MODEL_ENUMS_MICROBEAMMANIPULATIONTYPE_H 47 #define OME_XML_MODEL_ENUMS_MICROBEAMMANIPULATIONTYPE_H 55 #include <ome/xml/model/enums/EnumerationException.h> 58 #define OME_XML_MODEL_ENUMS_MICROBEAMMANIPULATIONTYPE_VALUES (FRAP)(FLIP)(INVERSEFRAP)(PHOTOABLATION)(PHOTOACTIVATION)(UNCAGING)(OPTICALTRAPPING)(OTHER) 157 operator const std::string& ()
const 165 typedef std::map<MicrobeamManipulationType::enum_value, std::string>
value_map_type;
172 static const string_map_type&
180 static const value_map_type&
189 static const string_map_type&
249 const std::string& rhs)
251 return static_cast<const std::string&
>(lhs) == rhs;
265 return lhs ==
static_cast<const std::string&
>(rhs);
319 const std::string& rhs)
321 return static_cast<const std::string&
>(lhs) != rhs;
335 return lhs !=
static_cast<const std::string&
>(rhs);
345 template<
class charT,
class traits>
346 inline std::basic_ostream<charT,traits>&
347 operator<< (std::basic_ostream<charT,traits>& os,
350 return os << static_cast<const std::string&>(enumeration);
360 template<
class charT,
class traits>
361 inline std::basic_istream<charT,traits>&
375 is.setstate(std::ios::failbit);
387 #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:392
bool operator!=(const AcquisitionMode &lhs, const AcquisitionMode &rhs)
Compare two AcquisitionMode objects for non-equality.
Definition: AcquisitionMode.h:306
FLIP.
Definition: MicrobeamManipulationType.h:81
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:165
static const string_map_type & strings()
Get a map of valid string names and enum values.
Definition: MicrobeamManipulationType.cpp:145
InverseFRAP.
Definition: MicrobeamManipulationType.h:83
enum_value
Enumeration values.
Definition: MicrobeamManipulationType.h:76
static const value_map_type & values()
Get a map of valid enum values and string names.
Definition: MicrobeamManipulationType.cpp:163
Open Microscopy Environment C++ implementation.
MicrobeamManipulationType & operator=(const MicrobeamManipulationType &rhs)
Assignment operator.
Definition: MicrobeamManipulationType.h:133
bool operator==(const AcquisitionMode &lhs, const AcquisitionMode &rhs)
Compare two AcquisitionMode objects for equality.
Definition: AcquisitionMode.h:236
MicrobeamManipulationType enumeration.
Definition: MicrobeamManipulationType.h:72
std::map< std::string, MicrobeamManipulationType::enum_value > string_map_type
String map type.
Definition: MicrobeamManipulationType.h:163
static const string_map_type & lowercase_strings()
Get a map of valid lowercased string names and enum values.
Definition: MicrobeamManipulationType.cpp:181
enum_value value
Enumeration value.
Definition: MicrobeamManipulationType.h:193
Other.
Definition: MicrobeamManipulationType.h:93
Photoablation.
Definition: MicrobeamManipulationType.h:85
Uncaging.
Definition: MicrobeamManipulationType.h:89
Photoactivation.
Definition: MicrobeamManipulationType.h:87
const std::string * name
Enumeration name.
Definition: MicrobeamManipulationType.h:195
MicrobeamManipulationType(enum_value value)
Construct a MicrobeamManipulationType enumeration by an enumeration value.
Definition: MicrobeamManipulationType.cpp:67
OpticalTrapping.
Definition: MicrobeamManipulationType.h:91
FRAP.
Definition: MicrobeamManipulationType.h:79