BALL  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Private Attributes | List of all members
BALL::NumberOfHydrophobicAtoms Class Reference

#include <BALL/QSAR/simpleDescriptors.h>

Inheritance diagram for BALL::NumberOfHydrophobicAtoms:
BALL::SimpleBase BALL::Descriptor BALL::UnaryProcessor< AtomContainer > BALL::UnaryFunctor< AtomContainer, Processor::Result >

Public Member Functions

Constructors and Destructors
 NumberOfHydrophobicAtoms ()
 
 NumberOfHydrophobicAtoms (const NumberOfHydrophobicAtoms &nha)
 
 NumberOfHydrophobicAtoms (const String &expression)
 
virtual ~NumberOfHydrophobicAtoms ()
 
Acessors
const StringgetExpression () const
 
void setExpression (const String &expression)
 
double compute (AtomContainer &ac)
 
Assignment
NumberOfHydrophobicAtomsoperator= (const NumberOfHydrophobicAtoms &nha)
 
- Public Member Functions inherited from BALL::SimpleBase
 SimpleBase ()
 
 SimpleBase (const SimpleBase &sb)
 
 SimpleBase (const String &name)
 
 SimpleBase (const String &name, const String &unit)
 
virtual ~SimpleBase ()
 
virtual SimpleBaseoperator= (const SimpleBase &sb)
 
void computeAllDescriptors (AtomContainer &ac)
 
void setDataFolder (const char *folder)
 
- Public Member Functions inherited from BALL::Descriptor
 Descriptor ()
 
 Descriptor (const Descriptor &descriptor)
 
 Descriptor (const String &name)
 
 Descriptor (const String &name, const String &unit)
 
virtual ~Descriptor ()
 
Descriptoroperator= (const Descriptor &descriptor)
 
Processor::Result operator() (AtomContainer &ac)
 
const StringgetName () const
 
void setName (const String &name)
 
void setUnit (const String &name)
 
const StringgetUnit () const
 
- Public Member Functions inherited from BALL::UnaryProcessor< AtomContainer >
 UnaryProcessor ()
 
 UnaryProcessor (const UnaryProcessor &)
 
virtual ~UnaryProcessor ()
 
virtual bool start ()
 
virtual bool finish ()
 

Private Attributes

String expression_
 

Additional Inherited Members

- Public Types inherited from BALL::UnaryFunctor< AtomContainer, Processor::Result >
typedef Processor::Result result_type
 
typedef AtomContainer argument_type
 
typedef AtomContainerargument_reference
 
typedef const AtomContainerconst_argument_reference
 
typedef AtomContainerargument_pointer
 
typedef const AtomContainerconst_argument_pointer
 
- Protected Member Functions inherited from BALL::SimpleBase
void calculate_ (AtomContainer &ac)
 
bool isValid_ (AtomContainer &ac)
 
Predicates

Detailed Description

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.

Definition at line 1226 of file simpleDescriptors.h.

Constructor & Destructor Documentation

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

Member Function Documentation

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)

Member Data Documentation

String BALL::NumberOfHydrophobicAtoms::expression_
private

Definition at line 1283 of file simpleDescriptors.h.