UnitsPressure enumeration.
More...
#include <ome/xml/model/primitives/PressureQuantity.h>
|
enum | enum_value {
YOTTAPASCAL,
ZETTAPASCAL,
EXAPASCAL,
PETAPASCAL,
TERAPASCAL,
GIGAPASCAL,
MEGAPASCAL,
KILOPASCAL,
HECTOPASCAL,
DECAPASCAL,
PASCAL,
DECIPASCAL,
CENTIPASCAL,
MILLIPASCAL,
MICROPASCAL,
NANOPASCAL,
PICOPASCAL,
FEMTOPASCAL,
ATTOPASCAL,
ZEPTOPASCAL,
YOCTOPASCAL,
BAR,
MEGABAR,
KILOBAR,
DECIBAR,
CENTIBAR,
MILLIBAR,
ATMOSPHERE,
PSI,
TORR,
MILLITORR,
MMHG
} |
| Enumeration values. More...
|
|
typedef std::map< std::string, UnitsPressure::enum_value > | string_map_type |
| String map type.
|
|
typedef std::map< UnitsPressure::enum_value, std::string > | value_map_type |
| Value map type.
|
|
UnitsPressure enumeration.
◆ enum_value
Enumeration values.
Enumerator |
---|
YOTTAPASCAL | yottapascal SI unit.
|
ZETTAPASCAL | zettapascal SI unit.
|
EXAPASCAL | exapascal SI unit.
|
PETAPASCAL | petapascal SI unit.
|
TERAPASCAL | terapascal SI unit.
|
GIGAPASCAL | gigapascal SI unit.
|
MEGAPASCAL | megapascal SI unit.
|
KILOPASCAL | kilopascal SI unit.
|
HECTOPASCAL | hectopascal SI unit.
|
DECAPASCAL | decapascal SI unit.
|
PASCAL | pascal SI unit. Note the C++ enum is mixed case due to PASCAL being a macro used by the Microsoft C and C++ compiler.
|
DECIPASCAL | decipascal SI unit.
|
CENTIPASCAL | centipascal SI unit.
|
MILLIPASCAL | millipascal SI unit.
|
MICROPASCAL | micropascal SI unit.
|
NANOPASCAL | nanopascal SI unit.
|
PICOPASCAL | picopascal SI unit.
|
FEMTOPASCAL | femtopascal SI unit.
|
ATTOPASCAL | attopascal SI unit.
|
ZEPTOPASCAL | zeptopascal SI unit.
|
YOCTOPASCAL | yoctopascal SI unit.
|
BAR | bar SI-derived unit.
|
MEGABAR | megabar SI-derived unit.
|
KILOBAR | kilobar SI-derived unit.
|
DECIBAR | decibar SI-derived unit.
|
CENTIBAR | centibar SI-derived unit.
|
MILLIBAR | millibar SI-derived unit.
|
ATMOSPHERE | standard atmosphere SI-derived unit.
|
PSI | pound-force per square inch Imperial unit.
|
TORR | torr SI-derived unit.
|
MILLITORR | millitorr SI-derived unit.
|
MMHG | millimetre of mercury SI-derived unit
|
◆ UnitsPressure() [1/3]
ome::xml::model::primitives::UnitsPressure::UnitsPressure |
( |
enum_value |
value | ) |
|
◆ UnitsPressure() [2/3]
ome::xml::model::primitives::UnitsPressure::UnitsPressure |
( |
const std::string & |
name, |
|
|
bool |
strict = true |
|
) |
| |
Construct a UnitsPressure enumeration by an enumeration name.
Exact matching of the name will require the name to match one of the valid enumeration names. Inexact matching will strip leading and trailing whitespace and perform a case-insensitive match. Exact matching is recommended for use in program code which does not process user input; inexact matching is recommended when processing potentially malformed user input.
- Parameters
-
name | the name of the enumeration. |
strict | true to require an exact name, false to allow an inexact match. |
◆ UnitsPressure() [3/3]
ome::xml::model::primitives::UnitsPressure::UnitsPressure |
( |
const UnitsPressure & |
original | ) |
|
Copy constructor.
- Parameters
-
original | the instance to copy. |
◆ lowercase_strings()
static const string_map_type& ome::xml::model::primitives::UnitsPressure::lowercase_strings |
( |
| ) |
|
|
staticprivate |
Get a map of valid lowercased string names and enum values.
- Returns
- a map of lowercased string names to enum values.
◆ operator const std::string &()
ome::xml::model::primitives::UnitsPressure::operator const std::string & |
( |
| ) |
const |
|
inline |
Cast the enumeration to its name.
- Returns
- the enumeration value.
References name.
◆ operator enum_value()
ome::xml::model::primitives::UnitsPressure::operator enum_value |
( |
| ) |
const |
|
inline |
Cast the enumeration to its value.
- Returns
- the enumeration value.
References value.
◆ operator=()
Assignment operator.
- Parameters
-
rhs | the quantity to assign. |
- Returns
- the assigned quantity.
References name, and value.
◆ strings()
static const string_map_type& ome::xml::model::primitives::UnitsPressure::strings |
( |
| ) |
|
|
static |
Get a map of valid string names and enum values.
- Returns
- a map of string names to enum values.
◆ values()
static const value_map_type& ome::xml::model::primitives::UnitsPressure::values |
( |
| ) |
|
|
static |
Get a map of valid enum values and string names.
- Returns
- a map of enum values to string names.
The documentation for this class was generated from the following file: