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

#include <BALL/QSAR/simpleDescriptors.h>

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

Public Member Functions

Constructors and Destructors
 RelNumberOfRotatableBonds ()
 
 RelNumberOfRotatableBonds (const RelNumberOfRotatableBonds &rnrb)
 
virtual ~RelNumberOfRotatableBonds ()
 
Assignment
RelNumberOfRotatableBondsoperator= (const RelNumberOfRotatableBonds &rnrb)
 
Accessors
double compute (AtomContainer &ac)
 
- 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 ()
 

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 returns the fraction of rotatble bonds. It is calculated by deviding the number of rotatable bonds by the number of bonds

Definition at line 967 of file simpleDescriptors.h.

Constructor & Destructor Documentation

BALL::RelNumberOfRotatableBonds::RelNumberOfRotatableBonds ( )

Default constructor

BALL::RelNumberOfRotatableBonds::RelNumberOfRotatableBonds ( const RelNumberOfRotatableBonds rnrb)

Copy constructor

virtual BALL::RelNumberOfRotatableBonds::~RelNumberOfRotatableBonds ( )
virtual

Destructor

Member Function Documentation

double BALL::RelNumberOfRotatableBonds::compute ( AtomContainer ac)
virtual

Reimplemented from BALL::Descriptor.

RelNumberOfRotatableBonds& BALL::RelNumberOfRotatableBonds::operator= ( const RelNumberOfRotatableBonds rnrb)

Assignment operator