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.ChemicalElementQuantity Class Reference

Chemical element with stoichiometric quantity. More...

+ Inheritance diagram for IG.Physics.ChemicalElementQuantity:
+ Collaboration diagram for IG.Physics.ChemicalElementQuantity:

Public Member Functions

 ChemicalElementQuantity (double quantity, ChemicalElement element)
 Constructs a chemical element quaintity object that is a deep copy of the specified chemical element (can also be of type ChemicalElementQuantity since it inherits form chemical element) and has the specified quantity. More...
 
 ChemicalElementQuantity (ChemicalElementQuantity elementQuantity)
 Constructs a chemical element quaintity object that is a deep copy of the specified existing chemical element quantity. More...
 
 ChemicalElementQuantity (double quantity, ChemicalElements whichElement, double atomicWeight, ChemicalElementProperties properties)
 Constructs a new chemical element element enumerator. More...
 
 ChemicalElementQuantity (double quantity, ChemicalElements whichElement, double atomicWeight)
 Constructs a new chemical element element enumerator. More...
 
 ChemicalElementQuantity (double quantity, ChemicalElements whichElement)
 Constructs a new chemical element element enumerator, with atomic weight set to 0. More...
 
 ChemicalElementQuantity (double quantity, string symbol, double atomicWeight, ChemicalElementProperties properties)
 Constructs a new chemical element with specified element symbol. More...
 
 ChemicalElementQuantity (double quantity, string symbol, double atomicWeight)
 Constructs a new chemical element with specified element symbol. More...
 
 ChemicalElementQuantity (double quantity, string symbol)
 Constructs a new chemical element with specified element symbol, with atomic weight set to 0. More...
 
override string ToString ()
 Returns string representation of the current chemical element with quantity, which is just the quantity and element symbol. More...
 
override string TostringShort ()
 Returns string representation of the current chemical element, which is just the element symbol. More...
 
override string ToStringLong ()
 Returns longer string representation of the current themical element, which includes Properties. More...
 
- Public Member Functions inherited from IG.Physics.ChemicalElement
 ChemicalElement (ChemicalElements whichElement, double atomicWeight, ChemicalElementProperties properties)
 Constructs a new chemical element element enumerator. More...
 
 ChemicalElement (ChemicalElements whichElement, double atomicWeight)
 Constructs a new chemical element element enumerator. More...
 
 ChemicalElement (ChemicalElements whichElement)
 Constructs a new chemical element element enumerator, with atomic weight set to 0. More...
 
 ChemicalElement (string symbol, double atomicWeight, ChemicalElementProperties properties)
 Constructs a new chemical element with specified element symbol. More...
 
 ChemicalElement (string symbol, double atomicWeight)
 Constructs a new chemical element with specified element symbol. More...
 
 ChemicalElement (string symbol)
 Constructs a new chemical element with specified element symbol, with atomic weight set to 0. More...
 
 ChemicalElement (ChemicalElement element)
 Constructs a new chemical element object that is a deep copy of the specified chemical element. More...
 
override string ToString ()
 Returns string representation of the current chemical element, which is just the element symbol. More...
 

Public Attributes

double Quantity
 Stoichiometric quantity of the element. More...
 
- Public Attributes inherited from IG.Physics.ChemicalElement
ChemicalElements Element
 Enum of type ChemicalElements specifying which chemical element this is. More...
 
string Symbol
 Chemical element's symbol. More...
 
int AtomicNumber
 Atomic number of the chemical element. More...
 
double AtomicWeight
 Standard atomic weight in atomic mass units. More...
 
ChemicalElementProperties Properties
 

Additional Inherited Members

- Static Public Member Functions inherited from IG.Physics.ChemicalElement
static void CopyPlain (ChemicalElement original, ChemicalElement result)
 Deep copies the specified chemical element to another chemical element object. More...
 
- Properties inherited from IG.Physics.ChemicalElement
string Name [get, set]
 Long name of the chemical element. More...
 

Detailed Description

Chemical element with stoichiometric quantity.

$A Igor Nov08;

Constructor & Destructor Documentation

IG.Physics.ChemicalElementQuantity.ChemicalElementQuantity ( double  quantity,
ChemicalElement  element 
)
inline

