IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
IG.Physics.ChemicalElementProperties Class Reference

Properties of chemical element. More...

Public Member Functions

 ChemicalElementProperties (string symbol, int atomicNumber, double atomicWeight)
 Constructs new chemical element properties. More...
 
 ChemicalElementProperties (ChemicalElements whichElement)
 Constructs new chemical element properties that obtain data form the enumerator of type ChemicalElements. More...
 
 ChemicalElementProperties (ChemicalElement element)
 Constructs new chemical element properties that obtain data form the specified chemical element. More...
 
 ChemicalElementProperties (ChemicalElementProperties elementProperties)
 
override string ToString ()
 

Static Public Member Functions

static void CopyPlain (ChemicalElementProperties prop, ChemicalElementProperties result)
 Copies the specified chemical element properties to another object of the same type. More...
 
static void CopyPlain (ChemicalElement element, ChemicalElementProperties result)
 Copies chemical properties of the specified chemical element to the specified element properties object. More...
 

Public Attributes

string Symbol
 
int AtomicNumber
 
double AtomicWeight
 

Private Member Functions

 ChemicalElementProperties ()
 

Detailed Description

Properties of chemical element.

$A Igor Dec08;

Constructor & Destructor Documentation

IG.Physics.ChemicalElementProperties.ChemicalElementProperties ( )
inlineprivate
IG.Physics.ChemicalElementProperties.ChemicalElementProperties ( string  symbol,
int  atomicNumber,
double  atomicWeight 
)
inline

Constructs new chemical element properties.

Parameters
symbolChemical symbol of the element that is addressed.
atomicNumberAtomic number of the element that is addressed.
atomicWeightAtomic weight of the element that is addressed.
IG.Physics.ChemicalElementProperties.ChemicalElementProperties ( ChemicalElements  whichElement)
inline

Constructs new chemical element properties that obtain data form the enumerator of type ChemicalElements.

Only some basic data can be obtained from the argument, other data can be set later.

Parameters
whichElementEnumerator of type ChemicalElements that specifies for which element properties are taken.
IG.Physics.ChemicalElementProperties.ChemicalElementProperties ( ChemicalElement  element)
inline

Constructs new chemical element properties that obtain data form the specified chemical element.

Only some basic data can be obtained from the argument, other data can be set later.

Parameters
symbolChemical symbol of the element that is addressed.

References IG.Physics.ChemicalElement.AtomicNumber, IG.Physics.ChemicalElement.AtomicWeight, and IG.Physics.ChemicalElement.Symbol.

IG.Physics.ChemicalElementProperties.ChemicalElementProperties ( ChemicalElementProperties  elementProperties)
inline

Member Function Documentation

override string IG.Physics.ChemicalElementProperties.ToString ( )
inline
static void IG.Physics.ChemicalElementProperties.CopyPlain ( ChemicalElementProperties  prop,
ChemicalElementProperties  result 
)
inlinestatic

Copies the specified chemical element properties to another object of the same type.

This is a plain method, it is not checked if objects are allocated.

Parameters
elementChemical element properties that are copied.
resultObject to which properties are copied.

References IG.Physics.ChemicalElementProperties.AtomicNumber, IG.Physics.ChemicalElementProperties.AtomicWeight, and IG.Physics.ChemicalElementProperties.Symbol.

static void IG.Physics.ChemicalElementProperties.CopyPlain ( ChemicalElement  element,
ChemicalElementProperties  result 
)
inlinestatic

Copies chemical properties of the specified chemical element to the specified element properties object.

If the specified element contains the properties object (i.e. ChemicalElement.Properties!=null) then data from the properties object are copied, too.

This is a plain method, it is not checked if objects are allocated.

Parameters
elementElement from which properties are copied.
resultObject to which properties are copied.

References IG.Physics.ChemicalElementProperties.AtomicNumber, IG.Physics.ChemicalElement.AtomicNumber, IG.Physics.ChemicalElementProperties.AtomicWeight, IG.Physics.ChemicalElement.AtomicWeight, IG.Physics.ChemicalElement.Properties, IG.Physics.ChemicalElementProperties.Symbol, and IG.Physics.ChemicalElement.Symbol.

Member Data Documentation

string IG.Physics.ChemicalElementProperties.Symbol
int IG.Physics.ChemicalElementProperties.AtomicNumber
double IG.Physics.ChemicalElementProperties.AtomicWeight

The documentation for this class was generated from the following file: