GEOS
Public Member Functions | List of all members
geos::TableData Class Reference

Class for managing table data. More...

#include <TableData.hpp>

Public Member Functions

template<typename ... Args>
void addRow (Args const &... args)
 Add a row to the table. The values passed to addRow (can be any type). More...
 
void addRow (std::vector< string > const &row)
 Add a row to the table. More...
 
void clear ()
 Reset data in the table.
 
std::vector< std::vector< string > > const & getTableDataRows () const
 
std::vector< string > const & getErrorMsgs () const
 Get all error messages. More...
 

Detailed Description

Class for managing table data.

Definition at line 33 of file TableData.hpp.

Member Function Documentation

◆ addRow() [1/2]

template<typename ... Args>
void geos::TableData::addRow ( Args const &...  args)

Add a row to the table. The values passed to addRow (can be any type).

Parameters
argsCell values to be added to the row.

Definition at line 153 of file TableData.hpp.

◆ addRow() [2/2]

void geos::TableData::addRow ( std::vector< string > const &  row)

Add a row to the table.

Parameters
rowA vector of string representing a row

◆ getErrorMsgs()

std::vector< string > const& geos::TableData::getErrorMsgs ( ) const

Get all error messages.

Returns
The vector of error messages

◆ getTableDataRows()

std::vector< std::vector< string > > const& geos::TableData::getTableDataRows ( ) const
Returns
The rows of the table

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