libpqxx  v4.0-1
C++ library for PostgreSQL
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pqxx::internal::parameterized_invocation Class Reference

#include <transaction_base.hxx>

Inheritance diagram for pqxx::internal::parameterized_invocation:
Collaboration diagram for pqxx::internal::parameterized_invocation:

Public Member Functions

 parameterized_invocation (connection_base &, const PGSTD::string &query)
 
result exec ()
 
parameterized_invocationoperator() ()
 
parameterized_invocationoperator() (const binarystring &v)
 
template<typename T >
parameterized_invocationoperator() (const T &v)
 
parameterized_invocationoperator() (const binarystring &v, bool nonnull)
 
template<typename T >
parameterized_invocationoperator() (const T &v, bool nonnull)
 

Private Member Functions

void add_binary_param (const binarystring &b, bool nonnull)
 
void add_param ()
 
template<typename T >
void add_param (const T &v, bool nonnull)
 
int marshall (scoped_array< const char * > &values, scoped_array< int > &lengths, scoped_array< int > &binaries) const
 Marshall parameter values into C-style arrays for passing to libpq. More...
 
parameterized_invocationoperator= (const parameterized_invocation &)
 Not allowed. More...
 

Private Attributes

connection_basem_home
 
const PGSTD::string m_query
 

Constructor & Destructor Documentation

pqxx::internal::parameterized_invocation::parameterized_invocation ( connection_base ,
const PGSTD::string &  query 
)

Member Function Documentation

void pqxx::internal::statement_parameters::add_binary_param ( const binarystring b,
bool  nonnull 
)
inlineprotectedinherited

References pqxx::binarystring::str().

Here is the call graph for this function:

void pqxx::internal::statement_parameters::add_param ( )
inlineprotectedinherited
template<typename T >
void pqxx::internal::statement_parameters::add_param ( const T &  v,
bool  nonnull 
)
inlineprotectedinherited

References pqxx::to_string().

Here is the call graph for this function:

result pqxx::internal::parameterized_invocation::exec ( )
int pqxx::internal::statement_parameters::marshall ( scoped_array< const char * > &  values,
scoped_array< int > &  lengths,
scoped_array< int > &  binaries 
) const
protectedinherited

Marshall parameter values into C-style arrays for passing to libpq.

parameterized_invocation& pqxx::internal::parameterized_invocation::operator() ( )
inline
parameterized_invocation& pqxx::internal::parameterized_invocation::operator() ( const binarystring v)
inline
template<typename T >
parameterized_invocation& pqxx::internal::parameterized_invocation::operator() ( const T &  v)
inline
parameterized_invocation& pqxx::internal::parameterized_invocation::operator() ( const binarystring v,
bool  nonnull 
)
inline
template<typename T >
parameterized_invocation& pqxx::internal::parameterized_invocation::operator() ( const T &  v,
bool  nonnull 
)
inline
parameterized_invocation& pqxx::internal::parameterized_invocation::operator= ( const parameterized_invocation )
private

Not allowed.

Member Data Documentation

connection_base& pqxx::internal::parameterized_invocation::m_home
private
const PGSTD::string pqxx::internal::parameterized_invocation::m_query
private

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