libdballe  9.11
Public Member Functions | Protected Attributes | List of all members
dballe::Value Class Reference

Container for a wreport::Var pointer. More...

#include <value.h>

Inheritance diagram for dballe::Value:
dballe::DBValue

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
 
bool operator!= (const Value &o) const
 
const wreport::Varget () const
 
wreport::Varget ()
 
const wreport::Varoperator-> () const
 
wreport::Varoperator-> ()
 
const wreport::Varoperator* () const
 
wreport::Varoperator* ()
 
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::Varrelease ()
 Return the Var pointer, setting the Value to undefined.
 
void print (FILE *out) const
 Print the contents of this Value.
 

Protected Attributes

wreport::Varm_var = nullptr
 

Detailed Description

Container for a wreport::Var pointer.


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