Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

more::io::buffer::driver Struct Template Reference

The item source interface. More...

#include <buffer.h>

Inheritance diagram for more::io::buffer::driver:

Inheritance graph
[legend]
List of all members.

Public Types

Public Methods


Detailed Description

template<typename T>
struct more::io::buffer< T >::driver

The item source interface.


Member Typedef Documentation

template<typename T>
typedef buffer::difference more::io::buffer::driver::difference
 

template<typename T>
typedef buffer::size_type more::io::buffer::driver::size_type
 

template<typename T>
typedef buffer::value_type more::io::buffer::driver::value_type
 


Constructor & Destructor Documentation

template<typename T>
virtual more::io::buffer< T >::driver::~driver   [inline, virtual]
 


Member Function Documentation

template<typename T>
virtual bool more::io::buffer< T >::driver::is_error   [inline, virtual]
 

Shall return true on error.

template<typename T>
virtual T* more::io::buffer< T >::driver::read T *    first,
T *    last
[inline, virtual]
 

Overload to provide input.

If overloaded this function shall shall fill a range [first, stop), where first <= stop < last, with items and return stop. Return 0 to indicate end of input. The default is to return last, which gives a infinite sequence of junk (default constructed, or previously assigned) elements, which is suitable for a pure output stream.

template<typename T>
virtual void more::io::buffer< T >::driver::write T *    first,
T *    last
[inline, virtual]
 

Overload to receive output.

If overloaded write [first, last) to the tied output channel. The default is to do nothing, which is suitable for a pure input stream.


The documentation for this struct was generated from the following file:
Generated on Sat Sep 7 19:12:42 2002 for more with Doxygen 1.2.13.1. Doxygen 1.2.13.1 is written and copyright 1997-2002 by Dimitri van Heesch.