faudes::StackSymbol Class Reference
|
Public Member Functions | |
StackSymbol (void) | |
Constructor. | |
StackSymbol (std::string symbol) | |
Constructor. | |
const std::string & | Symbol () const |
Getter for mSymbol. | |
void | Write (TokenWriter &tw) const |
Write to TokenWriter. | |
void | Write (TokenWriter &tw, const std::string &rLabel) const |
Write to TokenWriter with a given label. | |
bool | operator!= (const StackSymbol &other) const |
Test inequality with other stack symbol. | |
bool | operator== (const StackSymbol &other) const |
Test equality with other stack symbol. | |
bool | operator< (const StackSymbol &other) const |
Test equality with other stack symbol. | |
bool | IsLambda () const |
Test if stack symbol is lambda. | |
std::string | ToString () const |
Write mSymbol to string. | |
bool | Empty () const |
Tests if mSymbol is an empty String (""). | |
Public Attributes | |
std::string | mSymbol |
Deprecated, do not use!
Overview
Contents
Definition at line 123 of file pd_basics.h.
faudes::StackSymbol::StackSymbol | ( | void | ) | [inline] |
Constructor.
Definition at line 132 of file pd_basics.h.
faudes::StackSymbol::StackSymbol | ( | std::string | symbol | ) | [inline] |
bool faudes::StackSymbol::Empty | ( | void | ) | const |
Tests if mSymbol is an empty String ("").
Definition at line 126 of file pd_basics.cpp.
bool faudes::StackSymbol::IsLambda | ( | ) | const |
Test if stack symbol is lambda.
Definition at line 116 of file pd_basics.cpp.
bool faudes::StackSymbol::operator!= | ( | const StackSymbol & | other | ) | const |
Test inequality with other stack symbol.
other | stack symbol to compare with |
Definition at line 98 of file pd_basics.cpp.
bool faudes::StackSymbol::operator< | ( | const StackSymbol & | other | ) | const |
Test equality with other stack symbol.
other | stack symbol to compare with |
Definition at line 110 of file pd_basics.cpp.
bool faudes::StackSymbol::operator== | ( | const StackSymbol & | other | ) | const |
Test equality with other stack symbol.
other | stack symbol to compare with |
Definition at line 104 of file pd_basics.cpp.
const std::string& faudes::StackSymbol::Symbol | ( | ) | const [inline] |
std::string faudes::StackSymbol::ToString | ( | void | ) | const |
void faudes::StackSymbol::Write | ( | TokenWriter & | tw, | |
const std::string & | rLabel | |||
) | const |
Write to TokenWriter with a given label.
tw | Reference to TokenWriter | |
rLabel | Label for set in file |
std::ios::failure | Thrown on i/o error. |
Definition at line 85 of file pd_basics.cpp.
void faudes::StackSymbol::Write | ( | TokenWriter & | tw | ) | const |
Write to TokenWriter.
Currently not used!
tw | Reference to TokenWriter |
std::ios::failure | Thrown on i/o error. |
Definition at line 81 of file pd_basics.cpp.
std::string faudes::StackSymbol::mSymbol |
Definition at line 127 of file pd_basics.h.
libFAUDES 2.23h --- 2014.04.03 --- c++ api documentaion by doxygen