Dillo v3.1.1-98-g318d1f14
|
Typed version of container::untyped::Stack. More...
#include <container.hh>
Public Member Functions | |
Stack (bool ownerOfObjects) | |
void | push (T *object) |
void | pushUnder (T *object) |
T * | getTop () const |
void | pop () |
Public Member Functions inherited from lout::container::typed::Collection< T > | |
Collection () | |
~Collection () | |
bool | equals (Object *other) |
Returns, whether two objects are equal. | |
int | hashValue () |
Return a hash value for the object. | |
void | intoStringBuffer (misc::StringBuffer *sb) |
Store a textual representation of the object in a misc::StringBuffer. | |
Iterator< T > | iterator () |
int | size () |
Public Member Functions inherited from lout::object::Object | |
virtual | ~Object () |
The destructor is defined as virtual (but not abstract), so that destruction of Object's works properly. | |
virtual Object * | clone () |
Return an exact copy of the object. | |
const char * | toString () |
Use object::Object::intoStringBuffer to return a textual representation of the object. | |
virtual size_t | sizeOf () |
Return the number of bytes, this object totally uses. | |
Additional Inherited Members | |
Protected Attributes inherited from lout::container::typed::Collection< T > | |
untyped::Collection * | base |
Typed version of container::untyped::Stack.
Definition at line 551 of file container.hh.
|
inline |
Definition at line 554 of file container.hh.
References lout::container::typed::Collection< T >::base.
|
inline |
Definition at line 561 of file container.hh.
References lout::container::typed::Collection< T >::base.
Referenced by main(), and testStackAsQueue().
|
inline |
Definition at line 563 of file container.hh.
References lout::container::typed::Collection< T >::base.
Referenced by main(), and testStackAsQueue().
|
inline |
Definition at line 557 of file container.hh.
References lout::container::typed::Collection< T >::base.
Referenced by main().
|
inline |
Definition at line 559 of file container.hh.
References lout::container::typed::Collection< T >::base.
Referenced by testStackAsQueue().