Config class

Configuration class used to construct various atlas components.

Base classes

class eckit::LocalConfiguration

Derived classes

struct atlas::linalg::dense::Backend
struct atlas::linalg::sparse::Backend
class atlas::option::alignment
class atlas::option::datatype
template<typename T>
class atlas::option::datatypeT
class atlas::option::fft
class atlas::option::flt
class atlas::option::global
class atlas::option::halo
class atlas::option::levels
class atlas::option::name
class atlas::option::nproma
class atlas::option::pole_edges
class atlas::option::radius
class atlas::option::read_fft
class atlas::option::read_legendre
class atlas::option::scalar_derivatives
class atlas::option::shape
class atlas::option::split_latitudes
class atlas::option::type
class atlas::option::variables
class atlas::option::vector
class atlas::option::vorticity_divergence_fields
class atlas::option::warning
class atlas::option::wind_EW_derivatives
class atlas::option::write_fft
class atlas::option::write_legendre
class atlas::util::NoConfig

Constructors, destructors, conversion operators

Config()
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.
Config(const std::string& name, const std::string_view value)
template<typename ValueT>
Config(const std::string& name, std::initializer_list<ValueT>&& value)

Public functions

template<typename ValueT>
auto operator()(const std::string& name, const ValueT& value) -> Config
Operator that sets a key-value pair.
template<typename ValueT>
auto operator()(const std::string& name, std::initializer_list<ValueT>&& value) -> Config
auto operator|(const eckit::Configuration& other) const -> Config
auto set(const std::string& name, const std::vector<Config>&) -> Config&
auto set(const eckit::Configuration&) -> Config&
template<typename T>
auto set(const std::string& name, std::initializer_list<T>&& value) -> Config&
template<typename ValueT>
auto set(const std::string& name, std::initializer_list<ValueT>&& value) -> Config&
auto remove(const std::string& name) -> Config&
auto get(const std::string& name, std::vector<Config>& value) const -> bool
auto keys() const -> std::vector<std::string>
auto json(eckit::JSON::Formatting = eckit::JSON::Formatting::indent()) const -> std::string
auto set(const std::string& name, const std::string& value) -> LocalConfiguration& override
Set a key-value parameter.
auto set(const std::string& name, const char* value) -> LocalConfiguration& override
Set a key-value parameter.
auto set(const std::string& name, bool value) -> LocalConfiguration& override
Set a key-value parameter.
auto set(const std::string& name, int value) -> LocalConfiguration& override
Set a key-value parameter.
auto set(const std::string& name, long value) -> LocalConfiguration& override
Set a key-value parameter.
auto set(const std::string& name, long long value) -> LocalConfiguration&
Set a key-value parameter.
auto set(const std::string& name, size_t value) -> LocalConfiguration& override
Set a key-value parameter.
auto set(const std::string& name, float value) -> LocalConfiguration& override
Set a key-value parameter.
auto set(const std::string& name, double value) -> LocalConfiguration& override
Set a key-value parameter.
auto set(const std::string& name, const std::vector<int>& value) -> LocalConfiguration& override
Set a key-value parameter.
auto set(const std::string& name, const std::vector<long>& value) -> LocalConfiguration& override
Set a key-value parameter.
auto set(const std::string& name, const std::vector<long long>& value) -> LocalConfiguration&
Set a key-value parameter.
auto set(const std::string& name, const std::vector<size_t>& value) -> LocalConfiguration& override
Set a key-value parameter.
auto set(const std::string& name, const std::vector<float>& value) -> LocalConfiguration& override
Set a key-value parameter.
auto set(const std::string& name, const std::vector<double>& value) -> LocalConfiguration& override
Set a key-value parameter.
auto set(const std::string& name, const std::vector<std::string>& value) -> LocalConfiguration& override
Set a key-value parameter.
auto set(const std::string& name, const Configuration& value) -> LocalConfiguration&
Set a key-value parameter.
template<typename ConfigurationT, typename = std::enable_if_t<std::is_base_of_v<Configuration, std::decay_t<ConfigurationT>>>>
auto set(const std::string& name, const std::vector<ConfigurationT>& value) -> LocalConfiguration&
Set a key-value parameter.
template<typename ConfigurationT, typename = std::enable_if_t<std::is_base_of_v<Configuration, std::decay_t<ConfigurationT>>>>
auto set(const std::string& name, std::initializer_list<ConfigurationT>&& value) -> LocalConfiguration&
Set a key-value parameter.
This website is beyond its original expiry date and the content may be out of date. The site owner has been notified and may choose to extend the expiry date and remove this banner. If you have any questions about this, please visit our support portal.