atlas::io::Metadata class

Base classes

class atlas::util::Config
Configuration class used to construct various atlas components.

Public functions

auto link() const -> Link
auto type() const -> Type
void link(atlas::io::Metadata&&)
auto json() const -> std::string
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 Config& other) const -> Config
auto set(const std::string& name, const std::vector<Config>&) -> Config&
auto set(const eckit::LocalConfiguration&) -> 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 set(const std::string& name, const std::string& value) -> LocalConfiguration& override
auto set(const std::string& name, const char* value) -> LocalConfiguration& override
auto set(const std::string& name, bool value) -> LocalConfiguration& override
auto set(const std::string& name, int value) -> LocalConfiguration& override
auto set(const std::string& name, long value) -> LocalConfiguration& override
auto set(const std::string& name, long long value) -> LocalConfiguration&
auto set(const std::string& name, size_t value) -> LocalConfiguration& override
auto set(const std::string& name, float value) -> LocalConfiguration& override
auto set(const std::string& name, double value) -> LocalConfiguration& override
auto set(const std::string& name, const std::vector<int>& value) -> LocalConfiguration& override
auto set(const std::string& name, const std::vector<long>& value) -> LocalConfiguration& override
auto set(const std::string& name, const std::vector<long long>& value) -> LocalConfiguration&
auto set(const std::string& name, const std::vector<size_t>& value) -> LocalConfiguration& override
auto set(const std::string& name, const std::vector<float>& value) -> LocalConfiguration& override
auto set(const std::string& name, const std::vector<double>& value) -> LocalConfiguration& override
auto set(const std::string& name, const std::vector<std::string>& value) -> LocalConfiguration& override
auto set(const std::string& name, const LocalConfiguration& value) -> LocalConfiguration&
auto set(const std::string& name, const std::vector<LocalConfiguration>& value) -> LocalConfiguration&
auto remove(const std::string& name) -> Config&
auto get(const std::string& name, std::vector<Config>& value) const -> bool
auto get(const std::string& name, std::string& value) const -> bool override
auto get(const std::string& name, bool& value) const -> bool override
auto get(const std::string& name, int& value) const -> bool override
auto get(const std::string& name, long& value) const -> bool override
auto get(const std::string& name, long long& value) const -> bool override
auto get(const std::string& name, std::size_t& value) const -> bool override
auto get(const std::string& name, float& value) const -> bool override
auto get(const std::string& name, double& value) const -> bool override
auto get(const std::string& name, std::vector<int>& value) const -> bool override
auto get(const std::string& name, std::vector<long>& value) const -> bool override
auto get(const std::string& name, std::vector<long long>& value) const -> bool override
auto get(const std::string& name, std::vector<std::size_t>& value) const -> bool override
auto get(const std::string& name, std::vector<float>& value) const -> bool override
auto get(const std::string& name, std::vector<double>& value) const -> bool override
auto get(const std::string& name, std::vector<std::string>& value) const -> bool override
auto get(const std::string& name, std::vector<LocalConfiguration>&) const -> bool
auto get(const std::string& name, LocalConfiguration&) const -> bool
auto get() const -> const Value&
auto get(const std::string& name, size_t& value) const -> bool pure virtual
auto get(const std::string& name, std::vector<size_t>& value) const -> bool pure virtual
auto keys() const -> std::vector<std::string>
auto getBool(const std::string& name) const -> bool
auto getBool(const std::string& name, const bool& defaultValue) const -> bool
auto getInt(const std::string& name) const -> int
auto getInt(const std::string& name, const int& defaultValue) const -> int
auto getLong(const std::string& name) const -> long
auto getLong(const std::string& name, const long& defaultValue) const -> long
auto getUnsigned(const std::string& name) const -> std::size_t
auto getUnsigned(const std::string& name, const std::size_t& defaultValue) const -> std::size_t
auto getInt32(const std::string& name) const -> std::int32_t
auto getInt32(const std::string& name, const std::int32_t& defaultValue) const -> std::int32_t
auto getInt64(const std::string& name) const -> std::int64_t
auto getInt64(const std::string& name, const std::int64_t& defaultValue) const -> std::int64_t
auto getFloat(const std::string& name) const -> float
auto getFloat(const std::string& name, const float& defaultValue) const -> float
auto getDouble(const std::string& name) const -> double
auto getDouble(const std::string& name, const double& defaultValue) const -> double
auto getString(const std::string& name) const -> std::string
auto getString(const std::string& name, const std::string& defaultValue) const -> std::string
auto getIntVector(const std::string& name) const -> std::vector<int>
auto getIntVector(const std::string& name, const std::vector<int>& defaultValue) const -> std::vector<int>
auto getLongVector(const std::string& name) const -> std::vector<long>
auto getLongVector(const std::string& name, const std::vector<long>& defaultValue) const -> std::vector<long>
auto getUnsignedVector(const std::string& name) const -> std::vector<std::size_t>
auto getUnsignedVector(const std::string& name, const std::vector<std::size_t>& defaultValue) const -> std::vector<std::size_t>
auto getInt32Vector(const std::string& name) const -> std::vector<std::int32_t>
auto getInt32Vector(const std::string& name, const std::vector<std::int32_t>& defaultValue) const -> std::vector<std::int32_t>
auto getInt64Vector(const std::string& name) const -> std::vector<std::int64_t>
auto getInt64Vector(const std::string& name, const std::vector<std::int64_t>& defaultValue) const -> std::vector<std::int64_t>
auto getFloatVector(const std::string& name) const -> std::vector<float>
auto getFloatVector(const std::string& name, const std::vector<float>& defaultValue) const -> std::vector<float>
auto getDoubleVector(const std::string& name) const -> std::vector<double>
auto getDoubleVector(const std::string& name, const std::vector<double>& defaultValue) const -> std::vector<double>
auto getStringVector(const std::string& name) const -> std::vector<std::string>
auto getStringVector(const std::string& name, const std::vector<std::string>& defaultValue) const -> std::vector<std::string>
auto empty() const -> bool
auto getSubConfigurations(const std::string& name) const -> std::vector<LocalConfiguration>
auto getSubConfigurations() const -> std::vector<LocalConfiguration>
auto getSubConfiguration(const std::string& name) const -> LocalConfiguration
auto separator() const -> char
auto has(const std::string& name) const -> bool override
void hash(eckit::Hash&) const virtual

Public variables

DataInfo data
RecordInfo record

Function documentation

template<typename ValueT>
Config atlas::io::Metadata::operator()(const std::string& name, const ValueT& value)

Operator that sets a key-value pair.

template<typename ValueT>
Config atlas::io::Metadata::operator()(const std::string& name, std::initializer_list<ValueT>&& value)

Config atlas::io::Metadata::operator|(const Config& other) const

Config& atlas::io::Metadata::set(const std::string& name, const std::vector<Config>&)

Config& atlas::io::Metadata::set(const eckit::LocalConfiguration&)

template<typename T>
Config& atlas::io::Metadata::set(const std::string& name, std::initializer_list<T>&& value)

template<typename ValueT>
Config& atlas::io::Metadata::set(const std::string& name, std::initializer_list<ValueT>&& value)

LocalConfiguration& atlas::io::Metadata::set(const std::string& name, const std::string& value) override

LocalConfiguration& atlas::io::Metadata::set(const std::string& name, const char* value) override

LocalConfiguration& atlas::io::Metadata::set(const std::string& name, bool value) override

LocalConfiguration& atlas::io::Metadata::set(const std::string& name, int value) override

LocalConfiguration& atlas::io::Metadata::set(const std::string& name, long value) override

LocalConfiguration& atlas::io::Metadata::set(const std::string& name, long long value)

LocalConfiguration& atlas::io::Metadata::set(const std::string& name, size_t value) override

LocalConfiguration& atlas::io::Metadata::set(const std::string& name, float value) override

LocalConfiguration& atlas::io::Metadata::set(const std::string& name, double value) override

LocalConfiguration& atlas::io::Metadata::set(const std::string& name, const std::vector<int>& value) override

LocalConfiguration& atlas::io::Metadata::set(const std::string& name, const std::vector<long>& value) override

LocalConfiguration& atlas::io::Metadata::set(const std::string& name, const std::vector<long long>& value)

LocalConfiguration& atlas::io::Metadata::set(const std::string& name, const std::vector<size_t>& value) override

LocalConfiguration& atlas::io::Metadata::set(const std::string& name, const std::vector<float>& value) override

LocalConfiguration& atlas::io::Metadata::set(const std::string& name, const std::vector<double>& value) override

LocalConfiguration& atlas::io::Metadata::set(const std::string& name, const std::vector<std::string>& value) override

LocalConfiguration& atlas::io::Metadata::set(const std::string& name, const LocalConfiguration& value)

LocalConfiguration& atlas::io::Metadata::set(const std::string& name, const std::vector<LocalConfiguration>& value)

Config& atlas::io::Metadata::remove(const std::string& name)

bool atlas::io::Metadata::get(const std::string& name, std::vector<Config>& value) const

bool atlas::io::Metadata::get(const std::string& name, std::string& value) const override

bool atlas::io::Metadata::get(const std::string& name, bool& value) const override

bool atlas::io::Metadata::get(const std::string& name, int& value) const override

bool atlas::io::Metadata::get(const std::string& name, long& value) const override

bool atlas::io::Metadata::get(const std::string& name, long long& value) const override

bool atlas::io::Metadata::get(const std::string& name, std::size_t& value) const override

bool atlas::io::Metadata::get(const std::string& name, float& value) const override

bool atlas::io::Metadata::get(const std::string& name, double& value) const override

bool atlas::io::Metadata::get(const std::string& name, std::vector<int>& value) const override

bool atlas::io::Metadata::get(const std::string& name, std::vector<long>& value) const override

bool atlas::io::Metadata::get(const std::string& name, std::vector<long long>& value) const override

bool atlas::io::Metadata::get(const std::string& name, std::vector<std::size_t>& value) const override

bool atlas::io::Metadata::get(const std::string& name, std::vector<float>& value) const override

bool atlas::io::Metadata::get(const std::string& name, std::vector<double>& value) const override

bool atlas::io::Metadata::get(const std::string& name, std::vector<std::string>& value) const override

bool atlas::io::Metadata::get(const std::string& name, std::vector<LocalConfiguration>&) const

bool atlas::io::Metadata::get(const std::string& name, LocalConfiguration&) const

const Value& atlas::io::Metadata::get() const

bool atlas::io::Metadata::get(const std::string& name, size_t& value) const pure virtual

bool atlas::io::Metadata::get(const std::string& name, std::vector<size_t>& value) const pure virtual

std::vector<std::string> atlas::io::Metadata::keys() const

bool atlas::io::Metadata::getBool(const std::string& name) const

bool atlas::io::Metadata::getBool(const std::string& name, const bool& defaultValue) const

int atlas::io::Metadata::getInt(const std::string& name) const

int atlas::io::Metadata::getInt(const std::string& name, const int& defaultValue) const

long atlas::io::Metadata::getLong(const std::string& name) const

long atlas::io::Metadata::getLong(const std::string& name, const long& defaultValue) const

std::size_t atlas::io::Metadata::getUnsigned(const std::string& name) const

std::size_t atlas::io::Metadata::getUnsigned(const std::string& name, const std::size_t& defaultValue) const

std::int32_t atlas::io::Metadata::getInt32(const std::string& name) const

std::int32_t atlas::io::Metadata::getInt32(const std::string& name, const std::int32_t& defaultValue) const

std::int64_t atlas::io::Metadata::getInt64(const std::string& name) const

std::int64_t atlas::io::Metadata::getInt64(const std::string& name, const std::int64_t& defaultValue) const

float atlas::io::Metadata::getFloat(const std::string& name) const

float atlas::io::Metadata::getFloat(const std::string& name, const float& defaultValue) const

double atlas::io::Metadata::getDouble(const std::string& name) const

double atlas::io::Metadata::getDouble(const std::string& name, const double& defaultValue) const

std::string atlas::io::Metadata::getString(const std::string& name) const

std::string atlas::io::Metadata::getString(const std::string& name, const std::string& defaultValue) const

std::vector<int> atlas::io::Metadata::getIntVector(const std::string& name) const

std::vector<int> atlas::io::Metadata::getIntVector(const std::string& name, const std::vector<int>& defaultValue) const

std::vector<long> atlas::io::Metadata::getLongVector(const std::string& name) const

std::vector<long> atlas::io::Metadata::getLongVector(const std::string& name, const std::vector<long>& defaultValue) const

std::vector<std::size_t> atlas::io::Metadata::getUnsignedVector(const std::string& name) const

std::vector<std::size_t> atlas::io::Metadata::getUnsignedVector(const std::string& name, const std::vector<std::size_t>& defaultValue) const

std::vector<std::int32_t> atlas::io::Metadata::getInt32Vector(const std::string& name) const

std::vector<std::int32_t> atlas::io::Metadata::getInt32Vector(const std::string& name, const std::vector<std::int32_t>& defaultValue) const

std::vector<std::int64_t> atlas::io::Metadata::getInt64Vector(const std::string& name) const

std::vector<std::int64_t> atlas::io::Metadata::getInt64Vector(const std::string& name, const std::vector<std::int64_t>& defaultValue) const

std::vector<float> atlas::io::Metadata::getFloatVector(const std::string& name) const

std::vector<float> atlas::io::Metadata::getFloatVector(const std::string& name, const std::vector<float>& defaultValue) const

std::vector<double> atlas::io::Metadata::getDoubleVector(const std::string& name) const

std::vector<double> atlas::io::Metadata::getDoubleVector(const std::string& name, const std::vector<double>& defaultValue) const

std::vector<std::string> atlas::io::Metadata::getStringVector(const std::string& name) const

std::vector<std::string> atlas::io::Metadata::getStringVector(const std::string& name, const std::vector<std::string>& defaultValue) const

bool atlas::io::Metadata::empty() const

LocalConfiguration atlas::io::Metadata::getSubConfiguration(const std::string& name) const

char atlas::io::Metadata::separator() const

bool atlas::io::Metadata::has(const std::string& name) const override

void atlas::io::Metadata::hash(eckit::Hash&) const virtual