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

#include <statement_parameters.hxx>

Inheritance diagram for pqxx::internal::statement_parameters:
Collaboration diagram for pqxx::internal::statement_parameters:

Protected Member Functions

 statement_parameters ()
 
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...
 

Private Member Functions

void add_checked_param (const PGSTD::string &, bool nonnull, bool binary)
 
statement_parametersoperator= (const statement_parameters &)
 

Private Attributes

PGSTD::vector< bool > m_binary
 
PGSTD::vector< bool > m_nonnull
 
PGSTD::vector< PGSTD::string > m_values
 

Constructor & Destructor Documentation

pqxx::internal::statement_parameters::statement_parameters ( )
protected

Member Function Documentation

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

References pqxx::binarystring::str().

Here is the call graph for this function:

void pqxx::internal::statement_parameters::add_checked_param ( const PGSTD::string &  ,
bool  nonnull,
bool  binary 
)
private
void pqxx::internal::statement_parameters::add_param ( )
inlineprotected
template<typename T >
void pqxx::internal::statement_parameters::add_param ( const T &  v,
bool  nonnull 
)
inlineprotected

References pqxx::to_string().

Here is the call graph for this function:

int pqxx::internal::statement_parameters::marshall ( scoped_array< const char * > &  values,
scoped_array< int > &  lengths,
scoped_array< int > &  binaries 
) const
protected

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

statement_parameters& pqxx::internal::statement_parameters::operator= ( const statement_parameters )
private

Member Data Documentation

PGSTD::vector<bool> pqxx::internal::statement_parameters::m_binary
private
PGSTD::vector<bool> pqxx::internal::statement_parameters::m_nonnull
private
PGSTD::vector<PGSTD::string> pqxx::internal::statement_parameters::m_values
private

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