19#ifndef PISM_VARIABLEMETADATA_H
20#define PISM_VARIABLEMETADATA_H
27#include "pism/util/Units.hh"
70class VariableMetadata;
78 operator std::string()
const;
80 operator std::vector<double> ()
const;
93 void operator=(
const std::initializer_list<double> &value);
94 void operator=(
const std::vector<double> &value);
131 double get_number(
const std::string &name)
const;
134 std::vector<double>
get_numbers(
const std::string &name)
const;
140 std::string
get_string(
const std::string &name)
const;
161 const std::map<std::string, std::string> &
all_strings()
const;
162 const std::map<std::string, std::vector<double> > &
all_doubles()
const;
165 void check_range(
const std::string &filename,
double min,
double max)
const;
190 const std::vector<double> &zlevels = {0.0});
193 const std::vector<double>&
levels()
const;
void operator=(const std::string &value)
ConstAttribute(const ConstAttribute &)=delete
ConstAttribute & operator=(const ConstAttribute &)=delete
std::shared_ptr< System > Ptr