OEHydrogenCounter

class OEHydrogenCounter

The OEHydrogenCounter class is a utility class used for counting the implicit and explicit hydrogens within a molecule.

Constructors

OEHydrogenCounter(explicitHCount: int = 0, implicitHCount: int = 0) -> OEHydrogenCounter

Constructs a counter with the specified explicit and implicit counts.

GetImplicitHCount

GetImplicitHCount() -> int

Returns the implicit hydrogen count stored in the counter.

GetExplicitHCount

GetExplicitHCount() -> int

Returns the explicit hydrogen count stored in the counter.