DCMTK  Version 3.6.1 20120515
OFFIS DICOM Toolkit
Public Member Functions | Protected Attributes | Private Member Functions
OFStackBase Class Reference

non-template base class for OFStack. More...

+ Inheritance diagram for OFStackBase:

List of all members.

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
OFStackLinkBasebase_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

OFStackLinkBasehead
 pointer to top element of stack
size_t stackSize
 size of stack

Private Member Functions

 OFStackBase (const OFStackBase &)
 private undefined copy constructor
OFStackBaseoperator= (const OFStackBase &)
 private undefined copy assignment operator

Detailed Description

non-template base class for OFStack.

Implicitly used by OFStack, should not be called by users.


Member Function Documentation

OFBool OFStackBase::base_empty ( ) const [inline]

checks if the stack is empty

Returns:
true if stack is emtpy, false otherwise
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.

Parameters:
elementpointer to element
size_t OFStackBase::base_size ( ) const [inline]

returns size of stack

Returns:
size of stack

returns element on top of stack.

precondition: stack is not empty


The documentation for this class was generated from the following file:


Generated on Tue May 15 2012 for DCMTK Version 3.6.1 20120515 by Doxygen 1.7.5.1-20111027