Public Member Functions

Simple_Stream< T > Class Template Reference

Template based Stream interface that provides only most necessary methods. More...

#include <Simple_Stream.h>

Inheritance diagram for Simple_Stream< T >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual int Read (T *buf, size_t count, size_t *read)=0
 Reads a number of T values from stream.
virtual int Write (T *buf, size_t count, size_t *written)=0
 Writes a number of T values to stream.
virtual int Flush ()=0
 Flushes the internal buffer, useful when you need to make sure the data is passed to the Stream backend (could be some file) from Stream internal buffer.

Detailed Description

template<typename T>
class MCPN::Simple_Stream< T >

Template based Stream interface that provides only most necessary methods.

MCPN Logo
kr0st © 2010