ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/DBS/Servers/AppServer/include/SQL.hpp
Revision: 1.1.1.1 (vendor branch)
Committed: Mon Oct 31 22:10:36 2005 UTC (19 years, 6 months ago) by afaq
Branch: v00
CVS Tags: DBS_0_0_3a, DBS_0_0_3, DBS_0_0_0, vs20060320, AfterJan2006SchemaChanges_v01_00_01, AfterJan2006SchemaChanges_v01_00_00, AfterJan2006SchemaChanges, BeforeJan2006SchemaChanges, before_message_removal, preXOverChanges, start
Branch point for: BranchForCPPWebServiceTesting
Changes since 1.1: +0 -0 lines
Log Message:
Adding Server code to the repository

File Contents

# Content
1 #ifndef _SQL_hpp_included_
2 #define _SQL_hpp_included_
3 #include <string>
4 #include "RowInterface.hpp"
5 #include "common.hpp"
6 #include "Util.hpp"
7 class SQL {
8
9 public:
10 SQL(Util*);
11 std::string makeInsertQuery(RowInterface*, std::string, std::string, Dictionary_iter, Dictionary_iter);
12 std::string makeClause(RowInterface*, Keys_iter, Keys_iter,Dictionary_iter, Dictionary_iter);
13 std::string makeRefClause(Dictionary_iter, Dictionary_iter);
14 std::string makeMultiRefClause(Dictionary_iter, Dictionary_iter);
15 std::string makeSelectClause(Dictionary_iter, Dictionary_iter);
16 std::string makeTableClause(Keys_iter, Keys_iter);
17 std::string makeSeqQuery(std::string, std::string);
18 private:
19 Util * util;
20 std::string formatValue(std::string, std::string);
21 };
22
23 #endif
24