0.6.0
C++ to UML diagram generator based on Clang
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
YAML::convert< module_access_t > Struct Reference

Detailed Description

Definition at line 322 of file yaml_decoders.cc.

Static Public Member Functions

static bool decode (const Node &node, module_access_t &rhs)
 

Member Function Documentation

◆ 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: