class
#include <eckit/geo/Spec.h>
Spec
Base classes
- class eckit::Parametrisation
Derived classes
Constructors, destructors, conversion operators
Public functions
- auto operator=(const Spec&) -> Spec& deleted
- auto operator=(Spec&&) -> Spec& deleted
-
auto get_string(const std::
string& name) const -> std:: string -
auto get_bool(const std::
string& name) const -> bool -
auto get_int(const std::
string& name) const -> int -
auto get_long(const std::
string& name) const -> long -
auto get_unsigned(const std::
string& name) const -> size_t -
auto get_double(const std::
string& name) const -> double -
auto get_long_vector(const std::
string& name) const -> std:: vector<long> -
auto get_unsigned_vector(const std::
string& name) const -> std:: vector<size_t> -
auto get_double_vector(const std::
string& name) const -> std:: vector<double> -
auto get_string(const std::
string& name, const std:: string&) const -> std:: string -
auto get_bool(const std::
string& name, const bool&) const -> bool -
auto get_int(const std::
string& name, const int&) const -> int -
auto get_long(const std::
string& name, const long&) const -> long -
auto get_unsigned(const std::
string& name, const size_t&) const -> size_t -
auto get_double(const std::
string& name, const double&) const -> double -
auto get_long_vector(const std::
string& name, const std:: vector<long>&) const -> std:: vector<long> -
auto get_unsigned_vector(const std::
string& name, const std:: vector<size_t>&) const -> std:: vector<size_t> -
auto get_double_vector(const std::
string& name, const std:: vector<double>&) const -> std:: vector<double> -
auto str() const -> std::
string - void json(JSON&) const pure virtual
-
auto has(const std::
string& name) const -> bool pure virtual -
auto get(const std::
string& name, std:: string& value) const -> bool pure virtual -
auto get(const std::
string& name, bool& value) const -> bool pure virtual -
auto get(const std::
string& name, int& value) const -> bool pure virtual -
auto get(const std::
string& name, long& value) const -> bool pure virtual -
auto get(const std::
string& name, long long& value) const -> bool virtual -
auto get(const std::
string& name, size_t& value) const -> bool pure virtual -
auto get(const std::
string& name, float& value) const -> bool pure virtual -
auto get(const std::
string& name, double& value) const -> bool pure virtual -
auto get(const std::
string& name, std:: vector<int>& value) const -> bool pure virtual -
auto get(const std::
string& name, std:: vector<long>& value) const -> bool pure virtual -
auto get(const std::
string& name, std:: vector<long long>& value) const -> bool virtual -
auto get(const std::
string& name, std:: vector<size_t>& value) const -> bool pure virtual -
auto get(const std::
string& name, std:: vector<float>& value) const -> bool pure virtual -
auto get(const std::
string& name, std:: vector<double>& value) const -> bool pure virtual -
auto get(const std::
string& name, std:: vector<std:: string>& value) const -> bool pure virtual
Private functions
-
void print(std::
ostream&) const virtual
Friends
-
auto operator<<(std::
ostream& out, const Spec& spec) -> std:: ostream&
Function documentation
bool eckit:: geo:: Spec:: has(const std:: string& name) const pure virtual
#include <eckit/config/Parametrisation.h>
bool eckit:: geo:: Spec:: get(const std:: string& name,
std:: string& value) const pure virtual
#include <eckit/config/Parametrisation.h>
bool eckit:: geo:: Spec:: get(const std:: string& name,
bool& value) const pure virtual
#include <eckit/config/Parametrisation.h>
bool eckit:: geo:: Spec:: get(const std:: string& name,
int& value) const pure virtual
#include <eckit/config/Parametrisation.h>
bool eckit:: geo:: Spec:: get(const std:: string& name,
long& value) const pure virtual
#include <eckit/config/Parametrisation.h>
bool eckit:: geo:: Spec:: get(const std:: string& name,
long long& value) const virtual
#include <eckit/config/Parametrisation.h>
bool eckit:: geo:: Spec:: get(const std:: string& name,
size_t& value) const pure virtual
#include <eckit/config/Parametrisation.h>
bool eckit:: geo:: Spec:: get(const std:: string& name,
float& value) const pure virtual
#include <eckit/config/Parametrisation.h>
bool eckit:: geo:: Spec:: get(const std:: string& name,
double& value) const pure virtual
#include <eckit/config/Parametrisation.h>
bool eckit:: geo:: Spec:: get(const std:: string& name,
std:: vector<int>& value) const pure virtual
#include <eckit/config/Parametrisation.h>
bool eckit:: geo:: Spec:: get(const std:: string& name,
std:: vector<long>& value) const pure virtual
#include <eckit/config/Parametrisation.h>
bool eckit:: geo:: Spec:: get(const std:: string& name,
std:: vector<long long>& value) const virtual
#include <eckit/config/Parametrisation.h>
bool eckit:: geo:: Spec:: get(const std:: string& name,
std:: vector<size_t>& value) const pure virtual
#include <eckit/config/Parametrisation.h>
bool eckit:: geo:: Spec:: get(const std:: string& name,
std:: vector<float>& value) const pure virtual
#include <eckit/config/Parametrisation.h>
bool eckit:: geo:: Spec:: get(const std:: string& name,
std:: vector<double>& value) const pure virtual
#include <eckit/config/Parametrisation.h>
bool eckit:: geo:: Spec:: get(const std:: string& name,
std:: vector<std:: string>& value) const pure virtual
#include <eckit/config/Parametrisation.h>