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

Public Member Functions

void flush_row () override
 Write the current line to the output file, and start a new one.
 
- Public Member Functions inherited from dballe::CSVWriter
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.
 

Public Attributes

std::stringstream buf
 

Additional Inherited Members

- Protected Attributes inherited from dballe::CSVWriter
std::string row
 

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