DCMTK
Version 3.6.1 20120515
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 | |
size_t | base_size () const |
returns size of stack | |
OFStackLinkBase * | base_top () |
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 |
OFBool OFStackBase::base_empty | ( | ) | const [inline] |
checks if the stack is empty
void OFStackBase::base_pop | ( | ) | [inline] |
removes top element from stack.
precondition: stack not empty.
void OFStackBase::base_push | ( | OFStackLinkBase * | element | ) | [inline] |
pushes element onto stack.
element | pointer to element |
size_t OFStackBase::base_size | ( | ) | const [inline] |
returns size of stack
OFStackLinkBase* OFStackBase::base_top | ( | ) | [inline] |
returns element on top of stack.
precondition: stack is not empty