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