Go to the source code of this file.
◆ ADD_SCALAR_SETTER
#define ADD_SCALAR_SETTER |
( |
|
container, |
|
|
|
name, |
|
|
|
type |
|
) |
| |
Value: container [ #name ] = [](
\
const std::vector<std::string>&
split, \
const ConverterValue &
value) \
{ \
dto. name [
split.at(1)] = getValueAs< type >(
value); \
}
◆ ADD_VECTOR3_SETTER
#define ADD_VECTOR3_SETTER |
( |
|
container, |
|
|
|
name, |
|
|
|
type |
|
) |
| |
Value: container [ #name ] = [
this](
\
const std::vector<std::string>&
split, \
const ConverterValue &
value) \
{ \
auto& vec = dto. name [
split.at(1)]; \
auto& setter = this->vector3fSetters.at(
split.at(3)); \
setter(vec, getValueAs< type >(
value)); \
}