/home/martin/workspace/OpenStreetNav/src/sqllib/strings/CompositeSqlCreator.h
Go to the documentation of this file.
00001 /*
00002  * CompositeSqlCreator.h
00003  *
00004  *  Created on: Dec 5, 2011
00005  *      Author: martin
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 } /* namespace sqllib */
00030 #endif /* COMPOSITESQLCREATOR_H_ */
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines