Files
Work/sql/SQLBIND.HPP
2024-08-07 09:16:27 -04:00

50 lines
809 B
C++

#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