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

NumberOfHydrogenBondAcceptors Class Reference

This descriptor returns the number of hydrogen bonds acceptor atoms. More...

#include <simpleDescriptors.h>

Inheritance diagram for NumberOfHydrogenBondAcceptors:

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

Public Member Functions

Constructors and Destructors
 NumberOfHydrogenBondAcceptors ()
 Default constructor.
 NumberOfHydrogenBondAcceptors (const NumberOfHydrogenBondAcceptors &nhba)
 Copy constructor.
 NumberOfHydrogenBondAcceptors (const String &expression)
 Expression constructor.
virtual ~NumberOfHydrogenBondAcceptors ()
 Destructor.
const StringgetExpression () const
void setExpression (const String &expression)
double compute (AtomContainer &ac)
Assignment
NumberOfHydrogenBondAcceptorsoperator= (const NumberOfHydrogenBondAcceptors &nhba)
 Assignment operator.

Detailed Description

This descriptor returns the number of hydrogen bonds acceptor atoms.

If other set of atoms should be considered as hydrogen bond acceptors then this can be set via setExpression with an Expression string as parameter.