Stxxl  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Private Types | Private Attributes
stxxl::stream::vector_iterator2stream_sr< InputIterator_ > Class Template Reference

Version of iterator2stream. Switches between vector_iterator2stream and iterator2stream . More...

#include <stream.h>

List of all members.

Public Types

typedef
vector_iterator2stream_sr
< InputIterator_ > 
Self_
typedef std::iterator_traits
< InputIterator_ >::value_type 
value_type
 Standard stream typedef.

Public Member Functions

 vector_iterator2stream_sr (InputIterator_ begin, InputIterator_ end, unsigned_type nbuffers=0)
 vector_iterator2stream_sr (const Self_ &a)
const value_typeoperator* () const
 Standard stream method.
const value_typeoperator-> () const
Self_operator++ ()
 Standard stream method.
bool empty () const
 Standard stream method.
virtual ~vector_iterator2stream_sr ()

Private Types

typedef InputIterator_::block_type block_type

Private Attributes

vector_iterator2stream
< InputIterator_ > * 
vec_it_stream
iterator2stream< InputIterator_ > * it_stream

Detailed Description

template<class InputIterator_>
class stxxl::stream::vector_iterator2stream_sr< InputIterator_ >

Version of iterator2stream. Switches between vector_iterator2stream and iterator2stream .

small range switches between vector_iterator2stream and iterator2stream . iterator2stream is chosen if the input iterator range is small ( < B )

Definition at line 276 of file stream.h.


Member Typedef Documentation

template<class InputIterator_>
typedef InputIterator_::block_type stxxl::stream::vector_iterator2stream_sr< InputIterator_ >::block_type [private]

Definition at line 281 of file stream.h.

template<class InputIterator_>
typedef vector_iterator2stream_sr<InputIterator_> stxxl::stream::vector_iterator2stream_sr< InputIterator_ >::Self_

Definition at line 284 of file stream.h.

template<class InputIterator_>
typedef std::iterator_traits<InputIterator_>::value_type stxxl::stream::vector_iterator2stream_sr< InputIterator_ >::value_type

Standard stream typedef.

Definition at line 287 of file stream.h.


Constructor & Destructor Documentation

template<class InputIterator_>
stxxl::stream::vector_iterator2stream_sr< InputIterator_ >::vector_iterator2stream_sr ( InputIterator_  begin,
InputIterator_  end,
unsigned_type  nbuffers = 0 
) [inline]

Definition at line 289 of file stream.h.

template<class InputIterator_>
stxxl::stream::vector_iterator2stream_sr< InputIterator_ >::vector_iterator2stream_sr ( const Self_ a) [inline]

Definition at line 305 of file stream.h.

template<class InputIterator_>
virtual stxxl::stream::vector_iterator2stream_sr< InputIterator_ >::~vector_iterator2stream_sr ( ) [inline, virtual]

Definition at line 345 of file stream.h.


Member Function Documentation

template<class InputIterator_>
bool stxxl::stream::vector_iterator2stream_sr< InputIterator_ >::empty ( ) const [inline]
template<class InputIterator_>
const value_type& stxxl::stream::vector_iterator2stream_sr< InputIterator_ >::operator* ( ) const [inline]

Standard stream method.

Definition at line 308 of file stream.h.

template<class InputIterator_>
Self_& stxxl::stream::vector_iterator2stream_sr< InputIterator_ >::operator++ ( ) [inline]

Standard stream method.

Definition at line 325 of file stream.h.

template<class InputIterator_>
const value_type* stxxl::stream::vector_iterator2stream_sr< InputIterator_ >::operator-> ( ) const [inline]

Definition at line 316 of file stream.h.


Member Data Documentation

template<class InputIterator_>
iterator2stream<InputIterator_>* stxxl::stream::vector_iterator2stream_sr< InputIterator_ >::it_stream [private]

Definition at line 279 of file stream.h.

template<class InputIterator_>
vector_iterator2stream<InputIterator_>* stxxl::stream::vector_iterator2stream_sr< InputIterator_ >::vec_it_stream [private]

Definition at line 278 of file stream.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines