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

#include <soci-postgresql.h>

Inheritance diagram for soci::postgresql_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 postgresql_standard_into_type_backendmake_into_type_backend ()
 
virtual postgresql_standard_use_type_backendmake_use_type_backend ()
 
virtual postgresql_vector_into_type_backendmake_vector_into_type_backend ()
 
virtual postgresql_vector_use_type_backendmake_vector_use_type_backend ()
 
 postgresql_statement_backend (postgresql_session_backend &session)
 
virtual void prepare (std::string const &query, details::statement_type stType)
 
virtual int prepare_for_describe ()
 
virtual std::string rewrite_for_procedure_call (std::string const &query)
 
 ~postgresql_statement_backend ()
 
- 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::string query_
 
details::postgresql_result result_
 
long long rowsAffectedBulk_
 
int rowsToConsume_
 
postgresql_session_backendsession_
 
std::string statementName_
 
details::statement_type stType_
 
UseByNameBuffersMap useByNameBuffers_
 
UseByPosBuffersMap useByPosBuffers_
 

Detailed Description

Definition at line 219 of file soci-postgresql.h.

Member Typedef Documentation

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

Definition at line 274 of file soci-postgresql.h.

Definition at line 271 of file soci-postgresql.h.

Constructor & Destructor Documentation

postgresql_statement_backend::postgresql_statement_backend ( postgresql_session_backend session)

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

postgresql_statement_backend::~postgresql_statement_backend ( )

Definition at line 42 of file backends/postgresql/statement.cpp.

Member Function Documentation

void postgresql_statement_backend::alloc ( )
virtual
void postgresql_statement_backend::clean_up ( )
virtual
void postgresql_statement_backend::describe_column ( int  colNum,
data_type dtype,
std::string &  columnName 
)
virtual
statement_backend::exec_fetch_result postgresql_statement_backend::execute ( int  number)
virtual
statement_backend::exec_fetch_result postgresql_statement_backend::fetch ( int  number)
virtual
long long postgresql_statement_backend::get_affected_rows ( )
virtual
int postgresql_statement_backend::get_number_of_rows ( )
virtual
postgresql_standard_into_type_backend * postgresql_statement_backend::make_into_type_backend ( )
virtual
postgresql_standard_use_type_backend * postgresql_statement_backend::make_use_type_backend ( )
virtual
postgresql_vector_into_type_backend * postgresql_statement_backend::make_vector_into_type_backend ( )
virtual
postgresql_vector_use_type_backend * postgresql_statement_backend::make_vector_use_type_backend ( )
virtual
void postgresql_statement_backend::prepare ( std::string const &  query,
details::statement_type  stType 
)
virtual
int postgresql_statement_backend::prepare_for_describe ( )
virtual
std::string postgresql_statement_backend::rewrite_for_procedure_call ( std::string const &  query)
virtual

Member Data Documentation

int soci::postgresql_statement_backend::currentRow_

Definition at line 257 of file soci-postgresql.h.

bool soci::postgresql_statement_backend::hasIntoElements_

Definition at line 263 of file soci-postgresql.h.

bool soci::postgresql_statement_backend::hasUseElements_

Definition at line 265 of file soci-postgresql.h.

bool soci::postgresql_statement_backend::hasVectorIntoElements_

Definition at line 264 of file soci-postgresql.h.

bool soci::postgresql_statement_backend::hasVectorUseElements_

Definition at line 266 of file soci-postgresql.h.

bool soci::postgresql_statement_backend::justDescribed_

Definition at line 260 of file soci-postgresql.h.

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

Definition at line 252 of file soci-postgresql.h.

int soci::postgresql_statement_backend::numberOfRows_

Definition at line 256 of file soci-postgresql.h.

std::string soci::postgresql_statement_backend::query_

Definition at line 249 of file soci-postgresql.h.

details::postgresql_result soci::postgresql_statement_backend::result_

Definition at line 248 of file soci-postgresql.h.

long long soci::postgresql_statement_backend::rowsAffectedBulk_

Definition at line 254 of file soci-postgresql.h.

int soci::postgresql_statement_backend::rowsToConsume_

Definition at line 258 of file soci-postgresql.h.

postgresql_session_backend& soci::postgresql_statement_backend::session_

Definition at line 246 of file soci-postgresql.h.

std::string soci::postgresql_statement_backend::statementName_

Definition at line 251 of file soci-postgresql.h.

details::statement_type soci::postgresql_statement_backend::stType_

Definition at line 250 of file soci-postgresql.h.

UseByNameBuffersMap soci::postgresql_statement_backend::useByNameBuffers_

Definition at line 275 of file soci-postgresql.h.

UseByPosBuffersMap soci::postgresql_statement_backend::useByPosBuffers_

Definition at line 272 of file soci-postgresql.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