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

Abstract base class (for input streams only) that provides a "push back" mechanism. When used with random access streams, the pushback buffer is invalidated by setPos(). More...

#include <edlstream.h>

Inheritance diagram for IPushbackStream:

Public Member Functions

virtual ~IPushbackStream ()
 Virtual destructor.
 
virtual bool pushBack (uint8 byte)=0
 Push back a byte.
 
virtual bool pushBack (const void *buffer, int32 count)=0
 Push back from a buffer.
 

Detailed Description

Abstract base class (for input streams only) that provides a "push back" mechanism. When used with random access streams, the pushback buffer is invalidated by setPos().

Member Function Documentation

◆ pushBack() [1/2]

virtual bool IPushbackStream::pushBack ( const void * buffer,
int32 count )
pure virtual

Push back from a buffer.

Parameters
bufferBuffer to push back from.
countNumber of bytes to push back.
Returns
bool True if method succeeded.

◆ pushBack() [2/2]

virtual bool IPushbackStream::pushBack ( uint8 byte)
pure virtual

Push back a byte.

Parameters
byteByte to be pushed back.
Returns
bool True if method succeeded.

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