Unify Framework Lib 1.6.0
|
YAML Parser for Boost Program Options Config file. More...
#include <algorithm>
#include <set>
#include <string>
#include <stdexcept>
#include <yaml-cpp/yaml.h>
#include <boost/program_options/parsers.hpp>
#include <boost/program_options/options_description.hpp>
Go to the source code of this file.
Classes | |
class | yaml_parser |
YAML Parser for Boost Program Options Config file.
Parse YAML configuration file for Unify. Each configuration name is prepended with its parent, e.g. for following YAML mqtt: host: 127.0.0.1 port: 1883 zpc: serial_port: /dev/ttyUSB0 will parse to following configurations: "mqtt.host", "mqtt.port", and "zpc.serial_port".