libdballe
7.29
|
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. | |
Value & | operator= (const Value &o) |
Value & | operator= (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::Var * | var = nullptr |
wreport::Var representing the value | |
A station or measured value.