Datatype that represents YAML with substituted variables. More...
#include <chrono>
#include <cstdint>
#include <optional>
#include <string>
#include <string_view>
#include <userver/formats/parse/common.hpp>
#include <userver/formats/parse/common_containers.hpp>
#include <userver/formats/yaml/value.hpp>
#include <userver/yaml_config/iterator.hpp>
Go to the source code of this file.
Classes | |
class | yaml_config::YamlConfig |
Datatype that represents YAML with substituted variables. More... | |
struct | yaml_config::YamlConfig::IterTraits |
struct | yaml_config::YamlConfig::DefaultConstructed |
Namespaces | |
namespace | yaml_config |
Utilities to work with static YAML config. | |
Typedefs | |
using | yaml_config::Exception = formats::yaml::Exception |
using | yaml_config::ParseException = formats::yaml::ParseException |
Functions | |
template<> | |
std::string | yaml_config::YamlConfig::As< std::string > () const |
std::chrono::seconds | yaml_config::Parse (const YamlConfig &value, formats::parse::To< std::chrono::seconds >) |
Parses duration from string, understands suffixes: ms, s, m, h, d. | |
std::chrono::milliseconds | yaml_config::Parse (const YamlConfig &value, formats::parse::To< std::chrono::milliseconds >) |
Parses duration from string, understands suffixes: ms, s, m, h, d. | |
Datatype that represents YAML with substituted variables.
Definition in file yaml_config.hpp.