Public Member Functions | Private Attributes | List of all members
soci::statement Class Reference

#include <statement.h>

Public Member Functions

void alloc ()
 
void bind (values &v)
 
void clean_up ()
 
void define_and_bind ()
 
void describe ()
 
void exchange (details::into_type_ptr const &i)
 
template<typename T , typename Indicator >
void exchange (details::into_container< T, Indicator > const &ic)
 
void exchange (details::use_type_ptr const &u)
 
template<typename T , typename Indicator >
void exchange (details::use_container< T, Indicator > const &uc)
 
template<typename T , typename Indicator >
void exchange_for_rowset (details::into_container< T, Indicator > const &ic)
 
void exchange_for_rowset (details::into_type_ptr const &i)
 
bool execute (bool withDataExchange=false)
 
bool fetch ()
 
long long get_affected_rows ()
 
details::statement_backendget_backend ()
 
bool got_data () const
 
details::standard_into_type_backendmake_into_type_backend ()
 
details::standard_use_type_backendmake_use_type_backend ()
 
details::vector_into_type_backendmake_vector_into_type_backend ()
 
details::vector_use_type_backendmake_vector_use_type_backend ()
 
void operator= (statement const &other)
 
void prepare (std::string const &query, details::statement_type eType=details::st_repeatable_query)
 
std::string rewrite_for_procedure_call (std::string const &query)
 
void set_row (row *r)
 
 statement (session &s)
 
 statement (details::prepare_temp_type const &prep)
 
 statement (statement const &other)
 
void undefine_and_bind ()
 
 ~statement ()
 

Private Attributes

bool gotData_
 
details::statement_implimpl_
 

Detailed Description

Definition at line 167 of file statement.h.

Constructor & Destructor Documentation

soci::statement::statement ( session s)
inline

Definition at line 170 of file statement.h.

soci::statement::statement ( details::prepare_temp_type const &  prep)
inline

Definition at line 172 of file statement.h.

soci::statement::~statement ( )
inline

Definition at line 174 of file statement.h.

soci::statement::statement ( statement const &  other)
inline

Definition at line 177 of file statement.h.

Member Function Documentation

void soci::statement::alloc ( )
inline

Definition at line 190 of file statement.h.

void soci::statement::bind ( values v)
inline

Definition at line 191 of file statement.h.

void soci::statement::clean_up ( )
inline

Definition at line 198 of file statement.h.

void soci::statement::define_and_bind ( )
inline

Definition at line 206 of file statement.h.

void soci::statement::describe ( )
inline

Definition at line 227 of file statement.h.

void soci::statement::exchange ( details::into_type_ptr const &  i)
inline

Definition at line 192 of file statement.h.

template<typename T , typename Indicator >
void soci::statement::exchange ( details::into_container< T, Indicator > const &  ic)
inline

Definition at line 194 of file statement.h.

void soci::statement::exchange ( details::use_type_ptr const &  u)
inline

Definition at line 195 of file statement.h.

template<typename T , typename Indicator >
void soci::statement::exchange ( details::use_container< T, Indicator > const &  uc)
inline

Definition at line 197 of file statement.h.

template<typename T , typename Indicator >
void soci::statement::exchange_for_rowset ( details::into_container< T, Indicator > const &  ic)
inline

Definition at line 231 of file statement.h.

void soci::statement::exchange_for_rowset ( details::into_type_ptr const &  i)
inline

Definition at line 236 of file statement.h.

bool soci::statement::execute ( bool  withDataExchange = false)
inline

Definition at line 208 of file statement.h.

bool soci::statement::fetch ( )
inline

Definition at line 219 of file statement.h.

long long soci::statement::get_affected_rows ( )
inline

Definition at line 214 of file statement.h.

details::statement_backend* soci::statement::get_backend ( )
inline

Definition at line 243 of file statement.h.

bool soci::statement::got_data ( ) const
inline

Definition at line 225 of file statement.h.

details::standard_into_type_backend* soci::statement::make_into_type_backend ( )
inline

Definition at line 248 of file statement.h.

details::standard_use_type_backend* soci::statement::make_use_type_backend ( )
inline

Definition at line 253 of file statement.h.

details::vector_into_type_backend* soci::statement::make_vector_into_type_backend ( )
inline

Definition at line 258 of file statement.h.

details::vector_use_type_backend* soci::statement::make_vector_use_type_backend ( )
inline

Definition at line 263 of file statement.h.

void soci::statement::operator= ( statement const &  other)
inline

Definition at line 183 of file statement.h.

void soci::statement::prepare ( std::string const &  query,
details::statement_type  eType = details::st_repeatable_query 
)
inline

Definition at line 200 of file statement.h.

std::string soci::statement::rewrite_for_procedure_call ( std::string const &  query)
inline

Definition at line 268 of file statement.h.

void soci::statement::set_row ( row r)
inline

Definition at line 228 of file statement.h.

void soci::statement::undefine_and_bind ( )
inline

Definition at line 207 of file statement.h.

Member Data Documentation

bool soci::statement::gotData_
private

Definition at line 275 of file statement.h.

details::statement_impl* soci::statement::impl_
private

Definition at line 274 of file statement.h.


The documentation for this class was generated from the following file:


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