1 #ifndef WREPORT_VARTABLE_H
2 #define WREPORT_VARTABLE_H
7 #include <wreport/fwd.h>
static const Vartable * get_bufr(const BufrTableID &id)
Find a BUFR table.
virtual bool contains(Varcode code) const =0
Check if the code can be resolved to a varinfo.
virtual Varinfo query_altered(Varcode code, int new_scale, unsigned new_bit_len, int new_bit_ref) const =0
Query an altered version of the vartable.
static const Vartable * get_crex(const CrexTableID &id)
Find a CREX table.
Information about a variable.
Definition: varinfo.h:137
uint16_t Varcode
Holds the WMO variable code of a variable.
Definition: fwd.h:12
static const Vartable * get_crex(const std::string &basename)
Find a CREX table, by file name (without extension)
Identifying information for one distinct instance of BUFR tables.
Definition: tableinfo.h:14
static const Vartable * load_bufr(const std::string &pathname)
Return a BUFR vartable, by file name.
virtual std::string pathname() const =0
Return the pathname of the file from which this table has been loaded.
Identifying information for one distinct instance of CREX tables.
Definition: tableinfo.h:44
virtual Varinfo query(Varcode code) const =0
Query the Vartable.
Holds a variable information table.
Definition: vartable.h:30
static const Vartable * load_crex(const std::string &pathname)
Return a CREX vartable, by file name.
Implement fast access to information about WMO variables.
virtual bool iterate(std::function< bool(Varinfo)> dest) const =0
Iterate the whole contents of the table.
String functions.
Definition: benchmark.h:13
static const Vartable * get_bufr(const std::string &basename)
Find a BUFR table, by file name (without extension)