OEHydrogenCounter

class OEHydrogenCounter

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

Constructors

OEHydrogenCounter(unsigned int explicitHCount = 0,
                  unsigned int implicitHCount = 0)

Constructs a counter with the specified explicit and implicit counts.

GetImplicitHCount

unsigned int GetImplicitHCount()

Returns the implicit hydrogen count stored in the counter.

GetExplicitHCount

unsigned int GetExplicitHCount()

Returns the explicit hydrogen count stored in the counter.