|
|
|
Home / Open source / Terimber 2.0
base_stack< T > Class Template Referenceclass provides the stack functionality
More...
#include <stack.h>
List of all members.
Detailed Description
template<class T>
class base_stack< T >
class provides the stack functionality
Definition at line 39 of file stack.h.
Constructor & Destructor Documentation
Member Function Documentation
check empty, use instead of size
Definition at line 62 of file stack.hpp.
References base_stack< T >::_head, base_stack< T >::_node_::_next, and base_stack< T >::head().
Referenced by cluster_processor< T, N >::cut(), unique_key_generator::generate(), _stack< T, A >::operator=(), xml_processor::parseEndTag(), xml_processor::parseStartTag(), xml_persistor::persist(), _stack< T, A >::pop(), and xml_persistor::restore_stack().
returns const top element function doesn't check boundaries
Definition at line 73 of file stack.hpp.
References base_stack< T >::_head, base_stack< T >::_node_::_next, and base_stack< T >::_node::_value.
Referenced by xml_document::add_cdata(), xml_document::add_comment(), xml_document::add_element(), xml_document::add_element_desc(), xml_document::add_entity_desc(), xml_document::add_notation_desc(), xml_document::add_pi(), xml_document::add_text(), xml_document::container_peak(), xml_document::container_pop(), cluster_processor< T, N >::cut(), unique_key_generator::generate(), xml_processor::parseEndTag(), xml_processor::parseStartTag(), xml_persistor::persist(), xml_persistor::persistAttributes(), xml_persistor::persistCDATA(), xml_persistor::persistComment(), xml_persistor::persistDocType(), xml_persistor::persistDocument(), xml_persistor::persistElement(), xml_persistor::persistElementDecl(), xml_persistor::persistEntityDecl(), xml_persistor::persistNotationDecl(), xml_persistor::persistPI(), xml_persistor::persistText(), and xml_persistor::restore_stack().
clears stack
Reimplemented in stack< T >, and stack< size_t >.
Definition at line 124 of file stack.hpp.
References base_stack< T >::_head, base_stack< T >::_node_::_next, and base_stack< T >::head().
Referenced by base_stack< T >::base_stack(), stack< T >::clear(), xml_document::container_reset(), _stack< T, A >::operator=(), xml_processor::parse(), xml_persistor::persist(), and _stack< T, A >::~_stack().
Member Data Documentation
store only head of stack
Definition at line 291 of file stack.h.
Referenced by base_stack< T >::begin(), base_stack< T >::clear(), base_stack< T >::empty(), base_stack< T >::head(), _stack< T, A >::operator=(), stack< T >::pop(), _stack< T, A >::pop(), stack< T >::push(), _stack< T, A >::push(), and base_stack< T >::top().
The documentation for this class was generated from the following files:
|
|
|
|