libdballe  7.19
Public Member Functions | Public Attributes | List of all members
dballe::values::Value Struct Reference

A station or measured value. More...

#include <values.h>

Public Member Functions

 Value (const Value &o)
 
 Value (Value &&o)
 
 Value (const wreport::Var &var)
 Construct from a wreport::Var.
 
 Value (std::unique_ptr< wreport::Var > &&var)
 Construct from a wreport::Var, taking ownership of it.
 
Valueoperator= (const Value &o)
 
Valueoperator= (Value &&o)
 
bool operator== (const Value &o) const
 
void clear_ids ()
 Reset the database ID.
 
void set (const wreport::Var &v)
 Fill from a wreport::Var.
 
void set (std::unique_ptr< wreport::Var > &&v)
 Fill from a wreport::Var, taking ownership of it.
 
void print (FILE *out) const
 Print the contents of this Value.
 

Public Attributes

int data_id = MISSING_INT
 Database ID of the value.
 
wreport::Varvar = nullptr
 wreport::Var representing the value
 

Detailed Description

A station or measured value.


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