Constructs a chemical element quaintity object that is a deep copy of the specified chemical element (can also be of type ChemicalElementQuantity since it inherits form chemical element) and has the specified quantity.

Parameters
elementChemical elmment from which element quantity is constructed by deep copying.
quantityQuantity of the element.
IG.Physics.ChemicalElementQuantity.ChemicalElementQuantity ( ChemicalElementQuantity  elementQuantity)
inline

Constructs a chemical element quaintity object that is a deep copy of the specified existing chemical element quantity.

Parameters
elementQuantityChemical elmment quantity from which element quantity is constructed by deep copying.

References IG.Physics.ChemicalElementQuantity.Quantity.

IG.Physics.ChemicalElementQuantity.ChemicalElementQuantity ( double  quantity,
ChemicalElements  whichElement,
double  atomicWeight,
ChemicalElementProperties  properties 
)
inline

Constructs a new chemical element element enumerator.

Parameters
quantityStoichiometric quantity of the element.
whichElementEnum of type ChemicalElements that defines which chemical element is created.
atomicWeightAtomic weight of the element.
propertiesOther properties of this element (optional).
IG.Physics.ChemicalElementQuantity.ChemicalElementQuantity ( double  quantity,
ChemicalElements  whichElement,
double  atomicWeight 
)
inline

Constructs a new chemical element element enumerator.

Parameters
quantityStoichiometric quantity of the element.
whichElementEnum of type ChemicalElements that defines which chemical element is created.
atomicWeightAtomic weight of the element.
IG.Physics.ChemicalElementQuantity.ChemicalElementQuantity ( double  quantity,
ChemicalElements  whichElement 
)
inline

Constructs a new chemical element element enumerator, with atomic weight set to 0.

Parameters
quantityStoichiometric quantity of the element.
whichElementEnum of type ChemicalElements that defines which chemical element is created.
IG.Physics.ChemicalElementQuantity.ChemicalElementQuantity ( double  quantity,
string  symbol,
double  atomicWeight,
ChemicalElementProperties  properties 
)
inline

Constructs a new chemical element with specified element symbol.

Parameters
quantityStoichiometric quantity of the element.
symbolSymbol of the chemical element. Enum of type ChemicalElements is obtained by parsing this symbol, whichis case sensitive (If there is no such enumeration value, exception is thrown).
atomicWeightAtomic weight of the element.
propertiesOther properties of this element (optional).
IG.Physics.ChemicalElementQuantity.ChemicalElementQuantity ( double  quantity,
string  symbol,
double  atomicWeight 
)
inline

Constructs a new chemical element with specified element symbol.

Parameters
quantityStoichiometric quantity of the element.
symbolSymbol of the chemical element. Enum of type ChemicalElements is obtained by parsing this symbol, whichis case sensitive (If there is no such enumeration value, exception is thrown).
atomicWeightAtomic weight of the element.
IG.Physics.ChemicalElementQuantity.ChemicalElementQuantity ( double  quantity,
string  symbol 
)
inline

Constructs a new chemical element with specified element symbol, with atomic weight set to 0.

Parameters
quantityStoichiometric quantity of the element.
symbolSymbol of the chemical element. Enum of type ChemicalElements is obtained by parsing this symbol, whichis case sensitive (If there is no such enumeration value, exception is thrown).
atomicWeightAtomic weight of the element.

Member Function Documentation

override string IG.Physics.ChemicalElementQuantity.ToString ( )
inline

Returns string representation of the current chemical element with quantity, which is just the quantity and element symbol.

Warning:

Function of this method can change in the future!

In orter to make sure that only quantity and symbol is written, use the TostringShort method.

override string IG.Physics.ChemicalElementQuantity.TostringShort ( )
inlinevirtual

Returns string representation of the current chemical element, which is just the element symbol.

Reimplemented from IG.Physics.ChemicalElement.

override string IG.Physics.ChemicalElementQuantity.ToStringLong ( )
inlinevirtual

Returns longer string representation of the current themical element, which includes Properties.

Reimplemented from IG.Physics.ChemicalElement.

Member Data Documentation


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