DCMTK
Version 3.6.6
OFFIS DICOM Toolkit
|
non-template base class for OFStack. More...
Public Member Functions | |
OFStackBase () | |
default constructor | |
virtual | ~OFStackBase () |
destructor | |
OFBool | base_empty () const |
checks if the stack is empty More... | |
size_t | base_size () const |
returns size of stack More... | |
OFStackLinkBase * | base_top () |
returns element on top of stack. More... | |
const OFStackLinkBase * | base_top () const |
returns element on top of stack. More... | |
void | base_push (OFStackLinkBase *element) |
pushes element onto stack. More... | |
void | base_pop () |
removes top element from stack. More... | |
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
Referenced by OFStack< OFConfigFileCursor >::empty(), and OFStack< OFConfigFileCursor >::operator=().
|
inline |
removes top element from stack.
precondition: stack not empty.
References OFStackLinkBase::next.
Referenced by OFStack< OFConfigFileCursor >::operator=(), and OFStack< OFConfigFileCursor >::pop().
|
inline |
pushes element onto stack.
element | pointer to element |
References OFStackLinkBase::next.
Referenced by OFStack< OFConfigFileCursor >::push().
|
inline |
|
inline |
returns element on top of stack.
precondition: stack is not empty
|
inline |
returns element on top of stack.
precondition: stack is not empty