|
DCMTK Version 3.6.9
OFFIS DICOM Toolkit
|
non-template base class for OFStack. More...
Inheritance diagram for OFStackBase:Public Member Functions | |
| OFStackBase () | |
| default constructor | |
| virtual | ~OFStackBase () |
| destructor | |
| OFBool | base_empty () const |
| checks if the stack is empty | |
| size_t | base_size () const |
| returns size of stack | |
| OFStackLinkBase * | base_top () |
| returns element on top of stack. | |
| const OFStackLinkBase * | base_top () const |
| returns element on top of stack. | |
| void | base_push (OFStackLinkBase *element) |
| pushes element onto stack. | |
| void | base_pop () |
| removes top element from stack. | |
Protected Attributes | |
| OFStackLinkBase * | head |
| pointer to top element of stack | |
| size_t | stackSize |
| size of stack | |
Private Member Functions | |
| OFStackBase (const OFStackBase &) | |
| private undefined copy constructor | |
| OFStackBase & | operator= (const OFStackBase &) |
| private undefined copy assignment operator | |
|
inline |
checks if the stack is empty
References head.
Referenced by ~OFStackBase(), OFStack< T >::empty(), and OFStack< T >::operator=().
|
inline |
removes top element from stack.
precondition: stack not empty.
References head, and stackSize.
Referenced by ~OFStackBase(), OFStack< T >::operator=(), and OFStack< T >::pop().
|
inline |
pushes element onto stack.
| element | pointer to element |
References head, OFStackLinkBase::next, and stackSize.
Referenced by OFStack< T >::push().
|
inline |
returns size of stack
References stackSize.
Referenced by OFStack< T >::size().
|
inline |
returns element on top of stack.
precondition: stack is not empty
References head.
Referenced by OFStack< T >::top(), and OFStack< T >::top().
|
inline |
returns element on top of stack.
precondition: stack is not empty
References head.