STXXL  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stxxl::stream::vector_iterator2stream_sr< InputIterator_ > Class Template Reference

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 277 of file stream.h.

Public Types

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

Public Member Functions

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

Private Types

typedef InputIterator_::block_type block_type
 

Private Attributes

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

Member Typedef Documentation

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

Definition at line 282 of file stream.h.

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

Definition at line 285 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 288 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 290 of file stream.h.

References STXXL_VERBOSE1.

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

Definition at line 306 of file stream.h.

template<class InputIterator_>
virtual stxxl::stream::vector_iterator2stream_sr< InputIterator_ >::~vector_iterator2stream_sr ( )
inlinevirtual

Definition at line 346 of file stream.h.

Member Function Documentation

template<class InputIterator_>
bool stxxl::stream::vector_iterator2stream_sr< InputIterator_ >::empty ( ) const
inline

Standard stream method.

Definition at line 339 of file stream.h.

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

Standard stream method.

Definition at line 309 of file stream.h.

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

Standard stream method.

Definition at line 326 of file stream.h.

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

Definition at line 317 of file stream.h.

Member Data Documentation

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

Definition at line 280 of file stream.h.

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

Definition at line 279 of file stream.h.


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