Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / Table.h
blob: 23b518df5fa09402e6641f272e68a5651f5c2ea3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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);
	unsigned get_cols() const;

	void putCell(unsigned row, unsigned col, const char* rawValue);
	List<String> getAllCells() const;
};

#endif