From 63d9cbb434ec4f6e828083b99d638127cfce7a95 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 24 Dec 2015 04:08:56 +0000 Subject: ODBC files prefixed with odbc- --- libodbcpp/command.h | 52 ---------------------------------------------------- 1 file changed, 52 deletions(-) delete mode 100644 libodbcpp/command.h (limited to 'libodbcpp/command.h') diff --git a/libodbcpp/command.h b/libodbcpp/command.h deleted file mode 100644 index 14b2cbb..0000000 --- a/libodbcpp/command.h +++ /dev/null @@ -1,52 +0,0 @@ -#ifndef ODBC_COMMAND_H -#define ODBC_COMMAND_H - -#include -#include -#include "connection.h" -#include - -namespace ODBC { - class Param; - class Command : public virtual DB::Command { - typedef std::vector Params; - public: - Command(const Connection &, const std::string & sql); - virtual ~Command() = 0; - - void bindParamI(unsigned int i, int val); - void bindParamI(unsigned int i, long val); - void bindParamI(unsigned int i, long long val); - void bindParamI(unsigned int i, unsigned int val); - void bindParamI(unsigned int i, unsigned long int val); - void bindParamI(unsigned int i, unsigned long long int val); - - void bindParamB(unsigned int i, bool val); - - void bindParamF(unsigned int i, double val); - void bindParamF(unsigned int i, float val); - - void bindParamS(unsigned int i, const Glib::ustring &); - - void bindParamT(unsigned int i, const boost::posix_time::time_duration &); - void bindParamT(unsigned int i, const boost::posix_time::ptime &); - - void bindNull(unsigned int i); - - protected: - friend class Param; - friend class Column; - SQLHSTMT hStmt; - const Connection& connection; - private: - Params params; - - template - ParamType * - makeParam(unsigned int idx); - }; - -} - -#endif - -- cgit v1.2.3