Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008 #ifndef COMPOSITESQLCREATOR_H_
00009 #define COMPOSITESQLCREATOR_H_
00010
00011 #include "SqlCreator.h"
00012 #include <vector>
00013 #include <memory>
00014
00015 namespace sqllib
00016 {
00017
00018 class CompositeSqlCreator : public SqlCreator
00019 {
00020 public:
00021 CompositeSqlCreator(std::string const& composite_operator, std::vector<std::shared_ptr<SqlCreator> > children, std::string const& ending = "");
00022 std::string create_sql();
00023 private:
00024 std::string op;
00025 std::vector<std::shared_ptr<SqlCreator> > children;
00026 std::string end;
00027 };
00028
00029 }
00030 #endif