STXXL
1.4.1
|
Similar to std::stack, with the following differences:
Definition at line 208 of file pq_helpers.h.
Public Member Functions | |
internal_bounded_stack () | |
void | clear () |
bool | empty () const |
void | pop () |
void | push (const value_type &x) |
size_type | size () const |
const value_type & | top () const |
Private Types | |
enum | { max_size = MaxSize } |
typedef unsigned_type | size_type |
typedef ValueType | value_type |
Private Attributes | |
value_type | m_array [max_size] |
size_type | m_size |
|
private |
Definition at line 211 of file pq_helpers.h.
|
private |
Definition at line 210 of file pq_helpers.h.
|
private |
Enumerator | |
---|---|
max_size |
Definition at line 212 of file pq_helpers.h.
|
inline |
Definition at line 218 of file pq_helpers.h.
|
inline |
Definition at line 238 of file pq_helpers.h.
Referenced by stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::compact_tree().
|
inline |
Definition at line 248 of file pq_helpers.h.
Referenced by stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::double_k(), stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::insert_segment(), stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::is_space_available(), and stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::multi_merge().
|
inline |
Definition at line 232 of file pq_helpers.h.
Referenced by stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::insert_segment().
|
inline |
Definition at line 220 of file pq_helpers.h.
Referenced by stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::compact_tree(), stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::deallocate_segment(), stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::double_k(), stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::init(), and stxxl::priority_queue_local::loser_tree< ValueType, CompareType, MaxArity >::loser_tree().
|
inline |
Definition at line 243 of file pq_helpers.h.
Referenced by stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::compact_tree(), stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::double_k(), and stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::multi_merge().
|
inline |
Definition at line 226 of file pq_helpers.h.
Referenced by stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::insert_segment().
|
private |
Definition at line 215 of file pq_helpers.h.
|
private |
Definition at line 214 of file pq_helpers.h.