|
Aegis
4.25.D505
|
#include <stack.h>
Public Member Functions | |
| virtual | ~sub_diversion_stack () |
| sub_diversion_stack () | |
| void | push_back (const wstring &s, bool resub) |
| void | pop_back () |
| bool | resub_both () const |
| wchar_t | getch () |
| void | ungetch (wchar_t c) |
| bool | empty () const |
Private Member Functions | |
| sub_diversion_stack (const sub_diversion_stack &) | |
| sub_diversion_stack & | operator= (const sub_diversion_stack &) |
Private Attributes | |
| size_t | top |
| size_t | max |
| sub_diversion * | stack |
The sub_diversion_stack class is used to represent a push-down stack of substitution diversions.
| virtual sub_diversion_stack::~sub_diversion_stack | ( | ) | [virtual] |
The destructor.
The default constructor.
| sub_diversion_stack::sub_diversion_stack | ( | const sub_diversion_stack & | ) | [private] |
The copy constructor. Do not use.
| bool sub_diversion_stack::empty | ( | void | ) | const [inline] |
The getch method is used to get the next character from the top-most diversion on the stack.
| sub_diversion_stack& sub_diversion_stack::operator= | ( | const sub_diversion_stack & | ) | [private] |
The assignment operator. Do not use.
| void sub_diversion_stack::pop_back | ( | ) |
The pop_back method is used to discard to top element of the stack.
| void sub_diversion_stack::push_back | ( | const wstring & | s, |
| bool | resub | ||
| ) |
The push_back method is sued to push another string onto the context stack.
| s | The wide string to be pushed onto the diversion stack. |
| resub | Whether or nmot to resubstitute tinto the text of this diversion. |
| bool sub_diversion_stack::resub_both | ( | ) | const |
The resub moth method is used to determine whether ot not to resubstitute into the text of the diversion on the top of the stack.
| void sub_diversion_stack::ungetch | ( | wchar_t | c | ) |
The ungetch method is used to return a character to the top-most diversion on the stack.
size_t sub_diversion_stack::max [private] |
sub_diversion* sub_diversion_stack::stack [private] |
size_t sub_diversion_stack::top [private] |
1.7.6.1