Public Member Functions

AppSecInc::Databases::ODBC::ODBCColumn Class Reference

An ODBC column. More...

#include <Column.h>

Inheritance diagram for AppSecInc::Databases::ODBC::ODBCColumn:
AppSecInc::Databases::ODBC::ODBCBuffer

List of all members.

Public Member Functions

bool IsBound () const
 returns true if the column has been bound to a statement
void operator= (const ODBCColumn &)
 copy operator for data only, not binding
const std::wstring & GetName () const
 get the name of the column
void BindAt (SQLHANDLE hstmt, int index)
 bind the column to a statement at a given index
void GetDataAt (SQLHANDLE hstmt, int index)
 get all column data
 ODBCColumn (const ODBCColumn &column)
 ODBCColumn (const std::wstring &name, SQLSMALLINT type, SQLINTEGER size=ODBCBuffer::INVALID_SIZE)
virtual ~ODBCColumn ()

Detailed Description

An ODBC column.


Constructor & Destructor Documentation

ODBCColumn::ODBCColumn ( const ODBCColumn column)
ODBCColumn::ODBCColumn ( const std::wstring &  name,
SQLSMALLINT  type,
SQLINTEGER  size = ODBCBuffer::INVALID_SIZE 
)

ODBC column

Parameters:
namecolumn name
typeSQL type
sizecolumn size in bytes
ODBCColumn::~ODBCColumn ( ) [virtual]

Member Function Documentation

void ODBCColumn::BindAt ( SQLHANDLE  hstmt,
int  index 
)

bind the column to a statement at a given index

void ODBCColumn::GetDataAt ( SQLHANDLE  hstmt,
int  index 
)

get all column data

const std::wstring& AppSecInc::Databases::ODBC::ODBCColumn::GetName ( ) const [inline]

get the name of the column

bool AppSecInc::Databases::ODBC::ODBCColumn::IsBound ( ) const [inline]

returns true if the column has been bound to a statement

void ODBCColumn::operator= ( const ODBCColumn rhs)

copy operator for data only, not binding


The documentation for this class was generated from the following files:


© Application Security Inc. - All Rights Reserved http://msiext.codeplex.com