Chemical Descriptors Library: num_explicit_hydrogens()
Number Explicit Hydrogens

num_explicit_hydrogens()

Prototype

Its an overloaded function
  template <class Molecule>
  size_t num_explicit_hydrogens(typename Molecule::const_atom_iterator ai,const Molecule& m);

  template <class Molecule>
  size_t num_explicit_hydrogens(typename Molecule::vertex_iterator vi, const Molecule& m);

Arguments

ParameterDescriptionModels
ai or vi atom iterator of vertex iterator const_atom_iterator or vertex_iterator
m The molecule CDL's molecule

Description

Returns the number of explicit hydrogens attached to an atom

Definition

#include <morpho/cdl/atom/algorithms/atom_algorithms.hpp>

Preconditions

Complexity

References



Copyright © Vladimir Josef Sykora & Morphochem AG 2003
Copyright © Vladimir Josef Sykora 2003-2006