Stxxl  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Protected Attributes
stxxl::deque2< ValueType, BlockSize, AllocStrategy, SizeType >::stream Class Reference

#include <deque2.h>

Collaboration diagram for stxxl::deque2< ValueType, BlockSize, AllocStrategy, SizeType >::stream:
Collaboration graph
[legend]

List of all members.

Public Types

typedef deque2::value_type value_type
typedef
bid_deque_type::const_iterator 
bid_iter_type

Public Member Functions

 stream (const deque2 &deque2)
 ~stream ()
size_type size () const
bool empty () const
const value_typeoperator* () const
streamoperator++ ()

Protected Attributes

const deque2m_deque
size_type m_size
value_typem_current_element
block_typem_current_block
bid_iter_type m_next_bid

Detailed Description

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

Definition at line 517 of file deque2.h.


Member Typedef Documentation

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

Definition at line 523 of file deque2.h.

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

Definition at line 521 of file deque2.h.


Constructor & Destructor Documentation

template<class ValueType, unsigned BlockSize = STXXL_DEFAULT_BLOCK_SIZE(ValueType), class AllocStrategy = STXXL_DEFAULT_ALLOC_STRATEGY, class SizeType = stxxl::uint64>
stxxl::deque2< ValueType, BlockSize, AllocStrategy, SizeType >::stream::stream ( const deque2 deque2) [inline]
template<class ValueType, unsigned BlockSize = STXXL_DEFAULT_BLOCK_SIZE(ValueType), class AllocStrategy = STXXL_DEFAULT_ALLOC_STRATEGY, class SizeType = stxxl::uint64>
stxxl::deque2< ValueType, BlockSize, AllocStrategy, SizeType >::stream::~stream ( ) [inline]

Definition at line 548 of file deque2.h.


Member Function Documentation

template<class ValueType, unsigned BlockSize = STXXL_DEFAULT_BLOCK_SIZE(ValueType), class AllocStrategy = STXXL_DEFAULT_ALLOC_STRATEGY, class SizeType = stxxl::uint64>
bool stxxl::deque2< ValueType, BlockSize, AllocStrategy, SizeType >::stream::empty ( ) const [inline]

Definition at line 560 of file deque2.h.

Referenced by main().

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

Definition at line 565 of file deque2.h.

template<class ValueType, unsigned BlockSize = STXXL_DEFAULT_BLOCK_SIZE(ValueType), class AllocStrategy = STXXL_DEFAULT_ALLOC_STRATEGY, class SizeType = stxxl::uint64>
stream& stxxl::deque2< ValueType, BlockSize, AllocStrategy, SizeType >::stream::operator++ ( ) [inline]

Definition at line 571 of file deque2.h.

References FMT_BID, STXXL_VERBOSE_DEQUE2, and UNLIKELY.

template<class ValueType, unsigned BlockSize = STXXL_DEFAULT_BLOCK_SIZE(ValueType), class AllocStrategy = STXXL_DEFAULT_ALLOC_STRATEGY, class SizeType = stxxl::uint64>
size_type stxxl::deque2< ValueType, BlockSize, AllocStrategy, SizeType >::stream::size ( ) const [inline]

Definition at line 555 of file deque2.h.


Member Data Documentation

template<class ValueType, unsigned BlockSize = STXXL_DEFAULT_BLOCK_SIZE(ValueType), class AllocStrategy = STXXL_DEFAULT_ALLOC_STRATEGY, class SizeType = stxxl::uint64>
block_type* stxxl::deque2< ValueType, BlockSize, AllocStrategy, SizeType >::stream::m_current_block [protected]

Definition at line 533 of file deque2.h.

template<class ValueType, unsigned BlockSize = STXXL_DEFAULT_BLOCK_SIZE(ValueType), class AllocStrategy = STXXL_DEFAULT_ALLOC_STRATEGY, class SizeType = stxxl::uint64>
value_type* stxxl::deque2< ValueType, BlockSize, AllocStrategy, SizeType >::stream::m_current_element [protected]

Definition at line 531 of file deque2.h.

template<class ValueType, unsigned BlockSize = STXXL_DEFAULT_BLOCK_SIZE(ValueType), class AllocStrategy = STXXL_DEFAULT_ALLOC_STRATEGY, class SizeType = stxxl::uint64>
const deque2& stxxl::deque2< ValueType, BlockSize, AllocStrategy, SizeType >::stream::m_deque [protected]

Definition at line 527 of file deque2.h.

template<class ValueType, unsigned BlockSize = STXXL_DEFAULT_BLOCK_SIZE(ValueType), class AllocStrategy = STXXL_DEFAULT_ALLOC_STRATEGY, class SizeType = stxxl::uint64>
bid_iter_type stxxl::deque2< ValueType, BlockSize, AllocStrategy, SizeType >::stream::m_next_bid [protected]

Definition at line 535 of file deque2.h.

template<class ValueType, unsigned BlockSize = STXXL_DEFAULT_BLOCK_SIZE(ValueType), class AllocStrategy = STXXL_DEFAULT_ALLOC_STRATEGY, class SizeType = stxxl::uint64>
size_type stxxl::deque2< ValueType, BlockSize, AllocStrategy, SizeType >::stream::m_size [protected]

Definition at line 529 of file deque2.h.


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