Mako 7.5.0 API
Loading...
Searching...
No Matches
IRAStream Class Referenceabstract

Abstract base class for "Random-Access" streams i.e. streams that can be arbitrarily re-positioned. More...

#include <edlstream.h>

Inheritance diagram for IRAStream:

Public Member Functions

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.
 

Detailed Description

Abstract base class for "Random-Access" streams i.e. streams that can be arbitrarily re-positioned.

Member Function Documentation

◆ 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
newPosThe 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
newPosThe desired new position.

The documentation for this class was generated from the following file: