|
Stxxl
1.3.2
|
Buffered output stream. More...
#include <buf_ostream.h>
Public Types | |
| typedef block_type::const_reference | const_reference |
| typedef block_type::reference | reference |
|
typedef buf_ostream < block_type, bid_iterator_type > | _Self |
Public Member Functions | |
| buf_ostream (bid_iterator_type first_bid, int_type nbuffers) | |
| Constructs output stream object. More... | |
| _Self & | operator<< (const_reference record) |
Output stream operator, writes out record. More... | |
| reference | current () |
| Returns reference to the current record. More... | |
| reference | operator* () |
| Returns reference to the current record. More... | |
| _Self & | operator++ () |
| Moves to the next record in the stream. More... | |
| virtual | ~buf_ostream () |
| Deallocates internal objects. More... | |
Protected Attributes | |
| buffered_writer< block_type > | writer |
| bid_iterator_type | current_bid |
| int_type | current_elem |
| block_type * | current_blk |
Buffered output stream.
Writes data records to the stream of blocks.
|
inline |
Constructs output stream object.
| first_bid | bid_iterator pointing to the first block of the stream |
| nbuffers | number of buffers for internal use |
|
inlinevirtual |
Deallocates internal objects.
|
inline |
Returns reference to the current record.
|
inline |
Returns reference to the current record.
|
inline |
Moves to the next record in the stream.
|
inline |
Output stream operator, writes out record.
| record | const reference to block record type, containing a value of record to write to the stream |
1.8.5