4 #ifndef FIRE_GEAR_GEOM_EVENT_GEOMETRYEVENTTYPE_HPP_INCLUDED
5 #define FIRE_GEAR_GEOM_EVENT_GEOMETRYEVENTTYPE_HPP_INCLUDED
54 std::string value =
"";
56 switch (geometryEventType) {
62 value =
"BeforeUpdate";
66 value =
"AfterUpdate";
70 value =
"BeforeDestroy";
74 value =
"AfterDestroy";
78 }
catch (
const std::exception& exception) {
96 if (
string ==
"Unknown") {
98 }
else if (
string ==
"BeforeUpdate") {
100 }
else if (
string ==
"AfterUpdate") {
102 }
else if (
string ==
"BeforeDestroy") {
103 value = BeforeDestroy;
104 }
else if (
string ==
"AfterDestroy") {
105 value = AfterDestroy;
109 }
catch (
const std::exception& exception) {
GeometryEventType fromString(const std::string &string)
Restituisce il valore di un tipo di evento di geometria data una stringa che rappresenta il valore de...
Definition: GeometryEventType.hpp:93
std::string toString(const GeometryEventType &geometryEventType)
Restituisce la stringa che rappresenta il valore di un tipo di evento di entità dato il valore di un ...
Definition: GeometryEventType.hpp:53
GeometryEventType
Enumerativo per la gestione di un tipo di evento di geometria.
Definition: GeometryEventType.hpp:36