libdballe  9.11
Public Member Functions | Protected Attributes | List of all members
dballe::CSVWriter Class Referenceabstract
Inheritance diagram for dballe::CSVWriter:
dballe::tests::MemoryCSVWriter

Public Member Functions

void add_value_empty ()
 Add an empty value to the current row.
 
void add_value_raw (const char *str)
 Add a value to the current row, without any escaping.
 
void add_value_raw (const std::string &str)
 Add a value to the current row, without any escaping.
 
void add_value (int val)
 Add an int value to the current row.
 
void add_value_withmissing (int val)
 Add an int value that can potentially be missing.
 
void add_value (unsigned val)
 Add an int value to the current row.
 
void add_value (uint64_t val)
 Add an int value to the current row.
 
void add_value (wreport::Varcode val)
 Add a formatted varcode to the current row.
 
void add_var_value_raw (const wreport::Var &val)
 Add a variable value, in its raw integer form.
 
void add_var_value_formatted (const wreport::Var &val)
 Add a variable value, formatted.
 
void add_value (const char *val)
 Add a string to the current row.
 
void add_value (const std::string &val)
 Add a string to the current row.
 
virtual void flush_row ()=0
 Write the current line to the output file, and start a new one.
 

Protected Attributes

std::string row
 

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