#include <ut_stack.h>
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 |
| void UT_NumberStack::clear | ( | void | ) | [inline] |
| UT_sint32 UT_NumberStack::getDepth | ( | void | ) | const |
References UT_GenericVector< T >::getItemCount(), and m_vecStack.
Referenced by IE_Imp_XML::_getInlineDepth(), GR_Graphics::endDoubleBuffering(), and GR_Graphics::resumeDrawing().
| bool UT_NumberStack::pop | ( | UT_sint32 * | number = 0 |
) |
References UT_GenericVector< T >::getItemCount(), UT_GenericVector< T >::getLastItem(), m_vecStack, and UT_GenericVector< T >::pop_back().
Referenced by ODi_TextContent_ListenerState::_popInlineFmt(), IE_Imp_XML::_popInlineFmt(), OpenWriter_ContentStream_Listener::_popInlineFmt(), s_XSL_FO_Listener::_tagClose(), s_DocBook_Listener::_tagClose(), GR_Graphics::endDoubleBuffering(), IE_Imp_XSL_FO::endElement(), IE_Imp_DocBook::endElement(), and GR_Graphics::resumeDrawing().
| bool UT_NumberStack::push | ( | UT_sint32 | number | ) |
References UT_GenericVector< T >::addItem(), and m_vecStack.
Referenced by ODi_TextContent_ListenerState::_pushInlineFmt(), IE_Imp_XML::_pushInlineFmt(), OpenWriter_ContentStream_Listener::_pushInlineFmt(), s_XSL_FO_Listener::_tagOpen(), s_DocBook_Listener::_tagOpen(), GR_Graphics::beginDoubleBuffering(), IE_Imp_XSL_FO::startElement(), IE_Imp_DocBook::startElement(), and GR_Graphics::suspendDrawing().
| bool UT_NumberStack::viewTop | ( | UT_sint32 & | number | ) | const |
UT_NumberVector UT_NumberStack::m_vecStack [private] |
Referenced by getDepth(), pop(), push(), and viewTop().
1.7.1