STXXL  1.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stxxl::sequence< ValueType, BlockSize, AllocStr, SizeType >::stream Class Reference

Detailed Description

template<class ValueType, unsigned BlockSize = STXXL_DEFAULT_BLOCK_SIZE(ValueType), class AllocStr = STXXL_DEFAULT_ALLOC_STRATEGY, class SizeType = stxxl::uint64>
class stxxl::sequence< ValueType, BlockSize, AllocStr, SizeType >::stream

Definition at line 566 of file sequence.h.

+ Collaboration diagram for stxxl::sequence< ValueType, BlockSize, AllocStr, SizeType >::stream:

Public Types

typedef
bid_deque_type::const_iterator 
bid_iter_type
 
typedef sequence::value_type value_type
 

Public Member Functions

 stream (const sequence &sequence)
 
 ~stream ()
 
bool empty () const
 standard stream method More...
 
const value_typeoperator* () const
 standard stream method More...
 
streamoperator++ ()
 standard stream method More...
 
size_type size () const
 return number of element left till end-of-stream. More...
 

Protected Attributes

block_typem_current_block
 
value_typem_current_element
 
bid_iter_type m_next_bid
 
const sequencem_sequence
 
size_type m_size
 

Member Typedef Documentation

template<class ValueType , unsigned BlockSize = STXXL_DEFAULT_BLOCK_SIZE(ValueType), class AllocStr = STXXL_DEFAULT_ALLOC_STRATEGY, class SizeType = stxxl::uint64>
typedef bid_deque_type::const_iterator stxxl::sequence< ValueType, BlockSize, AllocStr, SizeType >::stream::bid_iter_type

Definition at line 571 of file sequence.h.

template<class ValueType , unsigned BlockSize = STXXL_DEFAULT_BLOCK_SIZE(ValueType), class AllocStr = STXXL_DEFAULT_ALLOC_STRATEGY, class SizeType = stxxl::uint64>
typedef sequence::value_type stxxl::sequence< ValueType, BlockSize, AllocStr, SizeType >::stream::value_type

Definition at line 569 of file sequence.h.

Constructor & Destructor Documentation

template<class ValueType , unsigned BlockSize = STXXL_DEFAULT_BLOCK_SIZE(ValueType), class AllocStr = STXXL_DEFAULT_ALLOC_STRATEGY, class SizeType = stxxl::uint64>
stxxl::sequence< ValueType, BlockSize, AllocStr, SizeType >::stream::stream ( const sequence sequence)
inline
template<class ValueType , unsigned BlockSize = STXXL_DEFAULT_BLOCK_SIZE(ValueType), class AllocStr = STXXL_DEFAULT_ALLOC_STRATEGY, class SizeType = stxxl::uint64>
stxxl::sequence< ValueType, BlockSize, AllocStr, SizeType >::stream::~stream ( )
inline

Definition at line 594 of file sequence.h.

Member Function Documentation

template<class ValueType , unsigned BlockSize = STXXL_DEFAULT_BLOCK_SIZE(ValueType), class AllocStr = STXXL_DEFAULT_ALLOC_STRATEGY, class SizeType = stxxl::uint64>
bool stxxl::sequence< ValueType, BlockSize, AllocStr, SizeType >::stream::empty ( ) const
inline

standard stream method

Definition at line 608 of file sequence.h.

template<class ValueType , unsigned BlockSize = STXXL_DEFAULT_BLOCK_SIZE(ValueType), class AllocStr = STXXL_DEFAULT_ALLOC_STRATEGY, class SizeType = stxxl::uint64>
const value_type& stxxl::sequence< ValueType, BlockSize, AllocStr, SizeType >::stream::operator* ( ) const
inline

standard stream method

Definition at line 614 of file sequence.h.

template<class ValueType , unsigned BlockSize = STXXL_DEFAULT_BLOCK_SIZE(ValueType), class AllocStr = STXXL_DEFAULT_ALLOC_STRATEGY, class SizeType = stxxl::uint64>
stream& stxxl::sequence< ValueType, BlockSize, AllocStr, SizeType >::stream::operator++ ( )
inline

standard stream method

Definition at line 621 of file sequence.h.

References FMT_BID, STXXL_VERBOSE1, STXXL_VERBOSE_SEQUENCE, and UNLIKELY.

template<class ValueType , unsigned BlockSize = STXXL_DEFAULT_BLOCK_SIZE(ValueType), class AllocStr = STXXL_DEFAULT_ALLOC_STRATEGY, class SizeType = stxxl::uint64>
size_type stxxl::sequence< ValueType, BlockSize, AllocStr, SizeType >::stream::size ( ) const
inline

return number of element left till end-of-stream.

Definition at line 602 of file sequence.h.

Member Data Documentation

template<class ValueType , unsigned BlockSize = STXXL_DEFAULT_BLOCK_SIZE(ValueType), class AllocStr = STXXL_DEFAULT_ALLOC_STRATEGY, class SizeType = stxxl::uint64>
block_type* stxxl::sequence< ValueType, BlockSize, AllocStr, SizeType >::stream::m_current_block
protected

Definition at line 580 of file sequence.h.

template<class ValueType , unsigned BlockSize = STXXL_DEFAULT_BLOCK_SIZE(ValueType), class AllocStr = STXXL_DEFAULT_ALLOC_STRATEGY, class SizeType = stxxl::uint64>
value_type* stxxl::sequence< ValueType, BlockSize, AllocStr, SizeType >::stream::m_current_element
protected

Definition at line 578 of file sequence.h.

template<class ValueType , unsigned BlockSize = STXXL_DEFAULT_BLOCK_SIZE(ValueType), class AllocStr = STXXL_DEFAULT_ALLOC_STRATEGY, class SizeType = stxxl::uint64>
bid_iter_type stxxl::sequence< ValueType, BlockSize, AllocStr, SizeType >::stream::m_next_bid
protected

Definition at line 582 of file sequence.h.

template<class ValueType , unsigned BlockSize = STXXL_DEFAULT_BLOCK_SIZE(ValueType), class AllocStr = STXXL_DEFAULT_ALLOC_STRATEGY, class SizeType = stxxl::uint64>
const sequence& stxxl::sequence< ValueType, BlockSize, AllocStr, SizeType >::stream::m_sequence
protected

Definition at line 574 of file sequence.h.

template<class ValueType , unsigned BlockSize = STXXL_DEFAULT_BLOCK_SIZE(ValueType), class AllocStr = STXXL_DEFAULT_ALLOC_STRATEGY, class SizeType = stxxl::uint64>
size_type stxxl::sequence< ValueType, BlockSize, AllocStr, SizeType >::stream::m_size
protected

Definition at line 576 of file sequence.h.


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