|
libdballe
8.6
|
Container for a wreport::Var pointer. More...
#include <value.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 |
| 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. | |
Protected Attributes | |
| wreport::Var * | m_var = nullptr |
Container for a wreport::Var pointer.
1.8.16