4.10 OEAssignMDLHydrogens

void OEAssignMDLHydrogens(OEMolBase &mol)
void OEAssignMDLHydrogens(OEAtomBase *atm)

Set the implicit hydrogen count property of each atom in the molecule, based upon the MDL valence model. This function assumes the that the formal charges are correctly set. This function calls the OEAtomBase::SetImplicitHCount method on each atom with the value returned by OEDefaultMDLHCount. If the charge state of each atom has not been assigned, you should call the OEAssignImplicitHydrogens and OEAssignFormalCharges functions instead.