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

Detailed Description

Definition at line 338 of file yaml_decoders.cc.

Static Public Member Functions

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

Member Function Documentation

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