Template Function PrintTable#
Defined in File print_table.h
Function Documentation#
-
template<size_t nSize>
void PrintTable(const std::vector<std::array<std::string, nSize>> &rvecRows, std::ostream &rstream, bool bNoHeader = false)# Print a table of a vector of rows.
the first line is the header.
- Template Parameters:
nSize – The array size.
- Parameters:
rvecRows – [in] Reference to the vector of rows.
rstream – [in] The output stream to use for printing.
bNoHeader – [in] When set, skip the first row (the header row).