46 #ifndef OME_XML_MODEL_PRIMITIVES_FREQUENCYQUANTITY_H 47 #define OME_XML_MODEL_PRIMITIVES_FREQUENCYQUANTITY_H 54 #include <ome/xml/model/primitives/Quantity.h> 179 operator const std::string& ()
const 194 static const string_map_type&
202 static const value_map_type&
211 static const string_map_type&
271 const std::string& rhs)
273 return static_cast<const std::string&
>(lhs) == rhs;
287 return lhs ==
static_cast<const std::string&
>(rhs);
341 const std::string& rhs)
343 return static_cast<const std::string&
>(lhs) != rhs;
357 return lhs !=
static_cast<const std::string&
>(rhs);
367 template<
class charT,
class traits>
368 inline std::basic_ostream<charT,traits>&
369 operator<< (std::basic_ostream<charT,traits>& os,
372 return os << static_cast<const std::string&>(enumeration);
382 template<
class charT,
class traits>
383 inline std::basic_istream<charT,traits>&
395 catch (
const EnumerationException&)
397 is.setstate(std::ios::failbit);
409 #endif // OME_XML_MODEL_PRIMITIVES_FREQUENCYQUANTITY_H microhertz unit.
Definition: FrequencyQuantity.h:103
static const string_map_type & lowercase_strings()
Get a map of valid lowercased string names and enum values.
zeptohertz unit.
Definition: FrequencyQuantity.h:113
UnitsFrequency & operator=(const UnitsFrequency &rhs)
Assignment operator.
Definition: FrequencyQuantity.h:155
std::map< UnitsFrequency::enum_value, std::string > value_map_type
Value map type.
Definition: FrequencyQuantity.h:187
bool operator!=(const Color &lhs, const Color &rhs)
Compare two Color objects for non-equality.
Definition: Color.h:392
terahertz unit.
Definition: FrequencyQuantity.h:83
std::map< std::string, UnitsFrequency::enum_value > string_map_type
String map type.
Definition: FrequencyQuantity.h:185
zettahertz unit.
Definition: FrequencyQuantity.h:77
femtohertz unit.
Definition: FrequencyQuantity.h:109
yottahertz unit.
Definition: FrequencyQuantity.h:75
decihertz unit.
Definition: FrequencyQuantity.h:97
centihertz unit.
Definition: FrequencyQuantity.h:99
yoctohertz unit.
Definition: FrequencyQuantity.h:115
static const value_map_type & values()
Get a map of valid enum values and string names.
kilohertz unit.
Definition: FrequencyQuantity.h:89
static const string_map_type & strings()
Get a map of valid string names and enum values.
UnitsFrequency(enum_value value)
Construct a UnitsFrequency quantity by an enumeration value.
UnitsFrequency enumeration.
Definition: FrequencyQuantity.h:68
Open Microscopy Environment C++ implementation.
enum_value
Enumeration values.
Definition: FrequencyQuantity.h:72
bool operator==(const Color &lhs, const Color &rhs)
Compare two Color objects for equality.
Definition: Color.h:322
millihertz unit.
Definition: FrequencyQuantity.h:101
petahertz unit.
Definition: FrequencyQuantity.h:81
megahertz unit.
Definition: FrequencyQuantity.h:87
hectohertz unit.
Definition: FrequencyQuantity.h:91
picohertz unit.
Definition: FrequencyQuantity.h:107
hertz unit.
Definition: FrequencyQuantity.h:95
std::basic_istream< charT, traits > & operator>>(std::basic_istream< charT, traits > &is, Color &color)
Set Color from input stream.
Definition: Color.h:478
gigahertz unit.
Definition: FrequencyQuantity.h:85
const std::string * name
Enumeration name.
Definition: FrequencyQuantity.h:217
exahertz unit.
Definition: FrequencyQuantity.h:79
enum_value value
Enumeration value.
Definition: FrequencyQuantity.h:215
attohertz unit.
Definition: FrequencyQuantity.h:111
nanohertz unit.
Definition: FrequencyQuantity.h:105
decahertz unit.
Definition: FrequencyQuantity.h:93