Chemical Descriptors Library: num_implicit_hydrogens()
Number Implicit Hydrogens

num_implicit_hydrogens

Prototype

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

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

Arguments

ParameterDescriptionModels
ai, vi Atom iterator or vertex iterator const_atom_iterator or vertex_iterator
m The molecule CDL's molecule

Description

Returns the number of implicit 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