atlas
|
Configuration class used to construct various atlas components. More...
#include <Config.h>
Public Member Functions | |
Config (const eckit::PathName &) | |
Constructor starting from a path. | |
Config (std::istream &, const std::string &format="json") | |
Constructor starting from a stream. | |
Config (const eckit::Configuration &) | |
Constructor starting from a Configuration. | |
template<typename ValueT > | |
Config (const std::string &name, const ValueT &value) | |
Constructor immediately setting a value. | |
template<typename ValueT > | |
Config (const std::string &name, std::initializer_list< ValueT > &&value) | |
template<typename ValueT > | |
Config | operator() (const std::string &name, const ValueT &value) |
Operator that sets a key-value pair. | |
template<typename ValueT > | |
Config | operator() (const std::string &name, std::initializer_list< ValueT > &&value) |
Config | operator| (const Config &other) const |
Config & | set (const std::string &name, const std::vector< Config > &) |
Config & | set (const eckit::LocalConfiguration &) |
template<typename T > | |
Config & | set (const std::string &name, std::initializer_list< T > &&value) |
Config & | remove (const std::string &name) |
bool | get (const std::string &name, std::vector< Config > &value) const |
std::vector< std::string > | keys () const |
template<typename ValueT > | |
Config & | set (const std::string &name, std::initializer_list< ValueT > &&value) |
Configuration class used to construct various atlas components.