Initial
This commit is contained in:
49
sql/SQLBIND.HPP
Normal file
49
sql/SQLBIND.HPP
Normal file
@@ -0,0 +1,49 @@
|
||||
#ifndef _SQL_SQLBIND_HPP_
|
||||
#define _SQL_SQLBIND_HPP_
|
||||
#ifndef _COMMON_BLOCK_HPP_
|
||||
#include <common/block.hpp>
|
||||
#endif
|
||||
#ifndef _SQL_SQLDATA_HPP_
|
||||
#include <sql/sqldata.hpp>
|
||||
#endif
|
||||
|
||||
class SQLBind
|
||||
{
|
||||
public:
|
||||
SQLBind(void);
|
||||
virtual ~SQLBind();
|
||||
virtual WORD getColumnData(Block<SQLData> &someSQLData)=0;
|
||||
private:
|
||||
SQLBind(const SQLBind &someSQLBind);
|
||||
SQLBind &operator=(const SQLBind &someSQLBind);
|
||||
};
|
||||
|
||||
inline
|
||||
SQLBind::SQLBind(void)
|
||||
{
|
||||
}
|
||||
|
||||
inline
|
||||
SQLBind::SQLBind(const SQLBind &/*someSQLBind*/)
|
||||
{ // operation is undefined for this class
|
||||
}
|
||||
|
||||
inline
|
||||
SQLBind::~SQLBind()
|
||||
{
|
||||
}
|
||||
|
||||
inline
|
||||
SQLBind &SQLBind::operator=(const SQLBind &/*someSQLBind*/)
|
||||
{ // operation is undefined for this class
|
||||
return *this;
|
||||
}
|
||||
|
||||
inline
|
||||
WORD SQLBind::getColumnData(Block<SQLData> &someSQLData)
|
||||
{
|
||||
someSQLData.remove();
|
||||
return FALSE;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user