FilamentType enumeration.
More...
#include <ome/xml/model/enums/FilamentType.h>
FilamentType enumeration.
Enumeration values.
Enumerator |
---|
INCANDESCENT |
Incandescent.
|
HALOGEN |
Halogen.
|
OTHER |
Other.
|
ome::xml::model::enums::FilamentType::FilamentType |
( |
enum_value |
value | ) |
|
ome::xml::model::enums::FilamentType::FilamentType |
( |
const std::string & |
name, |
|
|
bool |
strict = true |
|
) |
| |
Construct a FilamentType 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. |
References ome::common::createLogger(), FilamentType(), lowercase_strings(), name, strings(), ome::common::trim(), value, and values().
ome::xml::model::enums::FilamentType::FilamentType |
( |
const FilamentType & |
original | ) |
|
Copy constructor.
- Parameters
-
original | the instance to copy. |
Get a map of valid lowercased string names and enum values.
- Returns
- a map of lowercased string names to enum values.
References HALOGEN, INCANDESCENT, and OTHER.
Referenced by FilamentType().
ome::xml::model::enums::FilamentType::operator const std::string & |
( |
| ) |
const |
|
inline |
Cast the enumeration to its name.
- Returns
- the enumeration value.
References name.
ome::xml::model::enums::FilamentType::operator enum_value |
( |
| ) |
const |
|
inline |
Cast the enumeration to its value.
- Returns
- the enumeration value.
References value.
The documentation for this class was generated from the following files:
- ome/xml/model/enums/FilamentType.h
- ome/xml/model/enums/FilamentType.cpp