#include <PTE.h>
Public Member Functions |
|
Constructors and Destructors
|
|
PTE_ () | |
Default constructor. |
|
PTE_ (const PTE_ &pse) | |
Default constructor. |
|
virtual | ~PTE_ () |
Destructor. |
|
virtual void | clear () |
Clear method. |
|
Assignment
|
|
PTE_ & | operator= (const PTE_ &) |
Assignment operator Does not assign
anything. |
|
Operators
|
|
bool | operator== (const PTE_ &pte) const |
Equality operator. |
|
Element & | operator[] (const String &symbol) |
Access operator with a given symbol.
|
|
const Element & | operator[] (const String &symbol) const |
Access operator with a given symbol.
|
|
Element & | operator[] (Element::Name name) |
Access operator with a given name.
|
|
const Element & | operator[] (Element::Name name) const |
Access operator with a given name.
|
|
Element & | operator[] (Element::Symbol symbol) |
Access operator with a given
Element::Symbol. |
|
const Element & | operator[] (Element::Symbol symbol) const |
Access operator with a given
Element::Symbol. |
|
Element & | operator[] (Position position) |
Access operator with a given
position. |
|
const Element & | operator[] (Position position) const |
Access operator with a given
position. |
|
Static Public Member Functions |
|
Accessors
|
|
static Element & | getElement (Position position) |
Return the element at a given
position in the PTE. |
|
static Element & | getElement (const String &symbol) |
Return the element with a given
symbol. |
|
Application methods
|
|
static bool | apply (UnaryProcessor< Element > &applicator) |
Application of an unary processor on
every contained element. |