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

Detailed Description

Definition at line 767 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 768 of file yaml_decoders.cc.

769 {
770 if (node["branch"])
771 rhs.branch = node["branch"].as<decltype(rhs.branch)>();
772
773 if (node["revision"])
774 rhs.revision = node["revision"].as<decltype(rhs.revision)>();
775
776 if (node["commit"])
777 rhs.commit = node["commit"].as<decltype(rhs.commit)>();
778
779 if (node["toplevel"])
780 rhs.toplevel = node["toplevel"].as<decltype(rhs.toplevel)>();
781
782 return true;
783 }

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