7 #ifndef BALL_KERNEL_PTE_H
8 #define BALL_KERNEL_PTE_H
10 #ifndef BALL_COMMON_CREATE_H
14 #ifndef BALL_DATATYPE_STRING_H
18 #ifndef BALL_CONCEPT_PROCESSOR_H
22 #define BALL_ELEMENT_NAME_DEFAULT "Unknown"
23 #define BALL_ELEMENT_SYMBOL_DEFAULT "?"
24 #define BALL_ELEMENT_GROUP_DEFAULT 0
25 #define BALL_ELEMENT_PERIOD_DEFAULT 0
26 #define BALL_ELEMENT_ATOMICNUMBER_DEFAULT 0
27 #define BALL_ELEMENT_ATOMICWEIGHT_DEFAULT 0
28 #define BALL_ELEMENT_ATOMICRADIUS_DEFAULT 0
29 #define BALL_ELEMENT_COVALENTRADIUS_DEFAULT 0
30 #define BALL_ELEMENT_VANDERWAALSRADIUS_DEFAULT 0
31 #define BALL_ELEMENT_ELECTRONEGATIVITY_DEFAULT 0
32 #define BALL_ELEMENT_IS_METAL_DEFAULT false
80 ANTIMONY, STIBIUM = ANTIMONY,
87 BISMUTH, WISMUT = BISMUTH,
95 CARBON, CARBONEUM = CARBON,
100 COPPER, CUPRUM = COPPER,
118 HYDROGEN, HYDROGENIUM = HYDROGEN,
120 IODINE, JOD = IODINE,
127 LEAD, PLUMBUM = LEAD,
141 NITROGEN, NITROGENIUM = NITROGEN,
144 OXYGEN, OXYGENIUM = OXYGEN,
178 TUNGSTEN, WOLFRAM = TUNGSTEN,
329 AtomicNumber atomic_umber,
332 float covalent_radius,
333 float van_der_waals_radius,
335 float electronegativity);
345 virtual void clear();
360 void setName(
const String& name);
372 void setSymbol(
const String& symbol);
377 const String& getSymbol()
const;
382 void setGroup(Group group);
387 Group getGroup()
const;
392 void setPeriod(Period period);
397 Period getPeriod()
const;
402 void setAtomicNumber(AtomicNumber atomic_number);
407 AtomicNumber getAtomicNumber()
const;
412 void setAtomicWeight(
float atomic_weight);
417 float getAtomicWeight()
const;
422 void setAtomicRadius(
float atomic_radius);
427 float getAtomicRadius()
const;
432 void setCovalentRadius(
float covalent_radius);
437 float getCovalentRadius()
const;
442 void setVanDerWaalsRadius(
float van_der_waals_radius);
447 float getVanDerWaalsRadius()
const;
452 void setElectronegativity(
float electronegativity);
457 float getElectronegativity()
const;
469 bool operator == (
const Element& element)
const;
476 bool operator != (
const Element& element)
const;
484 bool operator < (
const Element& element)
const;
492 bool operator <= (
const Element& element)
const;
500 bool operator >= (
const Element& element)
const;
508 bool operator >(
const Element& element)
const;
526 bool isUnknown()
const;
533 bool isMetal()
const;
665 virtual void clear();
701 bool operator == (
const PTE_& pte)
const;
787 # ifndef BALL_NO_INLINE_FUNCTIONS
788 # include <BALL/KERNEL/PTE.iC>
793 #endif // BALL_KERNEL_PTE_H