Sarafun Behavior Trees package  1
Behavior trees for the SARAFun project
 All Data Structures Namespaces Functions Variables Enumerations Enumerator
YamlCreator.hpp
1 #ifndef __YAML_CREATOR__
2 #define __YAML_CREATOR__
3 
4 #include <fstream>
5 #include <yaml-cpp/yaml.h>
6 
7 namespace tree_generator{
14  class YamlCreator {
15  public:
16  YamlCreator();
17  ~YamlCreator();
18 
27  void addField(std::string label, std::string field, int value);
28  void writeFile(std::string file_path);
29  private:
30  YAML::Node base_node_;
31  };
32 }
33 #endif
void writeFile(std::string file_path)
Definition: YamlCreator.cpp:21
void addField(std::string label, std::string field, int value)
Definition: YamlCreator.cpp:8