faudes::StackSymbol Class Reference
[Pushdown PlugIn]

Deprecated, do not use! More...

#include <pd_basics.h>

List of all members.

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

Detailed Description

Deprecated, do not use!

Overview

Overview

Contents

Contents

Definition at line 123 of file pd_basics.h.


Constructor & Destructor Documentation

faudes::StackSymbol::StackSymbol ( void   )  [inline]

Constructor.

Definition at line 132 of file pd_basics.h.

faudes::StackSymbol::StackSymbol ( std::string  symbol  )  [inline]

Constructor.

Parameters:
symbol name to set

Definition at line 139 of file pd_basics.h.


Member Function Documentation

bool faudes::StackSymbol::Empty ( void   )  const

Tests if mSymbol is an empty String ("").

Returns:
true if mSymbol is an emptry String, else false

Definition at line 126 of file pd_basics.cpp.

bool faudes::StackSymbol::IsLambda (  )  const

Test if stack symbol is lambda.

Returns:
True if mSymbol is lambda, else false

Definition at line 116 of file pd_basics.cpp.

bool faudes::StackSymbol::operator!= ( const StackSymbol other  )  const

Test inequality with other stack symbol.

Parameters:
other stack symbol to compare with
Returns:
True if mSymbol is not the same, else false

Definition at line 98 of file pd_basics.cpp.

bool faudes::StackSymbol::operator< ( const StackSymbol other  )  const

Test equality with other stack symbol.

Parameters:
other stack symbol to compare with
Returns:
True if mSymbol is the same, else false

Definition at line 110 of file pd_basics.cpp.

bool faudes::StackSymbol::operator== ( const StackSymbol other  )  const

Test equality with other stack symbol.

Parameters:
other stack symbol to compare with
Returns:
True if mSymbol is the same, else false

Definition at line 104 of file pd_basics.cpp.

const std::string& faudes::StackSymbol::Symbol (  )  const [inline]

Getter for mSymbol.

Returns:
mSymbol

Definition at line 147 of file pd_basics.h.

std::string faudes::StackSymbol::ToString ( void   )  const

Write mSymbol to string.

Returns:
mSymbol as String

Definition at line 122 of file pd_basics.cpp.

void faudes::StackSymbol::Write ( TokenWriter tw,
const std::string &  rLabel 
) const

Write to TokenWriter with a given label.

Parameters:
tw Reference to TokenWriter
rLabel Label for set in file
Exceptions:
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!

Parameters:
tw Reference to TokenWriter
Exceptions:
std::ios::failure Thrown on i/o error.

Definition at line 81 of file pd_basics.cpp.


Member Data Documentation

Definition at line 127 of file pd_basics.h.


The documentation for this class was generated from the following files:

libFAUDES 2.23h --- 2014.04.03 --- c++ api documentaion by doxygen