#include <CTermStack.h>
Public Types | |
typedef CTermStackBase < NavigatorType, BaseType > | base |
typedef CTermStack < NavigatorType, Category, BaseType > | self |
typedef CTermStack < NavigatorType, Category, internal_tag > | purestack_type |
Defining a type for simple stacking of term elements. | |
typedef Category | iterator_category |
typedef base::navigator | navigator |
Get type of navigators. | |
typedef on_same_type< Category, std::forward_iterator_tag, project_ith< 0 >, handle_else < NavigatorType > >::type | else_handler |
Public Member Functions | |
CTermStack () | |
Default constructor. | |
CTermStack (navigator navi) | |
Construct from initial navigator. | |
CTermStack (const CTermStack &rhs) | |
Copy constructor. | |
template<class Dummy> | |
CTermStack (navigator navi, const Dummy &) | |
void | init () |
void | initLast () |
void | incrementElse () |
void | next () |
void | previous () |
void | increment () |
void | decrement () |
void | terminate () |
void | followElse () |
void | incrementValidElse () |
Public Attributes | |
else_handler | handleElse |
Protected Member Functions | |
template<class TermStack> | |
void | append (const TermStack &rhs) |
typedef CTermStackBase<NavigatorType, BaseType> polybori::CTermStack< NavigatorType, Category, BaseType >::base |
typedef CTermStack<NavigatorType, Category, BaseType> polybori::CTermStack< NavigatorType, Category, BaseType >::self |
Reimplemented from polybori::CTermStackBase< NavigatorType, BaseType >.
typedef CTermStack<NavigatorType, Category, internal_tag> polybori::CTermStack< NavigatorType, Category, BaseType >::purestack_type |
Defining a type for simple stacking of term elements.
typedef Category polybori::CTermStack< NavigatorType, Category, BaseType >::iterator_category |
typedef base::navigator polybori::CTermStack< NavigatorType, Category, BaseType >::navigator |
Get type of navigators.
Reimplemented from polybori::CTermStackBase< NavigatorType, BaseType >.
Reimplemented in polybori::CReverseTermStack< NavigatorType, Category >, polybori::CDegStackCore< NavigatorType, invalid_tag, Category, BaseType >, and polybori::CDegStackCore< NavigatorType, valid_tag, Category, BaseType >.
typedef on_same_type<Category, std::forward_iterator_tag, project_ith<0>, handle_else<NavigatorType> >::type polybori::CTermStack< NavigatorType, Category, BaseType >::else_handler |
polybori::CTermStack< NavigatorType, Category, BaseType >::CTermStack | ( | ) | [inline] |
Default constructor.
polybori::CTermStack< NavigatorType, Category, BaseType >::CTermStack | ( | navigator | navi | ) | [inline] |
Construct from initial navigator.
polybori::CTermStack< NavigatorType, Category, BaseType >::CTermStack | ( | const CTermStack< NavigatorType, Category, BaseType > & | rhs | ) | [inline] |
Copy constructor.
polybori::CTermStack< NavigatorType, Category, BaseType >::CTermStack | ( | navigator | navi, | |
const Dummy & | ||||
) | [inline] |
Construct from initial navigator, third argument is just for having the same interface with block and degree-stacks
void polybori::CTermStack< NavigatorType, Category, BaseType >::init | ( | ) | [inline] |
Reimplemented in polybori::CReverseTermStack< NavigatorType, Category >.
void polybori::CTermStack< NavigatorType, Category, BaseType >::initLast | ( | ) | [inline] |
Reimplemented in polybori::CReverseTermStack< NavigatorType, Category >.
void polybori::CTermStack< NavigatorType, Category, BaseType >::incrementElse | ( | ) | [inline] |
Reimplemented from polybori::CTermStackBase< NavigatorType, BaseType >.
void polybori::CTermStack< NavigatorType, Category, BaseType >::next | ( | ) | [inline] |
Reimplemented in polybori::CDegStackCore< NavigatorType, valid_tag, Category, BaseType >.
void polybori::CTermStack< NavigatorType, Category, BaseType >::previous | ( | ) | [inline] |
Reimplemented in polybori::CDegStackCore< NavigatorType, valid_tag, Category, BaseType >.
void polybori::CTermStack< NavigatorType, Category, BaseType >::increment | ( | ) | [inline] |
Reimplemented in polybori::CReverseTermStack< NavigatorType, Category >.
void polybori::CTermStack< NavigatorType, Category, BaseType >::decrement | ( | ) | [inline] |
Reimplemented in polybori::CReverseTermStack< NavigatorType, Category >.
void polybori::CTermStack< NavigatorType, Category, BaseType >::terminate | ( | ) | [inline] |
void polybori::CTermStack< NavigatorType, Category, BaseType >::followElse | ( | ) | [inline] |
void polybori::CTermStack< NavigatorType, Category, BaseType >::incrementValidElse | ( | ) | [inline] |
void polybori::CTermStack< NavigatorType, Category, BaseType >::append | ( | const TermStack & | rhs | ) | [inline, protected] |
Reimplemented from polybori::CTermStackBase< NavigatorType, BaseType >.
else_handler polybori::CTermStack< NavigatorType, Category, BaseType >::handleElse |