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

#include <soci-mysql.h>

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

Public Types

typedef std::map< std::string, char ** > UseByNameBuffersMap
 
typedef std::map< int, char ** > UseByPosBuffersMap
 
- Public Types inherited from soci::details::statement_backend
enum  exec_fetch_result { ef_success, ef_no_data }
 

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 mysql_standard_into_type_backendmake_into_type_backend ()
 
virtual mysql_standard_use_type_backendmake_use_type_backend ()
 
virtual mysql_vector_into_type_backendmake_vector_into_type_backend ()
 
virtual mysql_vector_use_type_backendmake_vector_use_type_backend ()
 
 mysql_statement_backend (mysql_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

int currentRow_
 
bool hasIntoElements_
 
bool hasUseElements_
 
bool hasVectorIntoElements_
 
bool hasVectorUseElements_
 
bool justDescribed_
 
std::vector< std::string > names_
 
int numberOfRows_
 
std::vector< std::string > queryChunks_
 
MYSQL_RES * result_
 
std::vector< MYSQL_ROW_OFFSET > resultRowOffsets_
 
long long rowsAffectedBulk_
 
int rowsToConsume_
 
mysql_session_backendsession_
 
UseByNameBuffersMap useByNameBuffers_
 
UseByPosBuffersMap useByPosBuffers_
 

Detailed Description

Definition at line 142 of file soci-mysql.h.

Member Typedef Documentation

typedef std::map<std::string, char **> soci::mysql_statement_backend::UseByNameBuffersMap

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

typedef std::map<int, char **> soci::mysql_statement_backend::UseByPosBuffersMap

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

Constructor & Destructor Documentation

mysql_statement_backend::mysql_statement_backend ( mysql_session_backend session)

Definition at line 24 of file backends/mysql/statement.cpp.

Member Function Documentation

void mysql_statement_backend::alloc ( )
virtual

Implements soci::details::statement_backend.

Definition at line 33 of file backends/mysql/statement.cpp.

void mysql_statement_backend::clean_up ( )
virtual

Implements soci::details::statement_backend.

Definition at line 38 of file backends/mysql/statement.cpp.

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

Implements soci::details::statement_backend.

Definition at line 400 of file backends/mysql/statement.cpp.

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

Implements soci::details::statement_backend.

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

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

Implements soci::details::statement_backend.

Definition at line 334 of file backends/mysql/statement.cpp.

long long mysql_statement_backend::get_affected_rows ( )
virtual

Implements soci::details::statement_backend.

Definition at line 369 of file backends/mysql/statement.cpp.

int mysql_statement_backend::get_number_of_rows ( )
virtual

Implements soci::details::statement_backend.

Definition at line 378 of file backends/mysql/statement.cpp.

mysql_standard_into_type_backend * mysql_statement_backend::make_into_type_backend ( )
virtual

Implements soci::details::statement_backend.

Definition at line 455 of file backends/mysql/statement.cpp.

mysql_standard_use_type_backend * mysql_statement_backend::make_use_type_backend ( )
virtual

Implements soci::details::statement_backend.

Definition at line 462 of file backends/mysql/statement.cpp.

mysql_vector_into_type_backend * mysql_statement_backend::make_vector_into_type_backend ( )
virtual

Implements soci::details::statement_backend.

Definition at line 469 of file backends/mysql/statement.cpp.

mysql_vector_use_type_backend * mysql_statement_backend::make_vector_use_type_backend ( )
virtual

Implements soci::details::statement_backend.

Definition at line 476 of file backends/mysql/statement.cpp.

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

Implements soci::details::statement_backend.

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

int mysql_statement_backend::prepare_for_describe ( )
virtual

Implements soci::details::statement_backend.

Definition at line 391 of file backends/mysql/statement.cpp.

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

Implements soci::details::statement_backend.

Definition at line 383 of file backends/mysql/statement.cpp.

Member Data Documentation

int soci::mysql_statement_backend::currentRow_

Definition at line 182 of file soci-mysql.h.

bool soci::mysql_statement_backend::hasIntoElements_

Definition at line 192 of file soci-mysql.h.

bool soci::mysql_statement_backend::hasUseElements_

Definition at line 194 of file soci-mysql.h.

bool soci::mysql_statement_backend::hasVectorIntoElements_

Definition at line 193 of file soci-mysql.h.

bool soci::mysql_statement_backend::hasVectorUseElements_

Definition at line 195 of file soci-mysql.h.

bool soci::mysql_statement_backend::justDescribed_

Definition at line 185 of file soci-mysql.h.

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

Definition at line 177 of file soci-mysql.h.

int soci::mysql_statement_backend::numberOfRows_

Definition at line 181 of file soci-mysql.h.

std::vector<std::string> soci::mysql_statement_backend::queryChunks_

Definition at line 176 of file soci-mysql.h.

MYSQL_RES* soci::mysql_statement_backend::result_

Definition at line 170 of file soci-mysql.h.

std::vector<MYSQL_ROW_OFFSET> soci::mysql_statement_backend::resultRowOffsets_

Definition at line 190 of file soci-mysql.h.

long long soci::mysql_statement_backend::rowsAffectedBulk_

Definition at line 179 of file soci-mysql.h.

int soci::mysql_statement_backend::rowsToConsume_

Definition at line 183 of file soci-mysql.h.

mysql_session_backend& soci::mysql_statement_backend::session_

Definition at line 168 of file soci-mysql.h.

UseByNameBuffersMap soci::mysql_statement_backend::useByNameBuffers_

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

UseByPosBuffersMap soci::mysql_statement_backend::useByPosBuffers_

Definition at line 201 of file soci-mysql.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