Definition at line 281 of file yaml_decoders.cc.
|
static bool | decode (const Node &node, context_direction_t &rhs) |
|
◆ decode()
static bool YAML::convert< context_direction_t >::decode |
( |
const Node & |
node, |
|
|
context_direction_t & |
rhs |
|
) |
| |
|
inlinestatic |
Definition at line 282 of file yaml_decoders.cc.
283 {
284 if (node.as<std::string>() == "inward")
285 rhs = context_direction_t::inward;
286 else if (node.as<std::string>() == "outward")
287 rhs = context_direction_t::outward;
288 else if (node.as<std::string>() == "any")
289 rhs = context_direction_t::any;
290 else
291 return false;
292
293 return true;
294 }
The documentation for this struct was generated from the following file: