8 #ifndef OOPS_BASE_VARIABLES_H_
9 #define OOPS_BASE_VARIABLES_H_
16 #include "eckit/config/LocalConfiguration.h"
17 #include "oops/util/Printable.h"
25 static const std::string
classname() {
return "oops::Variables";}
28 Variables(
const eckit::Configuration &,
const std::string &);
29 explicit Variables(
const std::vector<std::string> &,
const std::string & conv =
"");
30 Variables(
const std::vector<std::string> & vars,
const std::vector<int> &
channels);
42 bool has(
const std::string &)
const;
43 size_t find(
const std::string &)
const;
50 void print(std::ostream &)
const;
bool operator==(const Variables &) const
bool has(const std::string &) const
const std::vector< std::string > & variables() const
void push_back(const std::string &)
const std::string & operator[](const size_t kk) const
const std::vector< int > & channels() const
void print(std::ostream &) const
std::vector< std::string > vars_
static const std::string classname()
size_t find(const std::string &) const
bool operator<=(const Variables &) const
Variables & operator+=(const Variables &)
std::vector< int > channels_
The namespace for the main oops code.