Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Friends | List of all members
soci::firebird_statement_backend Struct Reference

#include <soci-firebird.h>

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

Public Member Functions

virtual void alloc ()
 
virtual void clean_up ()
 
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)
 
 firebird_statement_backend (firebird_session_backend &session)
 
virtual long long get_affected_rows ()
 
virtual int get_number_of_rows ()
 
virtual firebird_standard_into_type_backendmake_into_type_backend ()
 
virtual firebird_standard_use_type_backendmake_use_type_backend ()
 
virtual firebird_vector_into_type_backendmake_vector_into_type_backend ()
 
virtual firebird_vector_use_type_backendmake_vector_use_type_backend ()
 
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_
 
firebird_session_backendsession_
 
XSQLDA * sqlda2p_
 
XSQLDA * sqldap_
 
isc_stmt_handle stmtp_
 

Protected Member Functions

virtual void exchangeData (bool gotData, int row)
 
virtual void prepareSQLDA (XSQLDA **sqldap, int size=10)
 
virtual void rewriteParameters (std::string const &src, std::vector< char > &dst)
 
virtual void rewriteQuery (std::string const &query, std::vector< char > &buffer)
 

Protected Attributes

bool endOfRowSet_
 
std::vector< std::vector< indicator > > inds_
 
std::vector< void * > intos_
 
BuffersType intoType_
 
std::map< std::string, int > names_
 
bool procedure_
 
long long rowsAffectedBulk_
 
int rowsFetched_
 
std::vector< void * > uses_
 
BuffersType useType_
 

Friends

struct firebird_standard_into_type_backend
 
struct firebird_standard_use_type_backend
 
struct firebird_vector_into_type_backend
 
struct firebird_vector_use_type_backend
 

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 174 of file soci-firebird.h.

Constructor & Destructor Documentation

firebird_statement_backend::firebird_statement_backend ( firebird_session_backend session)

Definition at line 19 of file backends/firebird/statement.cpp.

Member Function Documentation

void firebird_statement_backend::alloc ( )
virtual

Implements soci::details::statement_backend.

Definition at line 40 of file backends/firebird/statement.cpp.

void firebird_statement_backend::clean_up ( )
virtual

Implements soci::details::statement_backend.

Definition at line 50 of file backends/firebird/statement.cpp.

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

Implements soci::details::statement_backend.

Definition at line 646 of file backends/firebird/statement.cpp.

void firebird_statement_backend::exchangeData ( bool  gotData,
int  row 
)
protectedvirtual

Definition at line 521 of file backends/firebird/statement.cpp.

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

Implements soci::details::statement_backend.

Definition at line 374 of file backends/firebird/statement.cpp.

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

Implements soci::details::statement_backend.

Definition at line 477 of file backends/firebird/statement.cpp.

long long firebird_statement_backend::get_affected_rows ( )
virtual

Implements soci::details::statement_backend.

Definition at line 564 of file backends/firebird/statement.cpp.

int firebird_statement_backend::get_number_of_rows ( )
virtual

Implements soci::details::statement_backend.

Definition at line 629 of file backends/firebird/statement.cpp.

firebird_standard_into_type_backend * firebird_statement_backend::make_into_type_backend ( )
virtual

Implements soci::details::statement_backend.

Definition at line 706 of file backends/firebird/statement.cpp.

firebird_standard_use_type_backend * firebird_statement_backend::make_use_type_backend ( )
virtual

Implements soci::details::statement_backend.

Definition at line 711 of file backends/firebird/statement.cpp.

firebird_vector_into_type_backend * firebird_statement_backend::make_vector_into_type_backend ( )
virtual

Implements soci::details::statement_backend.

Definition at line 716 of file backends/firebird/statement.cpp.

firebird_vector_use_type_backend * firebird_statement_backend::make_vector_use_type_backend ( )
virtual

Implements soci::details::statement_backend.

Definition at line 721 of file backends/firebird/statement.cpp.

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

Implements soci::details::statement_backend.

Definition at line 289 of file backends/firebird/statement.cpp.

int firebird_statement_backend::prepare_for_describe ( )
virtual

Implements soci::details::statement_backend.

Definition at line 641 of file backends/firebird/statement.cpp.

void firebird_statement_backend::prepareSQLDA ( XSQLDA **  sqldap,
int  size = 10 
)
protectedvirtual

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

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

Implements soci::details::statement_backend.

Definition at line 634 of file backends/firebird/statement.cpp.

void firebird_statement_backend::rewriteParameters ( std::string const &  src,
std::vector< char > &  dst 
)
protectedvirtual

Definition at line 78 of file backends/firebird/statement.cpp.

void firebird_statement_backend::rewriteQuery ( std::string const &  query,
std::vector< char > &  buffer 
)
protectedvirtual

Definition at line 179 of file backends/firebird/statement.cpp.

Friends And Related Function Documentation

Definition at line 210 of file soci-firebird.h.

friend struct firebird_standard_use_type_backend
friend

Definition at line 212 of file soci-firebird.h.

friend struct firebird_vector_into_type_backend
friend

Definition at line 209 of file soci-firebird.h.

friend struct firebird_vector_use_type_backend
friend

Definition at line 211 of file soci-firebird.h.

Member Data Documentation

bool soci::firebird_statement_backend::boundByName_

Definition at line 206 of file soci-firebird.h.

bool soci::firebird_statement_backend::boundByPos_

Definition at line 207 of file soci-firebird.h.

bool soci::firebird_statement_backend::endOfRowSet_
protected

Definition at line 216 of file soci-firebird.h.

std::vector<std::vector<indicator> > soci::firebird_statement_backend::inds_
protected

Definition at line 230 of file soci-firebird.h.

std::vector<void*> soci::firebird_statement_backend::intos_
protected

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

BuffersType soci::firebird_statement_backend::intoType_
protected

Definition at line 227 of file soci-firebird.h.

std::map<std::string, int> soci::firebird_statement_backend::names_
protected

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

bool soci::firebird_statement_backend::procedure_
protected

Definition at line 237 of file soci-firebird.h.

long long soci::firebird_statement_backend::rowsAffectedBulk_
protected

Definition at line 218 of file soci-firebird.h.

int soci::firebird_statement_backend::rowsFetched_
protected

Definition at line 215 of file soci-firebird.h.

firebird_session_backend& soci::firebird_statement_backend::session_

Definition at line 200 of file soci-firebird.h.

XSQLDA* soci::firebird_statement_backend::sqlda2p_

Definition at line 204 of file soci-firebird.h.

XSQLDA* soci::firebird_statement_backend::sqldap_

Definition at line 203 of file soci-firebird.h.

isc_stmt_handle soci::firebird_statement_backend::stmtp_

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

std::vector<void*> soci::firebird_statement_backend::uses_
protected

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

BuffersType soci::firebird_statement_backend::useType_
protected

Definition at line 228 of file soci-firebird.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