Logo Search packages:      
Sourcecode: kalzium version File versions  Download package

void Isotope::addData ( ChemicalDataObject  o )

add the ChemicalDataObject o

Definition at line 32 of file isotope.cpp.

References ChemicalDataObject::alphaDecay, ChemicalDataObject::alphaDecayLikeliness, ChemicalDataObject::atomicNumber, ChemicalDataObject::betaminusDecay, ChemicalDataObject::betaminusDecayLikeliness, ChemicalDataObject::betaplusDecay, ChemicalDataObject::betaplusDecayLikeliness, ChemicalDataObject::ecDecay, ChemicalDataObject::ecDecayLikeliness, ChemicalDataObject::exactMass, ChemicalDataObject::halfLife, m_abundance, m_ecdecay, m_eclikeliness, m_halflife, m_identifier, m_magmoment, m_mass, m_parentElementSymbol, m_spin, ChemicalDataObject::magneticMoment, ChemicalDataObject::relativeAbundance, ChemicalDataObject::spin, ChemicalDataObject::symbol, and ChemicalDataObject::type().

{
      if ( o.type() == ChemicalDataObject::exactMass )
            m_mass = o;
      else if ( o.type() == ChemicalDataObject::atomicNumber )
            m_identifier = o;
      else if ( o.type() == ChemicalDataObject::symbol )
            m_parentElementSymbol = o;
      else if ( o.type() == ChemicalDataObject::spin )
            m_spin = o;
      else if ( o.type() == ChemicalDataObject::magneticMoment )
            m_magmoment = o;
      else if ( o.type() == ChemicalDataObject::relativeAbundance )
            m_abundance = o;
      else if ( o.type() == ChemicalDataObject::halfLife )
            m_halflife = o;
      else if ( o.type() == ChemicalDataObject::ecDecay )
            m_ecdecay = o;
      else if ( o.type() == ChemicalDataObject::ecDecayLikeliness )
            m_eclikeliness = o;
      else if ( o.type() == ChemicalDataObject::betaplusDecay )
            m_betaplusdecay = o;
      else if ( o.type() == ChemicalDataObject::betaplusDecayLikeliness )
            m_betapluslikeliness = o;
      else if (  o.type() == ChemicalDataObject::betaminusDecay )
            m_betaminusdecay = o;
      else if (  o.type() == ChemicalDataObject::betaminusDecayLikeliness )
            m_betaminuslikeliness = o;
      else if ( o.type() == ChemicalDataObject::alphaDecay )
            m_alphadecay = o;
      else if ( o.type() == ChemicalDataObject::alphaDecayLikeliness )
            m_alphalikeliness = o;
      
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index