/[H6]/PostgresLayer.h
ViewVC logotype

Contents of /PostgresLayer.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 60 - (show annotations) (download)
Mon Oct 22 13:00:14 2007 UTC (16 years, 5 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 /*
2 * Primary developers: Hedin & Kevin
3 */
4
5 #pragma once
6
7 #include "DatabaseLayer.h"
8 #include "Containers.h"
9 #include "ConfigFile.h"
10 #include <vector>
11
12 using namespace std;
13
14 class PostgresLayer : public DatabaseLayer
15 {
16 public:
17 PostgresLayer(ConfigFile &config);
18 virtual ~PostgresLayer(void);
19
20
21 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 };

  ViewVC Help
Powered by ViewVC 1.1.20