pqxx::prepare::internal::prepared_def Struct Reference

Internal representation of a prepared statement definition. More...

#include <prepared_statement.hxx>

List of all members.

Public Member Functions

 prepared_def ()
 prepared_def (const std::string &)
void addparam (const std::string &sqltype, param_treatment)

Public Attributes

std::string definition
 Text of prepared query.
std::vector< paramparameters
 Parameter list.
bool registered
 Has this prepared statement been prepared in the current session?
bool complete
 Is this definition complete?
bool varargs
 Does this statement accept variable arguments, as declared with etc()?
param_treatment varargs_treatment
 How should parameters after the last declared one be treated?

Classes

struct  param
 Parameter definition. More...


Detailed Description

Internal representation of a prepared statement definition.

Constructor & Destructor Documentation

pqxx::prepare::internal::prepared_def::prepared_def (  ) 

pqxx::prepare::internal::prepared_def::prepared_def ( const std::string &  def  )  [explicit]


Member Function Documentation

void pqxx::prepare::internal::prepared_def::addparam ( const std::string &  sqltype,
param_treatment  treatment 
)

References parameters.


Member Data Documentation

Text of prepared query.

Parameter list.

Referenced by addparam().

Has this prepared statement been prepared in the current session?

Is this definition complete?

Does this statement accept variable arguments, as declared with etc()?

How should parameters after the last declared one be treated?


The documentation for this struct was generated from the following files:

Generated on Mon Feb 15 18:22:54 2010 for libpqxx by  doxygen 1.5.5