|
OFFIS DCMTK
Version 3.6.0
|
template stack class. More...
Public Member Functions | |
| OFStack () | |
| Default constructor. | |
| OFStack (const OFStack< T > &x) | |
| copy constructor | |
| OFStack< T > & | operator= (const OFStack< T > &x) |
| Assignment operator. | |
| OFBool | empty () const |
| checks if the stack is empty. More... | |
| size_t | size () const |
| returns the number of elements on the stack More... | |
| T & | top () |
| returns a reference to the top element on the stack. More... | |
| void | push (const T &x) |
| inserts a new element on top of the stack. More... | |
| void | pop () |
| removes the top element from the stack. More... | |
Private Member Functions | |
| int | copy (const OFStack< T > &x) |
| copy assignment of a stack. More... | |
Private Member Functions inherited from OFStackBase | |
| 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... | |
| void | base_push (OFStackLinkBase *element) |
| pushes element onto stack. More... | |
| void | base_pop () |
| removes top element from stack. More... | |
Additional Inherited Members |
template stack class.
The interface is a subset of the STL stack class.
copy assignment of a stack.
| x | stack to be copied |
Definition at line 256 of file ofstack.h.
Referenced by OFStack< OFConfigFileCursor >::OFStack(), and OFStack< OFConfigFileCursor >::operator=().
|
inline |
|
inline |
|
inline |
|
inline |
returns the number of elements on the stack
Definition at line 225 of file ofstack.h.
Referenced by OFStack< OFConfigFileCursor >::copy().
|
inline |