Definition at line 322 of file yaml_decoders.cc.
|
static bool | decode (const Node &node, module_access_t &rhs) |
|
◆ decode()
static bool YAML::convert< module_access_t >::decode |
( |
const Node & |
node, |
|
|
module_access_t & |
rhs |
|
) |
| |
|
inlinestatic |
Definition at line 323 of file yaml_decoders.cc.
324 {
325 if (node.as<std::string>() == "public")
326 rhs = module_access_t::kPublic;
327 else if (node.as<std::string>() == "private")
328 rhs = module_access_t::kPrivate;
329 else
330 return false;
331
332 return true;
333 }
The documentation for this struct was generated from the following file: