# FdoIStreamReaderTmpl< T > Class Template Reference

`#include <IStreamReaderTmpl.h>`

Inheritance diagram for FdoIStreamReaderTmpl< T >:

[legend]

List of all members.

## Detailed Description

### template<typename T>
class FdoIStreamReaderTmpl< T >

FdoIStreamReaderTmpl reads items from a stream of [T].

Definition at line 27 of file IStreamReaderTmpl.h.

## Public Member Functions
virtual FDO_API_COMMON FdoInt64 | GetIndex ()=0
| Get the current index in the stream.
virtual FDO_API_COMMON FdoInt64 | GetLength ()=0
| Get the size of a stream.
virtual FDO_API_COMMON FdoInt32 | ReadNext (FdoArray< T > *&buffer, const FdoInt32 offset=0, const FdoInt32 count=-1)=0
| Reads in the next block of items. Use ReadNext( buffer) to read in the entire stream. The caller is responsible to create/dispose the FdoArray.
virtual FDO_API_COMMON FdoInt32 | ReadNext (T *buffer, const FdoInt32 offset=0, const FdoInt32 count=-1)=0
| Reads in the next block of items. Use ReadNext( buffer) to read in the entire stream.
virtual FDO_API_COMMON void | Reset ()=0
| Reset the current index in the stream. Allows re-reading.
virtual FDO_API_COMMON void | Skip (const FdoInt32 offset)=0
| Skips a number of items.

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

- IStreamReaderTmpl.h