12 #include "eckit/exception/Exceptions.h"
27 ASSERT(vars !=
nullptr);
44 std::string varname = vars[jj];
45 lcvarname = varname.
size();
50 size_t & lcvarname,
const size_t & lfvarname,
52 std::string varname = vars[jj];
53 lcvarname = varname.
size();
62 ASSERT(lfvarname > lcvarname);
63 snprintf(cvarname, lcvarname+1,
"%s", varname.c_str());
68 return vars.
has(std::string(vname));
bool has(const std::string &) const
void push_back(const std::string &)
The namespace for the main oops code.
size_t variables_size_f(const oops::Variables &vars)
void variables_getvariablelength_f(const oops::Variables &vars, const size_t &jj, size_t &lcvarname)
void variables_getvariable_f(const oops::Variables &vars, const size_t &jj, size_t &lcvarname, const size_t &lfvarname, char *cvarname)
void variables_push_back_f(oops::Variables &vars, const char *vname)
oops::Variables * variables_empty_ctor_f()
void variables_destruct_f(oops::Variables *vars)
bool variables_has_f(const oops::Variables &vars, const char *vname)