ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/DBS/Servers/AppServer/include/TableInterface.hpp
Revision: 1.2
Committed: Tue Dec 13 23:13:39 2005 UTC (19 years, 4 months ago) by sekhri
Branch: MAIN
CVS Tags: before_message_removal, preXOverChanges
Changes since 1.1: +1 -0 lines
Log Message:
Added insertEventCollection and insertFiles API to work with Sinsisa high level api

File Contents

# Content
1 #ifndef _TableInterface_hpp_included_
2 #define _TableInterface_hpp_included_
3
4
5 #include <iostream>
6 #include "DBManagement.hpp"
7 #include "RowInterface.hpp"
8 #include "common.hpp"
9
10
11 class TableInterface {
12
13 public:
14 //Default constructor
15 TableInterface(){
16 //static Log l("TableTemplate", "../../var/log/server.log");
17 //this->logger = l.getLogger();
18 };
19 TableInterface(DBManagement*){};
20 virtual ~TableInterface(){};
21
22 virtual void delRows(){};
23 virtual void addRow(RowInterface* aRow){};
24 virtual void insert(){};
25 virtual void update(){};
26 //virtual std::vector<RowInterface*>& select(std::string whereClause){cout<<"INSIDE VIRTUAL SELECT"<<endl; };
27 virtual std::string* getTableName(){};
28 virtual void setDBManager(DBManagement*){};
29 virtual Dictionary* getSchema(){cout<<"INSIDE VIRTUAL"<<endl; };
30 virtual Dictionary* getMultiRefrence(){cout<<"INSIDE VIRTUAL"<<endl; };
31 protected:
32 //static log4cxx::LoggerPtr logger;
33 };
34
35
36
37
38 #endif
39