GStreamEnd Class Reference

Defines an API for terminating a stream. More...

#include <GStream.h>

Inheritance diagram for GStreamEnd:

GEndOfLine GLinePrefix

List of all members.

Public Member Functions

virtual void Reset ()
 Reset the end point's state.
virtual int IsEnd (void *Data, int Len)=0
 Override to process a data chunk to check for an end of stream marker.


Detailed Description

Defines an API for terminating a stream.

Member Function Documentation

virtual int GStreamEnd::IsEnd ( void *  Data,
int  Len 
) [pure virtual]

Override to process a data chunk to check for an end of stream marker.

Returns:
The index into Data of the end of the stream, indexed from the start of the data, not the start of the current block. Or -1 if the end of stream is not in the data segment
Parameters:
Data  The start of the current data block
Len  The length in bytes of the current data block

Implemented in GLinePrefix, and GEndOfLine.


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

Generated on Wed Dec 1 15:41:04 2010 for Lgi by  doxygen 1.5.7.1