|
amath
1.8.5
Simple command line calculator
|
Load or save preferences. More...
#include <prefs.h>


Public Member Functions | |
| PrefsStatement () | |
| PrefsStatement (Symbol argument) | |
| char * | Execute () |
Public Member Functions inherited from StatementNode | |
| StatementNode () | |
| StatementNode (const char *text) | |
| virtual | ~StatementNode () |
| NodeType | GetNodeType () |
| virtual SyntaxNode * | GetNext () |
| virtual char * | GetTextCode () |
| void | Attach (SyntaxNode *node) |
| void | Detach (SyntaxNode *node) |
| void | Replace (SyntaxNode *n, SyntaxNode *x) |
Public Member Functions inherited from SyntaxNode | |
| SyntaxNode () | |
| virtual | ~SyntaxNode () |
| void | SetFirstNode () |
| bool | GetFirstNode () const |
| SyntaxNode * | GetParent () const |
| void | SetParent (SyntaxNode *node) |
| virtual ReductionType | GetReductionType () |
| virtual void | ResetIterator () |
Private Attributes | |
| Symbol | argument |
Additional Inherited Members | |
Protected Attributes inherited from StatementNode | |
| char * | statementText |
Protected Attributes inherited from SyntaxNode | |
| CharBuffer * | output |
| SyntaxNode * | parent |
| SyntaxNode * | iterator |
| bool | leftBottom |
| PrefsStatement::PrefsStatement | ( | ) |
Definition at line 35 of file prefs.cpp.
References argument, and StatementNode::StatementNode().
Referenced by Parser::ParsePrefsStatement().


|
explicit |
Definition at line 41 of file prefs.cpp.
References argument.
Referenced by Parser::ParsePrefsStatement().

|
virtual |
Implements StatementNode.
Definition at line 46 of file prefs.cpp.
References argument, Program::Console, PreferencesBase::GetDescription(), PreferencesBase::GetDigits(), PreferencesBase::GetPrompt(), Program::Input, PreferencesBase::Keep(), PreferencesBase::Load(), Program::Output, Program::Preferences, PreferencesBase::Save(), NumeralSystem::SetDigits(), ConsoleBase::SetPrompt(), symload, and symsave.

|
private |
Definition at line 48 of file prefs.h.
Referenced by Execute(), and PrefsStatement().