#include <BALL/QSAR/simpleDescriptors.h>
Public Member Functions | |
Constructors and Destructors | |
NumberOfHydrophobicAtoms () | |
NumberOfHydrophobicAtoms (const NumberOfHydrophobicAtoms &nha) | |
NumberOfHydrophobicAtoms (const String &expression) | |
virtual | ~NumberOfHydrophobicAtoms () |
Acessors | |
const String & | getExpression () const |
void | setExpression (const String &expression) |
double | compute (AtomContainer &ac) |
Assignment | |
NumberOfHydrophobicAtoms & | operator= (const NumberOfHydrophobicAtoms &nha) |
Private Attributes | |
String | expression_ |
This descriptor return the number of hydrophobic atoms. If another set of hydrophobic atoms should be considered, another expression can be set via setExpression, with an Expression string as parameter.
BALL::NumberOfHydrophobicAtoms::NumberOfHydrophobicAtoms | ( | ) |
Default constructur
BALL::NumberOfHydrophobicAtoms::NumberOfHydrophobicAtoms | ( | const NumberOfHydrophobicAtoms & | nha | ) |
Copy constructor
BALL::NumberOfHydrophobicAtoms::NumberOfHydrophobicAtoms | ( | const String & | expression | ) |
Expression constructor
virtual BALL::NumberOfHydrophobicAtoms::~NumberOfHydrophobicAtoms | ( | ) | [virtual] |
Destructor
double BALL::NumberOfHydrophobicAtoms::compute | ( | AtomContainer & | ac | ) | [virtual] |
Reimplemented from BALL::Descriptor.
const String& BALL::NumberOfHydrophobicAtoms::getExpression | ( | ) | const |
NumberOfHydrophobicAtoms& BALL::NumberOfHydrophobicAtoms::operator= | ( | const NumberOfHydrophobicAtoms & | nha | ) |
Assignment operator
void BALL::NumberOfHydrophobicAtoms::setExpression | ( | const String & | expression | ) |