STXXL  1.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::sequence_state Struct Reference

Detailed Description

template<class BlockType, class Cmp, unsigned Arity, class AllocStr = STXXL_DEFAULT_ALLOC_STRATEGY>
struct stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::sequence_state

Definition at line 154 of file pq_ext_merger.h.

+ Inheritance diagram for stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::sequence_state:
+ Collaboration diagram for stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::sequence_state:

Public Member Functions

 sequence_state ()
 
 ~sequence_state ()
 
bool is_sentinel (const value_type &a) const
 
void make_inf ()
 
bool not_sentinel (const value_type &a) const
 
const value_typeoperator* () const
 
sequence_stateoperator++ ()
 
void swap (sequence_state &obj)
 

Public Attributes

bool allocated
 
std::list< bid_type > * bids
 
block_typeblock
 
comparator_type cmp
 
unsigned_type current
 
ext_mergermerger
 

Additional Inherited Members

- Private Member Functions inherited from stxxl::noncopyable
 noncopyable ()
 

Constructor & Destructor Documentation

template<class BlockType, class Cmp, unsigned Arity, class AllocStr = STXXL_DEFAULT_ALLOC_STRATEGY>
stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::sequence_state::sequence_state ( )
inline

Definition at line 169 of file pq_ext_merger.h.

template<class BlockType, class Cmp, unsigned Arity, class AllocStr = STXXL_DEFAULT_ALLOC_STRATEGY>
stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::sequence_state::~sequence_state ( )
inline

Definition at line 175 of file pq_ext_merger.h.

References stxxl::block_manager::delete_blocks(), and STXXL_VERBOSE2.

Member Function Documentation

template<class BlockType, class Cmp, unsigned Arity, class AllocStr = STXXL_DEFAULT_ALLOC_STRATEGY>
bool stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::sequence_state::is_sentinel ( const value_type a) const
inline

Definition at line 192 of file pq_ext_merger.h.

template<class BlockType, class Cmp, unsigned Arity, class AllocStr = STXXL_DEFAULT_ALLOC_STRATEGY>
bool stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::sequence_state::not_sentinel ( const value_type a) const
inline

Definition at line 197 of file pq_ext_merger.h.

template<class BlockType, class Cmp, unsigned Arity, class AllocStr = STXXL_DEFAULT_ALLOC_STRATEGY>
const value_type& stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::sequence_state::operator* ( ) const
inline
Returns
current element

Definition at line 164 of file pq_ext_merger.h.

template<class BlockType, class Cmp, unsigned Arity, class AllocStr = STXXL_DEFAULT_ALLOC_STRATEGY>
sequence_state& stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::sequence_state::operator++ ( )
inline

Definition at line 214 of file pq_ext_merger.h.

References STXXL_VERBOSE2.

Member Data Documentation

template<class BlockType, class Cmp, unsigned Arity, class AllocStr = STXXL_DEFAULT_ALLOC_STRATEGY>
comparator_type stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::sequence_state::cmp

Definition at line 159 of file pq_ext_merger.h.

template<class BlockType, class Cmp, unsigned Arity, class AllocStr = STXXL_DEFAULT_ALLOC_STRATEGY>
ext_merger* stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::sequence_state::merger

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