Microsimulation API
|
#include <heap.h>
Public Types | |
typedef std::vector< T >::size_type | size_type |
typedef std::vector< T >::iterator | iterator |
typedef std::vector< T >::const_iterator | const_iterator |
Public Member Functions | |
bool | empty () throw () |
iterator | begin () throw () |
iterator | end () throw () |
const_iterator | begin () const throw () |
const_iterator | end () const throw () |
void | clear () throw () |
iterator | erase (iterator first, iterator last) throw () |
void | insert (const T &x) throw () |
T | pop_first () throw () |
Private Member Functions | |
size_type | last () const throw () |
Static Private Member Functions | |
static void | swap (T &first, T &second) throw () |
static size_type | left (size_type pos) throw () |
static size_type | right (size_type pos) throw () |
static size_type | parent (size_type pos) throw () |
Private Attributes | |
std::vector< T > | a |
Static Private Attributes | |
static const size_type | FIRST = 0 |
typedef std::vector<T>::const_iterator ssim::heap< T >::const_iterator |
typedef std::vector<T>::iterator ssim::heap< T >::iterator |
typedef std::vector<T>::size_type ssim::heap< T >::size_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inline |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
private |
|
staticprivate |