libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
jmmcg::NTUtils::Database::ODBC::RecordsetBase Class Reference

#include <ODBCWrapper.hpp>

Inheritance diagram for jmmcg::NTUtils::Database::ODBC::RecordsetBase:
[legend]
Collaboration diagram for jmmcg::NTUtils::Database::ODBC::RecordsetBase:
[legend]

Public Member Functions

 RecordsetBase (const tstring &cnx, const bool read_only, const SQLUINTEGER timeout=15)
 
 ~RecordsetBase () noexcept(true)
 
void __fastcall execute (const tstring &sql)
 
virtual SQLINTEGER __fastcall count () noexcept(true)
 
- Public Member Functions inherited from jmmcg::NTUtils::Database::ODBC::Connection
 Connection (const tstring &cnx, const bool read_only, const SQLUINTEGER timeout=15)
 
 ~Connection (void) noexcept(true)
 
const tstring &__fastcall cnx_string () const noexcept(true)
 
virtual void __fastcall execute (const tstringstream &sql)
 

Protected Member Functions

void __fastcall RowsAffected ()
 
- Protected Member Functions inherited from jmmcg::NTUtils::Database::ODBC::Connection
void __fastcall AllocateStmt ()
 
- Protected Member Functions inherited from jmmcg::NTUtils::Database::ODBC::Environment
 Environment (const bool read_only=true, const SQLUINTEGER timeout=15)
 
virtual ~Environment (void) noexcept(true)
 

Protected Attributes

SQLINTEGER row_count
 
- Protected Attributes inherited from jmmcg::NTUtils::Database::ODBC::Connection
const SQLUINTEGER stmt_timeout
 
SQLHSTMT hstmt
 
- Protected Attributes inherited from jmmcg::NTUtils::Database::ODBC::Environment
SQLHDBC hdbc
 

Detailed Description

Definition at line 373 of file ODBCWrapper.hpp.

Constructor & Destructor Documentation

◆ RecordsetBase()

RecordsetBase::RecordsetBase ( const tstring cnx,
const bool  read_only,
const SQLUINTEGER  timeout = 15 
)
inline

Definition at line 304 of file ODBCWrapper.cpp.

◆ ~RecordsetBase()

RecordsetBase::~RecordsetBase ( void  )
inlinenoexcept

Definition at line 308 of file ODBCWrapper.cpp.

Member Function Documentation

◆ count()

virtual SQLINTEGER __fastcall jmmcg::NTUtils::Database::ODBC::RecordsetBase::count ( void  )
inlinevirtualnoexcept

◆ execute()

◆ RowsAffected()

void __fastcall RecordsetBase::RowsAffected ( void  )
inlineprotected

Definition at line 322 of file ODBCWrapper.cpp.

Member Data Documentation

◆ row_count

SQLINTEGER jmmcg::NTUtils::Database::ODBC::RecordsetBase::row_count
protected

Definition at line 398 of file ODBCWrapper.hpp.


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