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

DTO (data transfer object) for chemical element (ChemicalElement class). More...

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

Public Member Functions

 ChemicalElementQuantityDto ()
 Creates a DTO for storing state of a chemical element with quantity. More...
 
 ChemicalElementQuantityDto (ChemicalElementQuantity element)
 Creates a DTO for storing a chemical element with quantity. More...
 
override ChemicalElementQuantity CreateElement ()
 Creates and returns a new chemical element with quantity. More...
 
- Public Member Functions inherited from IG.Physics.ChemicalElementDtoBase< ChemicalElementType >
 ChemicalElementDtoBase ()
 Default constructor, sets IsNull to true. More...
 
 ChemicalElementDtoBase (ChemicalElementType element)
 Constructor, prepares the current DTO for storing a specific chemical element. More...
 
override ChemicalElementType CreateObject ()
 Creates and returns a new chemical element of the appropriate type. More...
 

Protected Member Functions

override void CopyFromPlain (ChemicalElement element)
 Copies data to the current DTO from a chemical element with quantity object. More...
 
override void CopyToPlain (ref ChemicalElement element)
 Copies data from the current DTO to a chemical element with quantity object. More...
 
- Protected Member Functions inherited from IG.Physics.ChemicalElementDtoBase< ChemicalElementType >
override void CopyFromPlain (ChemicalElement element)
 Copies data to the current DTO from a chemical element object. More...
 
override void CopyToPlain (ref ChemicalElement element)
 Copies data from the current DTO to a chemical element object. More...
 

Private Attributes

double Quantity
 Quantty of chemical element. More...
 

Additional Inherited Members

- Public Attributes inherited from IG.Physics.ChemicalElementDtoBase< ChemicalElementType >
ChemicalElements Element
 Enum of type ChemicalElements specifying which chemical element this is. More...
 
string Symbol
 Chemical element's symbol. More...
 
string Name
 Long name of the chemical element. More...
 
int AtomicNumber
 Atomic number of the chemical element. More...
 
double AtomicWeight
 Standard atomic weight in atomic mass units. More...
 
ChemicalElementPropertiesDto Properties
 

Detailed Description

DTO (data transfer object) for chemical element (ChemicalElement class).

$A Igor Oct09;

Constructor & Destructor Documentation

IG.Physics.ChemicalElementQuantityDto.ChemicalElementQuantityDto ( )
inline

Creates a DTO for storing state of a chemical element with quantity.

IG.Physics.ChemicalElementQuantityDto.ChemicalElementQuantityDto ( ChemicalElementQuantity  element)
inline

Creates a DTO for storing a chemical element with quantity.

Parameters
elementChemical element with quantity that is used as basis for data.

References IG.Physics.ChemicalElementQuantity.Quantity.

Member Function Documentation

override ChemicalElementQuantity IG.Physics.ChemicalElementQuantityDto.CreateElement ( )
inlinevirtual

Creates and returns a new chemical element with quantity.

Implements IG.Physics.ChemicalElementDtoBase< ChemicalElementType >.

override void IG.Physics.ChemicalElementQuantityDto.CopyFromPlain ( ChemicalElement  element)
inlineprotected

Copies data to the current DTO from a chemical element with quantity object.

Parameters
elementChemical element with quabntity object from which data is copied.

References IG.Physics.ChemicalElementQuantity.Quantity.

override void IG.Physics.ChemicalElementQuantityDto.CopyToPlain ( ref ChemicalElement  element)
inlineprotected

Copies data from the current DTO to a chemical element with quantity object.

Parameters
elementChemical element with quantity object that data is copied to.

References IG.Physics.ChemicalElementQuantity.Quantity.

Member Data Documentation

double IG.Physics.ChemicalElementQuantityDto.Quantity
private

Quantty of chemical element.


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