14 #include "eckit/config/Configuration.h" 15 #include "oops/util/abor1_cpp.h" 16 #include "oops/util/Logger.h" 23 : convention_(
""), vars_(0), conf_(), fconf_() {
24 Log::trace() <<
"Variables::Variables start " <<
conf << std::endl;
29 std::string svars =
"";
30 for (
size_t jj = 0; jj <
vars_.size(); ++jj) {
31 if (jj > 0) svars +=
", ";
35 fconf_.set(
"variables", svars);
36 Log::trace() <<
"Variables::Variables done" << std::endl;
42 : convention_(conv), vars_(
vars), conf_(), fconf_() {
43 Log::trace() <<
"Variables::Variables start " <<
vars << std::endl;
47 std::string svars =
"";
48 for (
size_t jj = 0; jj <
vars_.size(); ++jj) {
49 if (jj > 0) svars +=
", ";
53 fconf_.set(
"variables", svars);
54 Log::trace() <<
"Variables::Variables done" << std::endl;
60 : convention_(other.convention_), vars_(other.vars_), conf_(other.conf_), fconf_(other.fconf_)
70 os <<
vars_.size() <<
" variables: ";
71 for (
size_t jj = 0; jj <
vars_.size(); ++jj) {
72 if (jj > 0) os <<
", ";
Variables(const eckit::Configuration &)
The namespace for the main oops code.
void print(std::ostream &) const
eckit::LocalConfiguration conf_
eckit::LocalConfiguration fconf_
std::vector< std::string > vars_