#include <tablewriter.hxx>
Public Member Functions |
| tablewriter (transaction_base &, const std::string &WName, const std::string &Null=std::string()) |
template<typename ITER > |
| tablewriter (transaction_base &, const std::string &WName, ITER begincolumns, ITER endcolumns) |
template<typename ITER > |
| tablewriter (transaction_base &T, const std::string &WName, ITER begincolumns, ITER endcolumns, const std::string &Null) |
| ~tablewriter () throw () |
template<typename IT > |
void | insert (IT Begin, IT End) |
template<typename TUPLE > |
void | insert (const TUPLE &) |
template<typename IT > |
void | push_back (IT Begin, IT End) |
template<typename TUPLE > |
void | push_back (const TUPLE &) |
void | reserve (size_type) |
template<typename TUPLE > |
tablewriter & | operator<< (const TUPLE &) |
tablewriter & | operator<< (tablereader &) |
template<typename IT > |
std::string | generate (IT Begin, IT End) const |
template<typename TUPLE > |
std::string | generate (const TUPLE &) const |
virtual void | complete () |
void | write_raw_line (const std::string &) |
| tablestream (transaction_base &Trans, const std::string &Null=std::string()) |
virtual | ~tablestream ()=0 throw () |
| transactionfocus (transaction_base &t) |
| namedclass (const std::string &Classname, const std::string &Name="") |
const std::string & | name () const throw () |
const std::string & | classname () const throw () |
std::string | description () const |
Detailed Description
- Deprecated:
- Efficiently write data directly to a database table.
- Warning
- This class does not work reliably with multibyte encodings. Using it with some multi-byte encodings may pose a security risk.
Member Typedef Documentation
Constructor & Destructor Documentation
pqxx::tablewriter::tablewriter |
( |
transaction_base & |
T, |
|
|
const std::string & |
WName, |
|
|
const std::string & |
Null = std::string() |
|
) |
| |
template<typename ITER >
pqxx::tablewriter::tablewriter |
( |
transaction_base & |
T, |
|
|
const std::string & |
WName, |
|
|
ITER |
begincolumns, |
|
|
ITER |
endcolumns |
|
) |
| |
template<typename ITER >
pqxx::tablewriter::tablewriter |
( |
transaction_base & |
T, |
|
|
const std::string & |
WName, |
|
|
ITER |
begincolumns, |
|
|
ITER |
endcolumns, |
|
|
const std::string & |
Null |
|
) |
| |
pqxx::tablewriter::~tablewriter |
( |
| ) |
throw () |
Member Function Documentation
void pqxx::tablewriter::complete |
( |
| ) |
|
|
virtual |
template<typename IT >
std::string pqxx::tablewriter::generate |
( |
IT |
Begin, |
|
|
IT |
End |
|
) |
| const |
template<typename TUPLE >
std::string pqxx::tablewriter::generate |
( |
const TUPLE & |
T | ) |
const |
template<typename IT >
void pqxx::tablewriter::insert |
( |
IT |
Begin, |
|
|
IT |
End |
|
) |
| |
template<typename TUPLE >
void pqxx::tablewriter::insert |
( |
const TUPLE & |
T | ) |
|
template<typename TUPLE >
tablewriter & pqxx::tablewriter::operator<< |
( |
const TUPLE & |
T | ) |
|
template<typename IT >
void pqxx::tablewriter::push_back |
( |
IT |
Begin, |
|
|
IT |
End |
|
) |
| |
template<typename TUPLE >
void pqxx::tablewriter::push_back |
( |
const TUPLE & |
T | ) |
|
void pqxx::tablewriter::reserve |
( |
size_type |
| ) |
|
void pqxx::tablewriter::write_raw_line |
( |
const std::string & |
Line | ) |
|
The documentation for this class was generated from the following files: