libdballe  7.21
Public Member Functions | Public Attributes | List of all members
dballe::Sampling Struct Reference

Information about a physical variable. More...

#include <values.h>

Inheritance diagram for dballe::Sampling:
dballe::Station

Public Member Functions

 Sampling (const dballe::Record &rec)
 
void set_from_record (const Record &rec)
 
Samplingoperator= (const Sampling &)=default
 
Samplingoperator= (const Station &st)
 
bool operator== (const Sampling &o) const
 
void print (FILE *out, const char *end="\) const
 Print the Sampling contents to a FILE*. More...
 
- Public Member Functions inherited from dballe::Station
 Station (const dballe::Record &rec)
 
void clear_ids ()
 Reset the database ID.
 
void set_from_record (const Record &rec)
 Fill this Station with values from a dballe::Record.
 
bool operator== (const Station &o) const
 
void print (FILE *out, const char *end="\) const
 Print the Station to a FILE*. More...
 

Public Attributes

Datetime datetime
 Date and time at which the value was measured or forecast.
 
Level level
 Vertical level or layer.
 
Trange trange
 Time range.
 
- Public Attributes inherited from dballe::Station
std::string report
 rep_memo for this station
 
int ana_id = MISSING_INT
 Database ID of the station. More...
 
Coords coords
 Station coordinates.
 
Ident ident
 Mobile station identifier.
 

Detailed Description

Information about a physical variable.

Member Function Documentation

◆ print()

void dballe::Sampling::print ( FILE *  out)

Print the Sampling contents to a FILE*.

Parameters
outThe output stream
endString to print after the Station

The documentation for this struct was generated from the following file: