Definition at line 321 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 322 of file yaml_decoders.cc.
323 {
324 if (node.as<std::string>() == "public")
325 rhs = module_access_t::kPublic;
326 else if (node.as<std::string>() == "private")
327 rhs = module_access_t::kPrivate;
328 else
329 return false;
330
331 return true;
332 }
The documentation for this struct was generated from the following file: