ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/DBS/Servers/AppServer/include/TableInterface.hpp
Revision: 1.1
Committed: Mon Oct 31 22:10:36 2005 UTC (19 years, 6 months ago) by afaq
Branch: MAIN
Branch point for: v00
Log Message:
Initial revision

File Contents

# User Rev Content
1 afaq 1.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     protected:
31     //static log4cxx::LoggerPtr logger;
32     };
33    
34    
35    
36    
37     #endif
38