The embedded stack class template.
More...
#include <ogdf/basic/EList.h>
|
| static bool | empty (const S *pStack) |
| | Returns true if pStack is empty. More...
|
| |
| static void | init (S *pStack) |
| | Initializes pStack as empty stack. More...
|
| |
| static void | pop (S *pStack) |
| | Removes the top element from pStack without returning it. More...
|
| |
| static E * | popRet (S *pStack) |
| | Removes the top element and returns it. More...
|
| |
| static void | push (S *pStack, E *pElem) |
| | Pushes the new element pElem onto pStack. More...
|
| |
| static E * | top (const S *pStack) |
| | Returns a pointer to the top element of pStack. More...
|
| |
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 89 of file EList.h.
◆ empty()
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 134 of file EList.h.
◆ init()
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 101 of file EList.h.
◆ pop()
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 107 of file EList.h.
◆ popRet()
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 113 of file EList.h.
◆ push()
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 121 of file EList.h.
◆ top()
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 128 of file EList.h.
The documentation for this class was generated from the following file: