3.1.14 GetImplicitHCount

virtual unsigned int GetImplicitHCount() const

Return the number of implicit hydrogens attached to atom. The default value is zero. The ``implicit hydrogen count'' property may be set using the OEAtomBase::SetImplicitHCount method. Implicit hydrogen counts may also be set on a molecule using the function OEAssignImplicitHydrogens. The implicit hydrogen count property of an atom is a stored, not a computed, property. To calculate a reasonable implicit hydrogen count for an atom from connectivity, use the function OEDefaultImplicitHCount.

To convert explicit hydrogens to implicit hydrogens, use the OEChem function OESupressHydrogens, and to convert implicit hydrogens to explicit hydrogens, use the function OEAddExplicitHydrogens.