summaryrefslogtreecommitdiff
path: root/libodbcpp/odbc-param_fwd.h
diff options
context:
space:
mode:
Diffstat (limited to 'libodbcpp/odbc-param_fwd.h')
-rw-r--r--libodbcpp/odbc-param_fwd.h29
1 files changed, 14 insertions, 15 deletions
diff --git a/libodbcpp/odbc-param_fwd.h b/libodbcpp/odbc-param_fwd.h
index 88c3dae..6c32d02 100644
--- a/libodbcpp/odbc-param_fwd.h
+++ b/libodbcpp/odbc-param_fwd.h
@@ -1,29 +1,28 @@
#ifndef ODBC_PARAM_FWD_H
#define ODBC_PARAM_FWD_H
-#include <sqlext.h>
#include "odbc-bind.h"
+#include <sqlext.h>
namespace ODBC {
class Command;
class Param : public virtual Bind {
- public:
- Param();
- Param(Command *, unsigned int idx);
- void bind() const;
+ public:
+ Param();
+ Param(Command *, unsigned int idx);
+ void bind() const;
- virtual SQLSMALLINT stype() const = 0; // The SQL type ID
- virtual SQLINTEGER dp() const = 0; // The decimal place count
- virtual const void * dataAddress() const = 0; // The address of the data
+ virtual SQLSMALLINT stype() const = 0; // The SQL type ID
+ virtual SQLINTEGER dp() const = 0; // The decimal place count
+ virtual const void * dataAddress() const = 0; // The address of the data
- protected:
- friend class Column;
- mutable Command * paramCmd;
- mutable unsigned int paramIdx;
- mutable bool paramBound; // Has SqlBind(...) been called since last change of address?
- SQLLEN dataLength;
+ protected:
+ friend class Column;
+ mutable Command * paramCmd;
+ mutable unsigned int paramIdx;
+ mutable bool paramBound; // Has SqlBind(...) been called since last change of address?
+ SQLLEN dataLength;
};
}
#endif
-