Public Member Functions | Private Attributes

UT_NumberStack Class Reference

#include <ut_stack.h>

List of all members.

Public Member Functions

 UT_NumberStack (UT_uint32 sizehint=32, UT_uint32 baseincr=32)
bool push (UT_sint32 number)
bool pop (UT_sint32 *number=0)
bool viewTop (UT_sint32 &number) const
UT_sint32 getDepth (void) const
void clear ()

Private Attributes

UT_NumberVector m_vecStack

Constructor & Destructor Documentation

UT_NumberStack::UT_NumberStack ( UT_uint32  sizehint = 32,
UT_uint32  baseincr = 32 

Member Function Documentation

void UT_NumberStack::clear ( void   )  [inline]
UT_sint32 UT_NumberStack::getDepth ( void   )  const
bool UT_NumberStack::pop ( UT_sint32 number = 0  ) 
bool UT_NumberStack::push ( UT_sint32  number  ) 
bool UT_NumberStack::viewTop ( UT_sint32 number  )  const

Member Data Documentation

Referenced by getDepth(), pop(), push(), and viewTop().

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