Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

NumberOfHydrogenBondDonors Class Reference

This descriptor returns the number of the hydrogen bond donors of the molecule. More...

#include <simpleDescriptors.h>

Inheritance diagram for NumberOfHydrogenBondDonors:

SimpleBase Descriptor UnaryProcessor< AtomContainer > UnaryFunctor< AtomContainer, Processor::Result > List of all members.

Public Member Functions

Constructors and Destructors
 NumberOfHydrogenBondDonors ()
 Default constructor.
 NumberOfHydrogenBondDonors (const NumberOfHydrogenBondDonors &nhbd)
 Copy constructor.
 NumberOfHydrogenBondDonors (const String &expression)
 Expression constructor.
virtual ~NumberOfHydrogenBondDonors ()
 Destructor.
Accessors
void setExpression (const String &expression)
const StringgetExpression () const
double compute (AtomContainer &ac)
Assignment
NumberOfHydrogenBondDonorsoperator= (const NumberOfHydrogenBondDonors &nhbd)
 Assignment operator.

Detailed Description

This descriptor returns the number of the hydrogen bond donors of the molecule.

If another set of atoms want to be used, it can be set via {setExpression}, with an Expression string as parameter.