20 TablePrinter(std::vector<std::string> columnNames, std::vector<int> columnWidths);
32 bool printRow(
const std::string& values,
char delimiter);
38 bool printRow(std::vector<std::string> values);
48 std::vector<std::string> m_ColumnNames;
49 std::vector<int> m_ColumnWidths;
A class for printing tables in command-line.
Definition: TablePrinter.h:15
virtual ~TablePrinter()
A d'tor for this class. Closes the table if not closed.
TablePrinter(std::vector< std::string > columnNames, std::vector< int > columnWidths)
void printSeparator()
Print a separator line.
bool printRow(const std::string &values, char delimiter)
bool printRow(std::vector< std::string > values)
The main namespace for the PcapPlusPlus lib.