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< access_t > Struct Reference

Detailed Description

Definition at line 303 of file yaml_decoders.cc.

Static Public Member Functions

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

Member Function Documentation

◆ decode()

static bool YAML::convert< access_t >::decode ( const Node &  node,
access_t &  rhs 
)
inlinestatic

Definition at line 304 of file yaml_decoders.cc.

305 {
306 if (node.as<std::string>() == "public")
307 rhs = access_t::kPublic;
308 else if (node.as<std::string>() == "protected")
309 rhs = access_t::kProtected;
310 else if (node.as<std::string>() == "private")
311 rhs = access_t::kPrivate;
312 else
313 return false;
314
315 return true;
316 }

The documentation for this struct was generated from the following file: