amath
1.8.5
Simple command line calculator
|
Show memory usage. More...
#include <memory.h>
Public Member Functions | |
MemoryStatement () | |
~MemoryStatement () | |
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 () |
Additional Inherited Members | |
Protected Attributes inherited from StatementNode | |
char * | statementText |
Protected Attributes inherited from SyntaxNode | |
CharBuffer * | output |
SyntaxNode * | parent |
SyntaxNode * | iterator |
bool | leftBottom |
MemoryStatement::MemoryStatement | ( | ) |
Definition at line 37 of file memory.cpp.
References StatementNode::StatementNode().
Referenced by Parser::ParseStatement().
MemoryStatement::~MemoryStatement | ( | ) |
Definition at line 42 of file memory.cpp.
|
virtual |
Implements StatementNode.
Definition at line 46 of file memory.cpp.
References CharBuffer::Append(), DecimalSystem::DecimalSystem(), CharBuffer::Empty(), CharBuffer::EnsureSize(), CharBuffer::GetString(), NumeralSystem::GetText(), MemUsage(), SyntaxNode::output, RealNumber::RealNumber(), and StrLen().