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

Detailed Description

Definition at line 640 of file yaml_decoders.cc.

Static Public Member Functions

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

Member Function Documentation

◆ decode()

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

Definition at line 641 of file yaml_decoders.cc.

642 {
643 if (node["branch"])
644 rhs.branch = node["branch"].as<decltype(rhs.branch)>();
645
646 if (node["revision"])
647 rhs.revision = node["revision"].as<decltype(rhs.revision)>();
648
649 if (node["commit"])
650 rhs.commit = node["commit"].as<decltype(rhs.commit)>();
651
652 if (node["toplevel"])
653 rhs.toplevel = node["toplevel"].as<decltype(rhs.toplevel)>();
654
655 return true;
656 }

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