Flex
0.17.9
|
#include <yaml-cpp/yaml.h>
#include <filesystem>
#include <string>
#include <vector>
#include "flex/utils/result.h"
#include "glog/logging.h"
Go to the source code of this file.
Namespaces | |
gs | |
gs::config_parsing | |
Functions | |
std::vector< std::string > | gs::get_yaml_files (const std::string &plugin_dir) |
Result< std::string > | gs::get_json_string_from_yaml (const std::string &file_path) |
Result< std::string > | gs::get_json_string_from_yaml (const YAML::Node &node) |
Status | gs::write_yaml_node_to_yaml_string (const YAML::Node &node, YAML::Emitter &emitter) |
Result< std::string > | gs::get_yaml_string_from_yaml_node (const YAML::Node &node) |
template<typename T > | |
bool | gs::config_parsing::get_scalar (YAML::Node node, const std::string &key, T &value) |
template<typename T > | |
bool | gs::config_parsing::get_sequence (YAML::Node node, const std::string &key, std::vector< T > &seq) |
template<typename V > | |
static bool | gs::config_parsing::expect_config (YAML::Node root, const std::string &key, const V &value) |