crystalstructure/**< own, bcc, hdp, ccp, hcp, fcc, d, sc, tet, rh, or, mono*/,
electronicConfiguration/**< the electronic configuration, for example 1s2 for He*/,
group/**< This is a value between 1 and 8*/,
- density/**< The density */,
nameOrigin/**< the origin of the name */,
orbit/**< the quantumorbit of the element */,
period/**< the period of the element */,
inFamily( false ),
inGroup( false ),
inElectronicconfiguration( false ),
- inDensity( false ),
inDangerSymbol( false ),
inRPhrase( false ),
inSPhrase( false ),
bool inFamily;
bool inGroup;
bool inElectronicconfiguration;
- bool inDensity;
bool inDangerSymbol;
bool inRPhrase;
bool inSPhrase;
d->inGroup = true;
else if (attrs.value(i) == "bo:electronicConfiguration")
d->inElectronicconfiguration = true;
- else if (attrs.value(i) == "bo:density")
- d->inDensity = true;
else if (attrs.value(i) == "bo:dangerSymbol")
d->inDangerSymbol = true;
else if (attrs.value(i) == "bo:RPhrase")
type = ChemicalDataObject::electronicConfiguration;
d->inElectronicconfiguration = false;
}
- else if (d->inDensity){
- value = ch.toDouble();
- type = ChemicalDataObject::density;
- d->inDensity = false;
- }
else if (d->inDangerSymbol){
value = ch;
type = ChemicalDataObject::dangerSymbol;