Abstract base class for "Random-Access" streams i.e. streams that can be arbitrarily re-positioned.
More...
#include <edlstream.h>
|
virtual | ~IRAStream () |
| Virtual destructor.
|
|
virtual int64 | length ()=0 |
| Get length of the stream.
|
|
virtual bool | setPos (int64 newPos)=0 |
| Set stream position.
|
|
virtual void | setPosE (int64 newPos) |
| Set stream position, but throw an exception on failure.
|
|
Abstract base class for "Random-Access" streams i.e. streams that can be arbitrarily re-positioned.
◆ length()
virtual int64 IRAStream::length |
( |
| ) |
|
|
pure virtual |
Get length of the stream.
- Returns
- int64 The length of the stream.
◆ setPos()
virtual bool IRAStream::setPos |
( |
int64 | newPos | ) |
|
|
pure virtual |
Set stream position.
- Parameters
-
newPos | The desired new position. |
- Returns
- bool True if method succeeded.
◆ setPosE()
virtual void IRAStream::setPosE |
( |
int64 | newPos | ) |
|
|
inlinevirtual |
Set stream position, but throw an exception on failure.
- Parameters
-
newPos | The desired new position. |
The documentation for this class was generated from the following file: