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

#include <soci-sqlite3.h>

Inheritance diagram for soci::sqlite3_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)
 
virtual long long get_affected_rows ()
 
virtual int get_number_of_rows ()
 
virtual sqlite3_standard_into_type_backendmake_into_type_backend ()
 
virtual sqlite3_standard_use_type_backendmake_use_type_backend ()
 
virtual sqlite3_vector_into_type_backendmake_vector_into_type_backend ()
 
virtual sqlite3_vector_use_type_backendmake_vector_use_type_backend ()
 
virtual void prepare (std::string const &query, details::statement_type eType)
 
virtual int prepare_for_describe ()
 
void reset_if_needed ()
 
virtual std::string rewrite_for_procedure_call (std::string const &query)
 
 sqlite3_statement_backend (sqlite3_session_backend &session)
 
- Public Member Functions inherited from soci::details::statement_backend
 statement_backend ()
 
virtual ~statement_backend ()
 

Public Attributes

bool boundByName_
 
bool boundByPos_
 
bool databaseReady_
 
sqlite3_recordset dataCache_
 
long long rowsAffectedBulk_
 
sqlite3_session_backendsession_
 
sqlite_api::sqlite3_stmt * stmt_
 
sqlite3_recordset useData_
 

Private Member Functions

exec_fetch_result bind_and_execute (int number)
 
exec_fetch_result load_one ()
 
exec_fetch_result load_rowset (int totalRows)
 

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-sqlite3.h.

Constructor & Destructor Documentation

sqlite3_statement_backend::sqlite3_statement_backend ( sqlite3_session_backend session)

Definition at line 21 of file backends/sqlite3/statement.cpp.

Member Function Documentation

void sqlite3_statement_backend::alloc ( )
virtual

Implements soci::details::statement_backend.

Definition at line 34 of file backends/sqlite3/statement.cpp.

statement_backend::exec_fetch_result sqlite3_statement_backend::bind_and_execute ( int  number)
private

Definition at line 191 of file backends/sqlite3/statement.cpp.

void sqlite3_statement_backend::clean_up ( )
virtual

Implements soci::details::statement_backend.

Definition at line 39 of file backends/sqlite3/statement.cpp.

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

Implements soci::details::statement_backend.

Definition at line 311 of file backends/sqlite3/statement.cpp.

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

Implements soci::details::statement_backend.

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

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

Implements soci::details::statement_backend.

Definition at line 281 of file backends/sqlite3/statement.cpp.

long long sqlite3_statement_backend::get_affected_rows ( )
virtual

Implements soci::details::statement_backend.

Definition at line 286 of file backends/sqlite3/statement.cpp.

int sqlite3_statement_backend::get_number_of_rows ( )
virtual

Implements soci::details::statement_backend.

Definition at line 295 of file backends/sqlite3/statement.cpp.

statement_backend::exec_fetch_result sqlite3_statement_backend::load_one ( )
private

Definition at line 160 of file backends/sqlite3/statement.cpp.

statement_backend::exec_fetch_result sqlite3_statement_backend::load_rowset ( int  totalRows)
private

Definition at line 90 of file backends/sqlite3/statement.cpp.

sqlite3_standard_into_type_backend * sqlite3_statement_backend::make_into_type_backend ( )
virtual

Implements soci::details::statement_backend.

Definition at line 417 of file backends/sqlite3/statement.cpp.

sqlite3_standard_use_type_backend * sqlite3_statement_backend::make_use_type_backend ( )
virtual

Implements soci::details::statement_backend.

Definition at line 422 of file backends/sqlite3/statement.cpp.

sqlite3_vector_into_type_backend * sqlite3_statement_backend::make_vector_into_type_backend ( )
virtual

Implements soci::details::statement_backend.

Definition at line 428 of file backends/sqlite3/statement.cpp.

sqlite3_vector_use_type_backend * sqlite3_statement_backend::make_vector_use_type_backend ( )
virtual

Implements soci::details::statement_backend.

Definition at line 434 of file backends/sqlite3/statement.cpp.

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

Implements soci::details::statement_backend.

Definition at line 51 of file backends/sqlite3/statement.cpp.

int sqlite3_statement_backend::prepare_for_describe ( )
virtual

Implements soci::details::statement_backend.

Definition at line 306 of file backends/sqlite3/statement.cpp.

void sqlite3_statement_backend::reset_if_needed ( )

Definition at line 76 of file backends/sqlite3/statement.cpp.

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

Implements soci::details::statement_backend.

Definition at line 300 of file backends/sqlite3/statement.cpp.

Member Data Documentation

bool soci::sqlite3_statement_backend::boundByName_

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

bool soci::sqlite3_statement_backend::boundByPos_

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

bool soci::sqlite3_statement_backend::databaseReady_

Definition at line 205 of file soci-sqlite3.h.

sqlite3_recordset soci::sqlite3_statement_backend::dataCache_

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

long long soci::sqlite3_statement_backend::rowsAffectedBulk_

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

sqlite3_session_backend& soci::sqlite3_statement_backend::session_

Definition at line 201 of file soci-sqlite3.h.

sqlite_api::sqlite3_stmt* soci::sqlite3_statement_backend::stmt_

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

sqlite3_recordset soci::sqlite3_statement_backend::useData_

Definition at line 204 of file soci-sqlite3.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:42