Public Member Functions | Public Attributes | List of all members
soci::odbc_statement_backend Struct Reference

#include <soci-odbc.h>

Inheritance diagram for soci::odbc_statement_backend:
Inheritance graph
[legend]

Public Member Functions

virtual void alloc ()
 
virtual void clean_up ()
 
std::size_t column_size (int position)
 
virtual void describe_column (int colNum, data_type &dtype, std::string &columnName)
 
virtual exec_fetch_result execute (int number)
 
virtual exec_fetch_result fetch (int number)
 
virtual long long get_affected_rows ()
 
virtual int get_number_of_rows ()
 
virtual odbc_standard_into_type_backendmake_into_type_backend ()
 
virtual odbc_standard_use_type_backendmake_use_type_backend ()
 
virtual odbc_vector_into_type_backendmake_vector_into_type_backend ()
 
virtual odbc_vector_use_type_backendmake_vector_use_type_backend ()
 
 odbc_statement_backend (odbc_session_backend &session)
 
virtual void prepare (std::string const &query, details::statement_type eType)
 
virtual int prepare_for_describe ()
 
virtual std::string rewrite_for_procedure_call (std::string const &query)
 
- Public Member Functions inherited from soci::details::statement_backend
 statement_backend ()
 
virtual ~statement_backend ()
 

Public Attributes

bool boundByName_
 
bool boundByPos_
 
bool hasVectorUseElements_
 
SQLHSTMT hstmt_
 
std::vector< std::string > names_
 
SQLULEN numRowsFetched_
 
std::string query_
 
long long rowsAffected_
 
odbc_session_backendsession_
 

Additional Inherited Members

- Public Types inherited from soci::details::statement_backend
enum  exec_fetch_result { ef_success, ef_no_data }
 

Detailed Description

Definition at line 202 of file soci-odbc.h.

Constructor & Destructor Documentation

odbc_statement_backend::odbc_statement_backend ( odbc_session_backend session)

Definition at line 25 of file backends/odbc/statement.cpp.

Member Function Documentation

void odbc_statement_backend::alloc ( )
virtual

Implements soci::details::statement_backend.

Definition at line 32 of file backends/odbc/statement.cpp.

void odbc_statement_backend::clean_up ( )
virtual

Implements soci::details::statement_backend.

Definition at line 45 of file backends/odbc/statement.cpp.

std::size_t odbc_statement_backend::column_size ( int  position)

Definition at line 317 of file backends/odbc/statement.cpp.

void odbc_statement_backend::describe_column ( int  colNum,
data_type dtype,
std::string &  columnName 
)
virtual

Implements soci::details::statement_backend.

Definition at line 262 of file backends/odbc/statement.cpp.

statement_backend::exec_fetch_result odbc_statement_backend::execute ( int  number)
virtual

Implements soci::details::statement_backend.

Definition at line 143 of file backends/odbc/statement.cpp.

statement_backend::exec_fetch_result odbc_statement_backend::fetch ( int  number)
virtual

Implements soci::details::statement_backend.

Definition at line 214 of file backends/odbc/statement.cpp.

long long odbc_statement_backend::get_affected_rows ( )
virtual

Implements soci::details::statement_backend.

Definition at line 239 of file backends/odbc/statement.cpp.

int odbc_statement_backend::get_number_of_rows ( )
virtual

Implements soci::details::statement_backend.

Definition at line 244 of file backends/odbc/statement.cpp.

odbc_standard_into_type_backend * odbc_statement_backend::make_into_type_backend ( )
virtual

Implements soci::details::statement_backend.

Definition at line 340 of file backends/odbc/statement.cpp.

odbc_standard_use_type_backend * odbc_statement_backend::make_use_type_backend ( )
virtual

Implements soci::details::statement_backend.

Definition at line 345 of file backends/odbc/statement.cpp.

odbc_vector_into_type_backend * odbc_statement_backend::make_vector_into_type_backend ( )
virtual

Implements soci::details::statement_backend.

Definition at line 351 of file backends/odbc/statement.cpp.

odbc_vector_use_type_backend * odbc_statement_backend::make_vector_use_type_backend ( )
virtual

Implements soci::details::statement_backend.

Definition at line 356 of file backends/odbc/statement.cpp.

void odbc_statement_backend::prepare ( std::string const &  query,
details::statement_type  eType 
)
virtual

Implements soci::details::statement_backend.

Definition at line 53 of file backends/odbc/statement.cpp.

int odbc_statement_backend::prepare_for_describe ( )
virtual

Implements soci::details::statement_backend.

Definition at line 255 of file backends/odbc/statement.cpp.

std::string odbc_statement_backend::rewrite_for_procedure_call ( std::string const &  query)
virtual

Implements soci::details::statement_backend.

Definition at line 249 of file backends/odbc/statement.cpp.

Member Data Documentation

bool soci::odbc_statement_backend::boundByName_

Definition at line 235 of file soci-odbc.h.

bool soci::odbc_statement_backend::boundByPos_

Definition at line 236 of file soci-odbc.h.

bool soci::odbc_statement_backend::hasVectorUseElements_

Definition at line 234 of file soci-odbc.h.

SQLHSTMT soci::odbc_statement_backend::hstmt_

Definition at line 232 of file soci-odbc.h.

std::vector<std::string> soci::odbc_statement_backend::names_

Definition at line 241 of file soci-odbc.h.

SQLULEN soci::odbc_statement_backend::numRowsFetched_

Definition at line 233 of file soci-odbc.h.

std::string soci::odbc_statement_backend::query_

Definition at line 240 of file soci-odbc.h.

long long soci::odbc_statement_backend::rowsAffected_

Definition at line 238 of file soci-odbc.h.

odbc_session_backend& soci::odbc_statement_backend::session_

Definition at line 231 of file soci-odbc.h.


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


asr_lib_ism
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel
autogenerated on Wed Jan 8 2020 04:02:41