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

Detailed Description

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

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

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