atlas
Public Member Functions | List of all members
atlas::util::Config Class Reference

Configuration class used to construct various atlas components. More...

#include <Config.h>

Inheritance diagram for atlas::util::Config:
Inheritance graph
[legend]
Collaboration diagram for atlas::util::Config:
Collaboration graph
[legend]

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
 
Configset (const std::string &name, const std::vector< Config > &)
 
Configset (const eckit::LocalConfiguration &)
 
template<typename T >
Configset (const std::string &name, std::initializer_list< T > &&value)
 
Configremove (const std::string &name)
 
bool get (const std::string &name, std::vector< Config > &value) const
 
std::vector< std::string > keys () const
 
template<typename ValueT >
Configset (const std::string &name, std::initializer_list< ValueT > &&value)
 

Detailed Description

Configuration class used to construct various atlas components.


The documentation for this class was generated from the following files: