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
ChemicalElementPropertiesDto Class Reference

DTO (Data Transfer Objects) for chemical element properties (the ChemicalElementProperties class). Used to store a state of a chemical element properties object. More...

+ Inheritance diagram for ChemicalElementPropertiesDto:
+ Collaboration diagram for ChemicalElementPropertiesDto:

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
 

Detailed Description

DTO (Data Transfer Objects) for chemical element properties (the ChemicalElementProperties class). Used to store a state of a chemical element properties object.

Template Parameters
ChemicalElementTypeType parameter specifying the specific chemical element type for which concrete DTO is designed.

$A Igor Oct09;

Constructor & Destructor Documentation

ChemicalElementPropertiesDto.ChemicalElementPropertiesDto ( )
inline

Default constructor, sets IsNull to true.

ChemicalElementPropertiesDto.ChemicalElementPropertiesDto ( ChemicalElementProperties  elementProperties)
inline

Constructor, prepares the current DTO for storing a specific chemical element properties object (type ChemicalElementProperties).

Parameters
lengthElement properties object whose data is stored in the current DTO.

Member Function Documentation

override ChemicalElementProperties ChemicalElementPropertiesDto.CreateObject ( )
inline

Creates and returns a new chemical element of the appropriate type.

Referenced by CopyToPlain().

override void ChemicalElementPropertiesDto.CopyFromPlain ( ChemicalElementProperties  elementProperties)
inlineprotected

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

Parameters
elementPropertiesChemical element object from which data is copied.

References IG.Physics.ChemicalElementProperties.AtomicNumber, IG.Physics.ChemicalElementProperties.AtomicWeight, and IG.Physics.ChemicalElementProperties.Symbol.

override void ChemicalElementPropertiesDto.CopyToPlain ( ref ChemicalElementProperties  elementProperties)
inlineprotected

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

Parameters
elementPropertiesChemical element properties object that data is copied to.

References AtomicNumber, AtomicWeight, CreateObject(), and Symbol.

Member Data Documentation

string ChemicalElementPropertiesDto.Symbol
private

Referenced by CopyToPlain().

int ChemicalElementPropertiesDto.AtomicNumber

Referenced by CopyToPlain().

double ChemicalElementPropertiesDto.AtomicWeight

Referenced by CopyToPlain().


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