This class is used to describe the periodic table. More...
Debugging | |
virtual void | print () const |
Prints the periodic table. | |
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 | getCovalentRadius (SBMElement::Type element, int bondType) |
Returns the covalent radius of periodic table element element for bond type bondType (1 for single bond, 2 for double bond, 3 for triple bond, for other values it returns getCovalentRadius()) | |
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 | isAlkaliMetal (SBMElement::Type element) |
Returns true if the element element is alkali metal. | |
static bool | isAlkalineEarthMetal (SBMElement::Type element) |
Returns true if the element element is alkaline earth metal. | |
static bool | isLanthanide (SBMElement::Type element) |
Returns true if the element element is lanthanide metal. | |
static bool | isActinide (SBMElement::Type element) |
Returns true if the element element is actinide metal. | |
static bool | isTransitionMetal (SBMElement::Type element) |
Returns true if the element element is transition metal. | |
static bool | isPostTransitionMetal (SBMElement::Type element) |
Returns true if the element element is post-transition metal. | |
static bool | isMetalloid (SBMElement::Type element) |
Returns true if the element element is metalloid. | |
static bool | isNobleGas (SBMElement::Type element) |
Returns true if the element element is noble gas. | |
static bool | isReactiveNonmetal (SBMElement::Type element) |
Returns true if the element element is reactive nonmetal. | |
static bool | isDiatomicNonmetal (SBMElement::Type element) |
Returns true if the element element is diatomic nonmetal. | |
static bool | isPolyatomicNonmetal (SBMElement::Type element) |
Returns true if the element element is polyatomic nonmetal. | |
static bool | isHalogen (SBMElement::Type element) |
Returns true if the element element is halogen. | |
static bool | hasOxidationState (SBMElement::Type element, int value) |
Returns true if the element element is has known oxidation state with the value value . | |
Constructors and destructors | |
virtual | ~SBMElementTable () |
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