amath
1.8.5
Simple command line calculator
|
#include <plot.h>
Public Member Functions | |
PlotStatement (const char *name, const char *parameter, const char *file) | |
PlotStatement (const char *name, const char *parameter) | |
~PlotStatement () | |
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 | |
char * | name |
char * | parameter |
char * | file |
Additional Inherited Members | |
Protected Attributes inherited from StatementNode | |
char * | statementText |
Protected Attributes inherited from SyntaxNode | |
CharBuffer * | output |
SyntaxNode * | parent |
SyntaxNode * | iterator |
bool | leftBottom |
PlotStatement::PlotStatement | ( | const char * | name, |
const char * | parameter, | ||
const char * | file | ||
) |
Definition at line 38 of file plot.cpp.
References AllocAndCopy(), file, name, parameter, and StatementNode::StatementNode().
PlotStatement::PlotStatement | ( | const char * | name, |
const char * | parameter | ||
) |
Definition at line 46 of file plot.cpp.
References AllocAndCopy(), file, name, parameter, and StatementNode::StatementNode().
Referenced by Parser::ParseDrawStatement().
PlotStatement::~PlotStatement | ( | ) |
|
virtual |
Implements StatementNode.
Definition at line 65 of file plot.cpp.
References CharBuffer::Append(), DecimalSystem::DecimalSystem(), CharBuffer::Empty(), CharBuffer::EnsureGrowth(), Program::Functions, FunctionList::GetFunctionDef(), Grid::GetHorizontalResolution(), Grid::GetScreenCoordinates(), CharBuffer::GetString(), NumeralSystem::GetText(), Grid::Grid(), name, SyntaxNode::output, parameter, RealNumber::RealNumber(), Grid::SetFunctionBounderies(), RealNumber::SetRealValue(), and Grid::SetScreenBounderues().
|
private |
Definition at line 46 of file plot.h.
Referenced by PlotStatement(), and ~PlotStatement().
|
private |
Definition at line 44 of file plot.h.
Referenced by Execute(), PlotStatement(), and ~PlotStatement().
|
private |
Definition at line 45 of file plot.h.
Referenced by Execute(), PlotStatement(), and ~PlotStatement().