1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#ifndef MODELS_TABLE #define MODELS_TABLE #include "Cell.h" #include "../Generic/List/List.hpp" class Table { List<List<Cell*>> cells; public: Table(unsigned rows, unsigned cols); void putCell(unsigned row, unsigned col, const char* rawValue); List<String> getAllCells() const; }; #endif