blob: f4bbb64e4b01e4d06f57dd60efd7d1d7f89ab90d [file] [log] [blame]
jerrymf1579332013-02-07 01:56:28 +00001/*
2 * ITableProvider.h
3 *
4 * Created on: Sep 22, 2012
5 * Author: Mitchell Wills
6 */
7
8#ifndef ITABLEPROVIDER_H_
9#define ITABLEPROVIDER_H_
10
11
12class ITableProvider;
13
14#include "tables/ITable.h"
15
16
17/**
18 * A simple interface to provide tables
19 *
20 * @author Mitchell
21 *
22 */
23class ITableProvider {
24 /**
25 * Get a table by name
26 * @param name the name of the table
27 * @return a Table with the given name
28 */
29 virtual ITable* GetTable(std::string name) = 0;
30};
31
32#endif /* ITABLEPROVIDER_H_ */