inRadiusCovalent_(false),
inRadiusVDW_(false),
inBoilingPoint_(false),
- inMeltingPoint_(false)
+ inMeltingPoint_(false),
+ inPeriodTableBlock_(false)
{
}
inMeltingPoint_ = true;
else if (attrs.value(i) == "bo:boilingpoint")
inBoilingPoint_ = true;
+ else if (attrs.value(i) == "bo:periodTableBlock")
+ inPeriodTableBlock_ = true;
}
}
return true;
type = ChemicalDataObject::boilingpoint;
inBoilingPoint_ = false;
}
+ else if (inPeriodTableBlock_) {
+ value = ch;
+ type = ChemicalDataObject::periodTableBlock;
+ inPeriodTableBlock_ = false;
+ }
else//it is a non known value. Do not create a wrong object but return
return true;