Sarafun Behavior Trees package
1
Behavior trees for the SARAFun project
Main Page
Data Structures
All
Data Structures
Namespaces
Functions
Variables
Enumerations
Enumerator
tree_generator
include
tree_generator
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
tree_generator::YamlCreator::writeFile
void writeFile(std::string file_path)
Definition:
YamlCreator.cpp:21
tree_generator::YamlCreator::addField
void addField(std::string label, std::string field, int value)
Definition:
YamlCreator.cpp:8
tree_generator::YamlCreator::YamlCreator
YamlCreator()
Definition:
YamlCreator.cpp:5
tree_generator::YamlCreator
Definition:
YamlCreator.hpp:14
tree_generator::YamlCreator::~YamlCreator
~YamlCreator()
Definition:
YamlCreator.cpp:6
tree_generator::YamlCreator::base_node_
YAML::Node base_node_
Definition:
YamlCreator.hpp:30
Generated on Fri Feb 17 2017 11:14:54 for Sarafun Behavior Trees package by
1.8.6