IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
DTO (Data Transfer Objects) for chemical element properties (the ChemicalElementProperties class). Used to store a state of a chemical element properties object. More...
Public Member Functions | |
ChemicalElementPropertiesDto () | |
Default constructor, sets IsNull to true. More... | |
ChemicalElementPropertiesDto (ChemicalElementProperties elementProperties) | |
Constructor, prepares the current DTO for storing a specific chemical element properties object (type ChemicalElementProperties). More... | |
override ChemicalElementProperties | CreateObject () |
Creates and returns a new chemical element of the appropriate type. More... | |
Public Attributes | |
int | AtomicNumber |
double | AtomicWeight |
Protected Member Functions | |
override void | CopyFromPlain (ChemicalElementProperties elementProperties) |
Copies data to the current DTO from a chemical element properties object. More... | |
override void | CopyToPlain (ref ChemicalElementProperties elementProperties) |
Copies data from the current DTO to a chemical element properties object. More... | |
Private Attributes | |
string | Symbol |
DTO (Data Transfer Objects) for chemical element properties (the ChemicalElementProperties class). Used to store a state of a chemical element properties object.
ChemicalElementType | Type parameter specifying the specific chemical element type for which concrete DTO is designed. |
$A Igor Oct09;
|
inline |
Default constructor, sets IsNull to true.
|
inline |
Constructor, prepares the current DTO for storing a specific chemical element properties object (type ChemicalElementProperties).
length | Element properties object whose data is stored in the current DTO. |
|
inline |
Creates and returns a new chemical element of the appropriate type.
Referenced by CopyToPlain().
|
inlineprotected |
Copies data to the current DTO from a chemical element properties object.
elementProperties | Chemical element object from which data is copied. |
References IG.Physics.ChemicalElementProperties.AtomicNumber, IG.Physics.ChemicalElementProperties.AtomicWeight, and IG.Physics.ChemicalElementProperties.Symbol.
|
inlineprotected |
Copies data from the current DTO to a chemical element properties object.
elementProperties | Chemical element properties object that data is copied to. |
References AtomicNumber, AtomicWeight, CreateObject(), and Symbol.
|
private |
Referenced by CopyToPlain().
int ChemicalElementPropertiesDto.AtomicNumber |
Referenced by CopyToPlain().
double ChemicalElementPropertiesDto.AtomicWeight |
Referenced by CopyToPlain().