Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

Database.hpp

00001 #ifndef DATABASEBASECLASS
00002 #define DATABASEBASECLASS
00003 
00004 #include <vector>
00005 #include <iostream>
00006 #include <string.h>
00007 
00019 namespace ztt { 
00020         namespace dcs {
00021 
00022 class Database
00023 {
00024 public:
00029         virtual int createConnection() = 0;
00039         virtual int getDataFromDB(char* tablename, std::vector<char* >* collection, std::vector<int>*posX,std::vector<int>*posY,std::vector<int>*posZ) = 0;
00046         virtual int getDataFromDB(char* tablename, std::vector<char* >* collection) = 0;
00053         virtual int setData(char* tablename, char* data) = 0;
00057         virtual int killConnection() = 0;
00058         
00059 };
00060 }}
00061 #endif
00062 

Generated on Fri Mar 30 02:54:33 2007 for InterComLayer by doxygen 1.3.5