pqxx::icursor_iterator Class Reference
Approximate istream_iterator for icursorstream.
More...
#include <cursor.hxx>
List of all members.
Detailed Description
Approximate istream_iterator for icursorstream.
A rough equivalent of the C++ Standard Library's istream_iterator or input_iterator, this class supports only two basic operations: reading the current element, and moving forward. In addition to the minimal guarantees for istream_iterators, this class supports multiple successive reads of the same position (the current result set is cached in the iterator) even after copying and even after new data have been read from the stream.
The iterator has no concept of its own position, however. Moving an iterator forward moves the underlying stream forward and reads the data from the new position, regardless of "where the iterator was" in the stream. Comparison of iterators is only supported for detecting the end of a stream.
- Warning:
- This code is experimental. It is not fully covered by libpqxx' regression tests, and may see considerable change before becoming part of a stable release. Use with care.
Member Typedef Documentation
Constructor & Destructor Documentation
pqxx::icursor_iterator::icursor_iterator |
( |
|
) |
|
|
pqxx::icursor_iterator::icursor_iterator |
( |
istream_type & |
s |
) |
|
|
Member Function Documentation
const result& pqxx::icursor_iterator::operator * |
( |
|
) |
const |
|
bool pqxx::icursor_iterator::operator!= |
( |
const icursor_iterator & |
rhs |
) |
const throw () |
|
const result* pqxx::icursor_iterator::operator-> |
( |
|
) |
const |
|
bool pqxx::icursor_iterator::operator== |
( |
const icursor_iterator & |
rhs |
) |
const throw () |
|
The documentation for this class was generated from the following file:
Generated on Sun Jun 20 00:35:46 2004 for libpqxx by
1.3.7