STXXL  1.4-dev
 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 290 of file stream.h.

Public Types

typedef
vector_iterator2stream_sr
< InputIterator > 
self_type
 
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_type &a)
 
virtual ~vector_iterator2stream_sr ()
 
bool empty () const
 Standard stream method. More...
 
const value_typeoperator* () const
 Standard stream method. More...
 
self_typeoperator++ ()
 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 295 of file stream.h.

template<class InputIterator >
typedef vector_iterator2stream_sr<InputIterator> stxxl::stream::vector_iterator2stream_sr< InputIterator >::self_type

Definition at line 298 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 301 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 303 of file stream.h.

References STXXL_VERBOSE1.

template<class InputIterator >
stxxl::stream::vector_iterator2stream_sr< InputIterator >::vector_iterator2stream_sr ( const self_type a)
inline

Definition at line 320 of file stream.h.

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

Definition at line 361 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 354 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 325 of file stream.h.

template<class InputIterator >
self_type& stxxl::stream::vector_iterator2stream_sr< InputIterator >::operator++ ( )
inline

Standard stream method.

Definition at line 342 of file stream.h.

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

Definition at line 333 of file stream.h.

Member Data Documentation

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

Definition at line 293 of file stream.h.

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

Definition at line 292 of file stream.h.


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