The embedded stack class template.
More...
#include <ogdf/basic/EList.h>
List of all members.
Static Public Member Functions |
| static bool | empty (const S *pStack) |
| | Returns true if pStack is empty.
|
| static void | init (S *pStack) |
| | Initializes pStack as empty stack.
|
| static void | pop (S *pStack) |
| | Removes the top element from pStack without returning it.
|
| static E * | popRet (S *pStack) |
| | Removes the top element and returns it.
|
| static void | push (S *pStack, E *pElem) |
| | Pushes the new element pElem onto pStack.
|
| static E * | top (const S *pStack) |
| | Returns a pointer to the top element of pStack.
|
Detailed Description
template<typename S, typename E, E *S::* first, E *E::* next>
class ogdf::EStack< S, E, first, next >
The embedded stack class template.
Definition at line 114 of file EList.h.
Member Function Documentation
template<typename S , typename E , E *S::* first, E *E::* next>
| static bool ogdf::EStack< S, E, first, next >::empty |
( |
const S * |
pStack | ) |
|
|
inlinestatic |
Returns true if pStack is empty.
Definition at line 151 of file EList.h.
template<typename S , typename E , E *S::* first, E *E::* next>
| static void ogdf::EStack< S, E, first, next >::init |
( |
S * |
pStack | ) |
|
|
inlinestatic |
Initializes pStack as empty stack.
Definition at line 118 of file EList.h.
template<typename S , typename E , E *S::* first, E *E::* next>
| static void ogdf::EStack< S, E, first, next >::pop |
( |
S * |
pStack | ) |
|
|
inlinestatic |
Removes the top element from pStack without returning it.
Definition at line 124 of file EList.h.
template<typename S , typename E , E *S::* first, E *E::* next>
| static E* ogdf::EStack< S, E, first, next >::popRet |
( |
S * |
pStack | ) |
|
|
inlinestatic |
Removes the top element and returns it.
Definition at line 130 of file EList.h.
template<typename S , typename E , E *S::* first, E *E::* next>
| static void ogdf::EStack< S, E, first, next >::push |
( |
S * |
pStack, |
|
|
E * |
pElem |
|
) |
| |
|
inlinestatic |
Pushes the new element pElem onto pStack.
Definition at line 138 of file EList.h.
template<typename S , typename E , E *S::* first, E *E::* next>
| static E* ogdf::EStack< S, E, first, next >::top |
( |
const S * |
pStack | ) |
|
|
inlinestatic |
Returns a pointer to the top element of pStack.
Definition at line 145 of file EList.h.
The documentation for this class was generated from the following file: