Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages
pqxx::result::tuple Class Reference
Reference to one row in a result.
More...
#include <result.h>
Inheritance diagram for pqxx::result::tuple:
List of all members.
Detailed Description
Reference to one row in a result.
A tuple represents one row (also called a tuple) in a query result set. It also acts as a container mapping column numbers or names to field values (see below):
cout << tuple["date"].c_str() << ": " << tuple["name"].c_str() << endl;
The fields in a tuple can not currently be iterated over.
Member Typedef Documentation
Constructor & Destructor Documentation
pqxx::result::tuple::~tuple |
( |
|
) |
|
|
pqxx::result::tuple::tuple |
( |
|
) |
[protected] |
|
Member Function Documentation
field pqxx::result::tuple::at |
( |
const PGSTD::string & |
s |
) |
const |
|
size_type pqxx::result::tuple::ColumnNumber |
( |
const char |
ColName[] |
) |
const |
|
size_type pqxx::result::tuple::ColumnNumber |
( |
const PGSTD::string & |
ColName |
) |
const |
|
field pqxx::result::tuple::operator[] |
( |
const PGSTD::string & |
s |
) |
const |
|
Member Data Documentation
const result* pqxx::result::tuple::m_Home [protected]
|
|
The documentation for this class was generated from the following files:
Generated on Sat Jun 7 00:49:36 2003 for libpqxx by
1.3-rc3