/[H6]/PostgresLayer.h
ViewVC logotype

Annotation of /PostgresLayer.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 60 - (hide annotations) (download)
Mon Oct 22 13:00:14 2007 UTC (16 years, 6 months ago) by torben
File MIME type: text/plain
File size: 530 byte(s)
Refactored the database layer classes. Pushed most of the functions to the parent class.
1 torben 43 /*
2     * Primary developers: Hedin & Kevin
3     */
4    
5     #pragma once
6    
7     #include "DatabaseLayer.h"
8     #include "Containers.h"
9 torben 47 #include "ConfigFile.h"
10 torben 43 #include <vector>
11    
12     using namespace std;
13    
14     class PostgresLayer : public DatabaseLayer
15     {
16     public:
17 torben 47 PostgresLayer(ConfigFile &config);
18 torben 60 virtual ~PostgresLayer(void);
19 torben 43
20    
21 torben 60 virtual vector<Equipment> Search(CString barcode, CString name, CString inits, bool available, bool reserved, bool deposited);
22     protected:
23     virtual CString GenerateQueryForLatestCheckouts(CString barcode);
24 torben 43 };

  ViewVC Help
Powered by ViewVC 1.1.20