IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Chemical element with stoichiometric quantity. More...
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... | |
![]() | |
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... | |
![]() | |
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 void | CopyPlain (ChemicalElement original, ChemicalElement result) |
Deep copies the specified chemical element to another chemical element object. More... | |
![]() | |
string | Name [get, set] |
Long name of the chemical element. More... | |
Chemical element with stoichiometric quantity.
$A Igor Nov08;
|
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.
element | Chemical elmment from which element quantity is constructed by deep copying. |
quantity | Quantity of the element. |
|
inline |
Constructs a chemical element quaintity object that is a deep copy of the specified existing chemical element quantity.
elementQuantity | Chemical elmment quantity from which element quantity is constructed by deep copying. |
References IG.Physics.ChemicalElementQuantity.Quantity.
|
inline |
Constructs a new chemical element element enumerator.
quantity | Stoichiometric quantity of the element. |
whichElement | Enum of type ChemicalElements that defines which chemical element is created. |
atomicWeight | Atomic weight of the element. |
properties | Other properties of this element (optional). |
|
inline |
Constructs a new chemical element element enumerator.
quantity | Stoichiometric quantity of the element. |
whichElement | Enum of type ChemicalElements that defines which chemical element is created. |
atomicWeight | Atomic weight of the element. |
|
inline |
Constructs a new chemical element element enumerator, with atomic weight set to 0.
quantity | Stoichiometric quantity of the element. |
whichElement | Enum of type ChemicalElements that defines which chemical element is created. |
|
inline |
Constructs a new chemical element with specified element symbol.
quantity | Stoichiometric quantity of the element. |
symbol | Symbol 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). |
atomicWeight | Atomic weight of the element. |
properties | Other properties of this element (optional). |
|
inline |
Constructs a new chemical element with specified element symbol.
quantity | Stoichiometric quantity of the element. |
symbol | Symbol 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). |
atomicWeight | Atomic weight of the element. |
|
inline |
Constructs a new chemical element with specified element symbol, with atomic weight set to 0.
quantity | Stoichiometric quantity of the element. |
symbol | Symbol 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). |
atomicWeight | Atomic weight of the element. |
|
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.
|
inlinevirtual |
Returns string representation of the current chemical element, which is just the element symbol.
Reimplemented from IG.Physics.ChemicalElement.
|
inlinevirtual |
Returns longer string representation of the current themical element, which includes Properties.
Reimplemented from IG.Physics.ChemicalElement.
double IG.Physics.ChemicalElementQuantity.Quantity |
Stoichiometric quantity of the element.
Referenced by IG.Physics.ChemicalElementQuantity.ChemicalElementQuantity(), IG.Physics.ChemicalElementQuantityDto.ChemicalElementQuantityDto(), IG.Physics.ChemicalElementQuantityDto.CopyFromPlain(), and IG.Physics.ChemicalElementQuantityDto.CopyToPlain().