BALL
1.5.0
|
#include <BALL/KERNEL/PTE.h>
Classes | |
struct | SymbolToElement |
Public Member Functions | |
Constructors and Destructors | |
PTE_ () | |
PTE_ (const PTE_ &pse) | |
virtual | ~PTE_ () |
virtual void | clear () |
Assignment | |
PTE_ & | operator= (const PTE_ &) |
Operators | |
bool | operator== (const PTE_ &pte) const |
Element & | operator[] (const String &symbol) |
const Element & | operator[] (const String &symbol) const |
Element & | operator[] (Element::Name name) |
const Element & | operator[] (Element::Name name) const |
Element & | operator[] (Element::Symbol symbol) |
const Element & | operator[] (Element::Symbol symbol) const |
Element & | operator[] (Position position) |
const Element & | operator[] (Position position) const |
Static Public Member Functions | |
Accessors | |
static Element & | getElement (Position atomic_number) |
static Element & | getElement (const String &symbol) |
Application methods | |
static bool | apply (UnaryProcessor< Element > &applicator) |
BALL::PTE_::PTE_ | ( | ) |
Default constructor
BALL::PTE_::PTE_ | ( | const PTE_ & | pse | ) |
Default constructor
|
virtual |
Destructor
|
static |
Application of an unary processor on every contained element.
processor | a typed unary processor for Element instances |
true
if application has been terminated successfully, false
otherwise
|
virtual |
Clear method.
Return the element that has the specified atomic number.
Assignment operator Does not assign anything. Implemented just for the OCI.
Equality operator. Always returns true. Implemented just for the OCI.
Element& BALL::PTE_::operator[] | ( | Element::Name | name | ) |
const Element& BALL::PTE_::operator[] | ( | Element::Name | name | ) | const |
Element& BALL::PTE_::operator[] | ( | Element::Symbol | symbol | ) |
Access operator with a given Element::Symbol.
const Element& BALL::PTE_::operator[] | ( | Element::Symbol | symbol | ) | const |
Access operator with a given Element::Symbol.