|
libdballe
8.6
|
Container for a wreport::Var pointer, and its database ID. More...
#include <value.h>
Public Member Functions | |
| DBValue (const DBValue &o)=default | |
| DBValue (DBValue &&o)=default | |
| DBValue (int data_id, const wreport::Var &var) | |
| Construct from a wreport::Var. | |
| DBValue (int data_id, std::unique_ptr< wreport::Var > &&var) | |
| Construct from a wreport::Var, taking ownership of it. | |
| DBValue & | operator= (const DBValue &)=default |
| DBValue & | operator= (DBValue &&)=default |
| bool | operator== (const DBValue &o) const |
| bool | operator!= (const DBValue &o) const |
| void | print (FILE *out) const |
| Print the contents of this Value. | |
| Value ()=default | |
| 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. | |
Public Member Functions inherited from dballe::Value | |
| 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 |
| bool | operator!= (const Value &o) const |
| const wreport::Var * | get () const |
| wreport::Var * | get () |
| const wreport::Var * | operator-> () const |
| wreport::Var * | operator-> () |
| const wreport::Var & | operator* () const |
| wreport::Var & | operator* () |
| wreport::Varcode | code () const |
| Return the varcode of the variable, or 0 if no variable has been set. | |
| void | reset (const wreport::Var &var) |
| Fill from a wreport::Var. | |
| void | reset (std::unique_ptr< wreport::Var > &&var) |
| Fill from a wreport::Var, taking ownership of it. | |
| std::unique_ptr< wreport::Var > | release () |
| Return the Var pointer, setting the Value to undefined. | |
| void | print (FILE *out) const |
| Print the contents of this Value. | |
Public Attributes | |
| int | data_id = MISSING_INT |
| Database ID of the value. | |
Additional Inherited Members | |
Protected Attributes inherited from dballe::Value | |
| wreport::Var * | m_var = nullptr |
Container for a wreport::Var pointer, and its database ID.
1.8.16