This class is used to describe the periodic table. More...
Elements | |
| static const SBElement & | getElement (SBMElement::Type element) |
Returns a reference to periodic table element element. | |
| static SBMElement *const * | getElementVector () |
| Returns the vector of periodic table elements. | |
| static unsigned int | getNumberOfElements () |
| Returns the number of defined periodic table elements, including the Unknown element. | |
| static std::string | getElementName (SBMElement::Type element) |
Returns the name of periodic table element element. | |
| static std::string | getElementSymbol (SBMElement::Type element) |
Returns the symbol of periodic table element element. | |
| static std::string | getPeriod (SBMElement::Type element) |
Returns the period of periodic table element element. | |
| static unsigned int | getGroup (SBMElement::Type element) |
Returns the group of periodic table element element. | |
| static std::string | getBlock (SBMElement::Type element) |
Returns the block of periodic table element element. | |
| static SBQuantity::mass | getAtomicWeight (SBMElement::Type element) |
Returns the atomic weight of periodic table element element. | |
| static SBQuantity::length | getCovalentRadius (SBMElement::Type element) |
Returns the covalent radius of periodic table element element. | |
| static SBQuantity::length | getVanDerWaalsRadius (SBMElement::Type element) |
Returns the van der Waals radius of periodic table element element. | |
| static SBQuantity::dimensionless | getElectronegativity (SBMElement::Type element) |
Returns the electronegativity of periodic table element element. | |
| static SBElement::Type | getElementTypeByName (char *elementName) |
Returns the type of periodic table element named elementName. | |
| static SBElement::Type | getElementTypeByName (const std::string &elementName) |
Returns the type of periodic table element named elementName. | |
| static SBElement::Type | getElementTypeBySymbol (char *elementSymbol) |
Returns the type of periodic table element with symbol elementSymbol. | |
| static SBElement::Type | getElementTypeBySymbol (const std::string &elementSymbol) |
Returns the type of periodic table element with symbol elementSymbol. | |
| static SBElement::MetalSubcategory | getMetalSubcategory (SBMElement::Type element) |
Returns the subcategory type in the metal–metalloid–nonmetal trend for an element element. | |
| static std::string | getMetalSubcategoryString (SBMElement::Type element) |
Returns the string representation of the subcategory type in the metal–metalloid–nonmetal trend of an element element. | |
| static bool | isMetal (SBMElement::Type element) |
Returns true if the element element is metal. | |
| static bool | hasOxidationState (SBMElement::Type element, int value) |
Returns true if the element element is has known oxidation state with the value value. | |
Debugging | |
| virtual void | print () const |
| Prints the periodic table. | |
This class is used to describe the periodic table in SAMSON.
Typically, this class is used when accessing properties of periodic table elements:
Note that convenience functions exist in atoms to access the properties of their element:
Short name: SBElementTable
Short name: SBPeriodicTable