|
IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
DTO (Data Transfer Objects) for chemical element properties (the ChemicalCompound class). Used to store a state of a chemical element properties object. More...
Inheritance diagram for ChemicalCompoundDto:
Collaboration diagram for ChemicalCompoundDto:Public Member Functions | |
| ChemicalCompoundDto () | |
| Default constructor, sets IsNull to true. More... | |
| ChemicalCompoundDto (ChemicalCompound elementProperties) | |
| Constructor, prepares the current DTO for storing a specific chemical element properties object (type ChemicalCompound). More... | |
| override ChemicalCompound | CreateObject () |
| Creates and returns a new chemical compound. More... | |
Protected Member Functions | |
| override void | CopyFromPlain (ChemicalCompound compound) |
| Copies data to the current DTO from a chemical compound object. More... | |
| override void | CopyToPlain (ref ChemicalCompound compound) |
| Copies data from the current DTO to a chemical compound object. More... | |
Private Attributes | |
| int | NumElements |
| ChemicalElementQuantityDto[] | Elements |
DTO (Data Transfer Objects) for chemical element properties (the ChemicalCompound class). Used to store a state of a chemical element properties object.
| ChemicalCompoundType | Type parameter specifying the specific chemical element type for which concrete DTO is designed. |
$A Igor Nov09;
|
inline |
Default constructor, sets IsNull to true.
|
inline |
Constructor, prepares the current DTO for storing a specific chemical element properties object (type ChemicalCompound).
| length | Element properties object whose data is stored in the current DTO. |
|
inline |
Creates and returns a new chemical compound.
Referenced by CopyToPlain().
|
inlineprotected |
Copies data to the current DTO from a chemical compound object.
| compound | Chemical compound object from which data is copied. |
References IG.Physics.ChemicalCompound.GetElements(), and IG.Physics.ChemicalCompound.NumElements.
|
inlineprotected |
Copies data from the current DTO to a chemical compound object.
| compound | Chemical compound object that data is copied to. |
References CreateObject(), and IG.Physics.ChemicalElementDtoBase< ChemicalElementType >.CreateObject().
|
private |
|
private |