#include <stream.hh>
Inheritance diagram for atoms::Seekable:


Definition at line 105 of file stream.hh.
Public Types | |
| enum | Origin { oSet, oCur, oEnd } |
| The origin for a seek operation. More... | |
Public Member Functions | |
| virtual off_t | seek (off_t offset, Origin origin=oSet)=0 |
| Seek to the given position in the stream. | |
| virtual bool | isAppending () const=0 |
| Returns true iff the stream is in "append mode". | |
| off_t | tell () |
| Returns the current position in the stream. | |
Protected Attributes | |
| boost::weak_ptr< IOHandle > | thisWeak |
| A weak pointer to 'this' for source in IOError. | |
|
|
The origin for a seek operation.
|
|
|
Returns true iff the stream is in "append mode". In this mode, the stream is atomically positioned at the end of file at the beginning of every write operation.
Implemented in atoms::SeekableUNIXStream. |
|
||||||||||||
|
Seek to the given position in the stream.
Implemented in atoms::SeekableUNIXStream. Referenced by tell(). |
|
|
Returns the current position in the stream.
|
Here is the call graph for this function:

|
|
A weak pointer to 'this' for source in IOError.
|
1.3.5