Definition at line 338 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 339 of file yaml_decoders.cc.
340 {
341 if (node.as<std::string>() == "inward")
342 rhs = context_direction_t::inward;
343 else if (node.as<std::string>() == "outward")
344 rhs = context_direction_t::outward;
345 else if (node.as<std::string>() == "any")
346 rhs = context_direction_t::any;
347 else
348 return false;
349
350 return true;
351 }
The documentation for this struct was generated from the following file: