OEGetHydrogenCountsΒΆ

bool OEGetHydrogenCounts(OEHydrogenCounter& counter, const OEMolBase& mol);

Populates an OEHydrogenCounter object containing the explicit and implicit count of hydrogens in the molecule. Returns true if molecule is valid and counter is populated, false otherwise.