BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Static Public Attributes | List of all members
BALL::Element Class Reference

#include <BALL/KERNEL/PTE.h>

Public Types

enum  Name {
  ACTINIUM = 0, ALUMINUM, AMERICIUM, ANTIMONY,
  STIBIUM = ANTIMONY, ARGON, ARSENIC, ASTATINE,
  BARIUM, BERKELIUM, BERYLLIUM, BISMUTH,
  WISMUT = BISMUTH, BOHRIUM, BORON, BROMINE,
  CADMIUM, CAESIUM, CALCIUM, CALIFORNIUM,
  CARBON, CARBONEUM = CARBON, CERIUM, CHLORINE,
  CHROMIUM, COBALT, COPPER, CUPRUM = COPPER,
  CURIUM, DUBNIUM, DYSPROSIUM, EINSTEINIUM,
  ERBIUM, EUROPIUM, FERMIUM, FLUORINE,
  FRANCIUM, GADOLINIUM, GALLIUM, GERMANIUM,
  GOLD, AURUM = GOLD, HAFNIUM, HAHNIUM,
  HELIUM, HOLMIUM, HYDROGEN, HYDROGENIUM = HYDROGEN,
  INDIUM, IODINE, JOD = IODINE, IRIDIUM,
  IRON, FERRUM = IRON, JOLIOTIUM, KRYPTON,
  LANTHANUM, LAWRENCIUM, LEAD, PLUMBUM = LEAD,
  LITHIUM, LUTETIUM, MAGNESIUM, MANGANESE,
  MANGAN = MANGANESE, MEITNERIUM, MENDELEVIUM, MERCURY,
  HYDRARGYRUM = MERCURY, MERCURIUM = MERCURY, MOLYBDENUM, NEODYMIUM,
  NEON, NEPTUNIUM, NICKEL, NIOBIUM,
  NITROGEN, NITROGENIUM = NITROGEN, NOBELIUM, OSMIUM,
  OXYGEN, OXYGENIUM = OXYGEN, PALLADIUM, PHOSPHORUS,
  PLATINUM, PLUTONIUM, POLONIUM, POTASSIUM,
  KALIUM = POTASSIUM, PRASEODYMIUM, PROMETHIUM, PROTACTINIUM,
  RADIUM, RADON, RHENIUM, RHODIUM,
  RUBIDIUM, RUTHENIUM, RUTHERFORDIUM, SAMARIUM,
  SCANDIUM, SELENIUM, SILICON, SILICIUM = SILICON,
  SILVER, ARGENTUM = SILVER, SODIUM, NATRIUM = SODIUM,
  STRONTIUM, SULPHUR, SULFUR = SULPHUR, TANTALUM,
  TECHNETIUM, TELLURIUM, TERBIUM, THALLIUM,
  THORIUM, THULIUM, TIN, STANNUM = TIN,
  TITANIUM, TUNGSTEN, WOLFRAM = TUNGSTEN, UNUNBIUM,
  UNUNNILIUM, UNUNNINIUM, URANIUM, VANADIUM,
  XENON, YTTERBIUM, YTTRIUM, ZINC,
  ZINCUM = ZINC, ZIRCONIUM, NUMBER_OF_ELEMENTS
}
 
typedef short Group
 
typedef short Period
 
typedef short AtomicNumber
 
Symbol

Element symbols.

enum  Symbol {
  Ac = 0, Al, Am, Sb,
  Ar, As, At, Ba,
  Bk, Be, Bi, Bh,
  B, Br, Cd, Cs,
  Ca, Cf, C, Ce,
  Cl, Cr, Co, Cu,
  Cm, Db, Dy, Es,
  Er, Eu, Fm, F,
  Fr, Gd, Ga, Ge,
  Au, Hf, Hn, He,
  Ho, H, In, I,
  Ir, Fe, Jl, Kr,
  La, Lr, Pb, Li,
  Lu, Mg, Mn, Mt,
  Md, Hg, Mo, Nd,
  Ne, Np, Ni, Nb,
  N, No, Os, O,
  Pd, P, Pt, Pu,
  Po, K, Pr, Pm,
  Pa, Ra, Rn, Re,
  Rh, Rb, Ru, Rf,
  Sm, Sc, Se, Si,
  Ag, Na, Sr, S,
  Ta, Tc, Te, Tb,
  Tl, Th, Tm, Sn,
  Ti, W, Uub, Uun,
  Uuu, U, V, Xe,
  Yb, Y, Zn, Zr
}
 

Public Member Functions

Constructors and Destructors.
 Element ()
 
 Element (const Element &element)
 
 Element (const String &name, const String &symbol, Group group, Period period, AtomicNumber atomic_umber, float atomic_weight, float atomic_radius, float covalent_radius, float van_der_waals_radius, bool is_metal, float electronegativity)
 
virtual ~Element ()
 
virtual void clear ()
 
Assignment
Elementoperator= (const Element &element)
 
Inspectors and Mutators
void setName (const String &name)
 
const StringgetName () const
 
void setSymbol (const String &symbol)
 
const StringgetSymbol () const
 
void setGroup (Group group)
 
Group getGroup () const
 
void setPeriod (Period period)
 
Period getPeriod () const
 
void setAtomicNumber (AtomicNumber atomic_number)
 
AtomicNumber getAtomicNumber () const
 
void setAtomicWeight (float atomic_weight)
 
float getAtomicWeight () const
 
void setAtomicRadius (float atomic_radius)
 
float getAtomicRadius () const
 
void setCovalentRadius (float covalent_radius)
 
float getCovalentRadius () const
 
void setVanDerWaalsRadius (float van_der_waals_radius)
 
float getVanDerWaalsRadius () const
 
void setElectronegativity (float electronegativity)
 
float getElectronegativity () const
 
Predicates
bool isUnknown () const
 
bool isMetal () const
 

Static Public Attributes

static Element UNKNOWN
 

Operators

bool operator== (const Element &element) const
 
bool operator!= (const Element &element) const
 
bool operator< (const Element &element) const
 
bool operator<= (const Element &element) const
 
bool operator>= (const Element &element) const
 
bool operator> (const Element &element) const
 
BALL_EXPORT friend std::ostream & operator<< (std::ostream &s, const Element &element)
 

Detailed Description

Element class.

Definition at line 54 of file PTE.h.