Stxxl  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Types | Private Attributes
stxxl::priority_queue_local::internal_bounded_stack< Tp_, max_size_ > Class Template Reference

Similar to std::stack, with the following differences: More...

#include <pq_helpers.h>

Inheritance diagram for stxxl::priority_queue_local::internal_bounded_stack< Tp_, max_size_ >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 internal_bounded_stack ()
void push (const value_type &x)
const value_typetop () const
void pop ()
void clear ()
size_type size () const
bool empty () const

Private Types

enum  { max_size = max_size_ }
typedef Tp_ value_type
typedef unsigned_type size_type

Private Attributes

size_type size_
value_type array [max_size]

Detailed Description

template<typename Tp_, unsigned_type max_size_>
class stxxl::priority_queue_local::internal_bounded_stack< Tp_, max_size_ >

Similar to std::stack, with the following differences:

Definition at line 168 of file pq_helpers.h.


Member Typedef Documentation

template<typename Tp_, unsigned_type max_size_>
typedef unsigned_type stxxl::priority_queue_local::internal_bounded_stack< Tp_, max_size_ >::size_type [private]

Definition at line 171 of file pq_helpers.h.

template<typename Tp_, unsigned_type max_size_>
typedef Tp_ stxxl::priority_queue_local::internal_bounded_stack< Tp_, max_size_ >::value_type [private]

Definition at line 170 of file pq_helpers.h.


Member Enumeration Documentation

template<typename Tp_, unsigned_type max_size_>
anonymous enum [private]
Enumerator:
max_size 

Definition at line 172 of file pq_helpers.h.


Constructor & Destructor Documentation

template<typename Tp_, unsigned_type max_size_>
stxxl::priority_queue_local::internal_bounded_stack< Tp_, max_size_ >::internal_bounded_stack ( ) [inline]

Definition at line 178 of file pq_helpers.h.


Member Function Documentation

template<typename Tp_, unsigned_type max_size_>
void stxxl::priority_queue_local::internal_bounded_stack< Tp_, max_size_ >::clear ( ) [inline]
template<typename Tp_, unsigned_type max_size_>
bool stxxl::priority_queue_local::internal_bounded_stack< Tp_, max_size_ >::empty ( ) const [inline]
template<typename Tp_, unsigned_type max_size_>
void stxxl::priority_queue_local::internal_bounded_stack< Tp_, max_size_ >::pop ( ) [inline]
template<typename Tp_, unsigned_type max_size_>
void stxxl::priority_queue_local::internal_bounded_stack< Tp_, max_size_ >::push ( const value_type x) [inline]
template<typename Tp_, unsigned_type max_size_>
size_type stxxl::priority_queue_local::internal_bounded_stack< Tp_, max_size_ >::size ( ) const [inline]
template<typename Tp_, unsigned_type max_size_>
const value_type& stxxl::priority_queue_local::internal_bounded_stack< Tp_, max_size_ >::top ( ) const [inline]

Member Data Documentation

template<typename Tp_, unsigned_type max_size_>
value_type stxxl::priority_queue_local::internal_bounded_stack< Tp_, max_size_ >::array[max_size] [private]

Definition at line 175 of file pq_helpers.h.

template<typename Tp_, unsigned_type max_size_>
size_type stxxl::priority_queue_local::internal_bounded_stack< Tp_, max_size_ >::size_ [private]

Definition at line 174 of file pq_helpers.h.


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