sql_bind_param class. To be used for pg_stream internal purposes
More...
#include <pgstream.hpp>
List of all members.
Detailed Description
sql_bind_param class. To be used for pg_stream internal purposes
Definition at line 119 of file pgstream.hpp.
Member Enumeration Documentation
- Enumerator:
| oid_bool |
|
| oid_bytea |
|
| oid_int8 |
|
| oid_int2 |
|
| oid_int4 |
|
| oid_text |
|
| oid_varchar |
|
| oid_numeric |
|
Definition at line 143 of file pgstream.hpp.
Constructor & Destructor Documentation
| pgs::sql_bind_param::sql_bind_param |
( |
| ) |
|
|
inline |
| pgs::sql_bind_param::sql_bind_param |
( |
const std::string |
s, |
|
|
int |
param_pos |
|
) |
| |
|
inline |
| virtual pgs::sql_bind_param::~sql_bind_param |
( |
| ) |
|
|
inlinevirtual |
Member Function Documentation
| const void* pgs::sql_bind_param::data_ptr |
( |
| ) |
const |
|
inline |
| unsigned int pgs::sql_bind_param::data_size |
( |
| ) |
const |
|
inline |
| const std::string pgs::sql_bind_param::name |
( |
| ) |
const |
|
inline |
| bool pgs::sql_bind_param::null |
( |
| ) |
const |
|
inline |
| void pgs::sql_bind_param::offset |
( |
int |
off | ) |
|
|
inline |
| int pgs::sql_bind_param::pg_type |
( |
| ) |
const |
|
inline |
| int pgs::sql_bind_param::pos |
( |
| ) |
const |
|
inline |
| void pgs::sql_bind_param::reset_offset |
( |
| ) |
|
|
inline |
| void pgs::sql_bind_param::set_binary_data |
( |
const void * |
buf, |
|
|
unsigned int |
sz |
|
) |
| |
|
inline |
| void pgs::sql_bind_param::set_null |
( |
| ) |
|
|
inline |
| void pgs::sql_bind_param::set_type |
( |
enum type_oid |
o | ) |
|
| void pgs::sql_bind_param::set_type |
( |
const char * |
t | ) |
|
| void pgs::sql_bind_param::set_value |
( |
const char * |
buf | ) |
|
|
inline |
| const std::string pgs::sql_bind_param::type_name |
( |
| ) |
const |
|
inline |
| const std::string pgs::sql_bind_param::value |
( |
| ) |
const |
|
inline |
Member Data Documentation
| const void* pgs::sql_bind_param::m_data_ptr |
|
private |
| unsigned int pgs::sql_bind_param::m_data_size |
|
private |
| int pgs::sql_bind_param::m_initial_offset |
|
private |
| std::string pgs::sql_bind_param::m_name |
|
private |
| bool pgs::sql_bind_param::m_null |
|
private |
| int pgs::sql_bind_param::m_offset |
|
private |
| int pgs::sql_bind_param::m_oids |
|
staticprivate |
| std::string pgs::sql_bind_param::m_type_name |
|
private |
| const char * pgs::sql_bind_param::m_type_names |
|
staticprivate |
Initial value: {
"bigint",
"bool",
"bytea",
"int",
"numeric",
"smallint",
"text",
"varchar"
}
Definition at line 172 of file pgstream.hpp.
| int pgs::sql_bind_param::m_type_oid |
|
private |
| std::string pgs::sql_bind_param::m_value |
|
private |
The documentation for this class was generated from the following files: