Go to the source code of this file.
|
using | json = nlohmann::json |
|
◆ STYLE_READ_BOOL
#define STYLE_READ_BOOL |
( |
| values, |
|
|
| variable ) |
Value: { \
auto valueRef = values[#variable]; \
if(valueRef.is_boolean()){ \
variable = valueRef; \
}\
else { \
Wt::log("error") << "Error with Json"; \
}\
}
Definition at line 51 of file WtNodeStyle.cpp.
◆ STYLE_READ_COLOR
#define STYLE_READ_COLOR |
( |
| values, |
|
|
| variable ) |
◆ STYLE_READ_FLOAT
#define STYLE_READ_FLOAT |
( |
| values, |
|
|
| variable ) |
Value: { \
auto valueRef = values[#variable]; \
if(!valueRef.is_boolean()) { \
if(valueRef.is_number_float()) { \
variable = valueRef; \
}\
else { \
Wt::log("error") << "Error with Json"; \
}\
} \
}
Definition at line 39 of file WtNodeStyle.cpp.
◆ json
using json = nlohmann::json |