fastcgi++
3.1alpha
A C++ FastCGI/Web API
|
De-templated base class for Parameters. More...
#include <fastcgi++/sql/parameters.hpp>
Public Member Functions | |
void | build () |
Initialize the arrays needed by SQL. More... | |
const unsigned * | oids () const |
Constant pointer to array of all parameter oids. More... | |
const char *const * | raws () const |
Constant pointer to pointer array of all raw parameter data. More... | |
const int * | sizes () const |
Constant pointer to array of all parameter sizes. More... | |
const int * | formats () const |
Constant pointer to array of all formats. More... | |
virtual int | size () const =0 |
How many parameters in this tuple? More... | |
virtual | ~Parameters_base () |
Protected Member Functions | |
virtual void | build_impl ()=0 |
Template side virtual to populate the above arrays. More... | |
Protected Attributes | |
const std::vector< unsigned > * | m_oids |
Array of oids for each parameter. More... | |
std::vector< const char * > | m_raws |
Array of raw data pointers for each parameter. More... | |
std::vector< int > | m_sizes |
Array of sizes for each parameter. More... | |
const std::vector< int > * | m_formats |
Array of formats for each parameter. More... | |
De-templated base class for Parameters.
Definition at line 357 of file parameters.hpp.
|
inlinevirtual |
Definition at line 428 of file parameters.hpp.
void Fastcgipp::SQL::Parameters_base::build | ( | ) |
Initialize the arrays needed by SQL.
Definition at line 36 of file parameters.cpp.
References build_impl(), m_raws, m_sizes, and size().
|
protectedpure virtual |
Template side virtual to populate the above arrays.
This just gets called by build().
Implemented in Fastcgipp::SQL::Parameters< Types >.
Referenced by build().
|
inline |
Constant pointer to array of all formats.
Definition at line 420 of file parameters.hpp.
|
inline |
Constant pointer to array of all parameter oids.
This is not valid until build() is called
Definition at line 399 of file parameters.hpp.
|
inline |
Constant pointer to pointer array of all raw parameter data.
This is not valid until build() is called
Definition at line 408 of file parameters.hpp.
|
pure virtual |
How many parameters in this tuple?
Implemented in Fastcgipp::SQL::Parameters< Types >.
Referenced by build().
|
inline |
Constant pointer to array of all parameter sizes.
Definition at line 414 of file parameters.hpp.
|
protected |
Array of formats for each parameter.
This gets initialized by calling build(). It is really just an array of 1s.
Definition at line 383 of file parameters.hpp.
|
protected |
Array of oids for each parameter.
This gets initialized by calling build().
Definition at line 364 of file parameters.hpp.
|
protected |
Array of raw data pointers for each parameter.
This gets initialized by calling build().
Definition at line 370 of file parameters.hpp.
Referenced by build().
|
protected |
Array of sizes for each parameter.
This gets initialized by calling build().
Definition at line 376 of file parameters.hpp.
Referenced by build().