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

#include <BALL/QSAR/descriptor.h>

Inheritance diagram for BALL::Descriptor:
BALL::UnaryProcessor< AtomContainer > BALL::UnaryFunctor< AtomContainer, Processor::Result > BALL::ConnectivityBase BALL::PartialChargeBase BALL::SimpleBase BALL::SurfaceBase BALL::BalabanIndexJ BALL::ZagrebIndex BALL::RelNegativePartialCharge BALL::RelPositivePartialCharge BALL::TotalNegativePartialCharge BALL::TotalPositivePartialCharge BALL::AtomicPolarizabilities BALL::AtomInformationContent BALL::BondPolarizabilities BALL::FormalCharge BALL::MeanAtomInformationContent BALL::MolecularWeight BALL::NumberOfAromaticAtoms BALL::NumberOfAromaticBonds BALL::NumberOfAtoms BALL::NumberOfBonds BALL::NumberOfBoron BALL::NumberOfBromine BALL::NumberOfCarbon BALL::NumberOfChlorine BALL::NumberOfDoubleBonds BALL::NumberOfFlourine BALL::NumberOfHeavyAtoms BALL::NumberOfHeavyBonds BALL::NumberOfHydrogen BALL::NumberOfHydrogenBondAcceptors BALL::NumberOfHydrogenBondDonors BALL::NumberOfHydrophobicAtoms BALL::NumberOfIodine BALL::NumberOfNitrogen BALL::NumberOfOxygen BALL::NumberOfPhosphorus BALL::NumberOfRotatableBonds BALL::NumberOfRotatableSingleBonds BALL::NumberOfSingleBonds BALL::NumberOfSulfur BALL::NumberOfTripleBonds BALL::PrincipalMomentOfInertia BALL::PrincipalMomentOfInertiaX BALL::PrincipalMomentOfInertiaY BALL::PrincipalMomentOfInertiaZ BALL::RelNumberOfRotatableBonds BALL::RelNumberOfRotatableSingleBonds BALL::SizeOfSSSR BALL::VertexAdjacency BALL::VertexAdjacencyEquality BALL::Density BALL::HydrophobicVdWSurface BALL::NegativePolarVdWSurface BALL::NegativeVdWSurface BALL::PolarVdWSurface BALL::PositivePolarVdWSurface BALL::PositiveVdWSurface BALL::RelHydrophobicVdWSurface BALL::RelNegativePolarVdWSurface BALL::RelNegativeVdWSurface BALL::RelPolarVdWSurface BALL::RelPositivePolarVdWSurface BALL::RelPositiveVdWSurface BALL::VdWSurface BALL::VdWVolume

Public Member Functions

Constructors and Destructors
 Descriptor ()
 
 Descriptor (const Descriptor &descriptor)
 
 Descriptor (const String &name)
 
 Descriptor (const String &name, const String &unit)
 
virtual ~Descriptor ()
 
Assignment
Descriptoroperator= (const Descriptor &descriptor)
 
Processor-related methods
Processor::Result operator() (AtomContainer &ac)
 
Accessors
const StringgetName () const
 
void setName (const String &name)
 
void setUnit (const String &name)
 
const StringgetUnit () const
 
virtual double compute (AtomContainer &ac)
 
- Public Member Functions inherited from BALL::UnaryProcessor< AtomContainer >
 UnaryProcessor ()
 
 UnaryProcessor (const UnaryProcessor &)
 
virtual ~UnaryProcessor ()
 
virtual bool start ()
 
virtual bool finish ()
 

Protected Member Functions

virtual void calculate_ (AtomContainer &ac)
 
Predicates
virtual bool isValid_ (AtomContainer &ac)
 

Private Attributes

String name_
 
String unit_
 

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
 

Detailed Description

Generic QSAR molecular descriptor class. \

Definition at line 25 of file descriptor.h.

Constructor & Destructor Documentation

BALL::Descriptor::Descriptor ( )

Default constructor

BALL::Descriptor::Descriptor ( const Descriptor descriptor)

Copy constructor

BALL::Descriptor::Descriptor ( const String name)

Named constructor

BALL::Descriptor::Descriptor ( const String name,
const String unit 
)

Named unit constructor

virtual BALL::Descriptor::~Descriptor ( )
virtual

Destructor

Member Function Documentation

virtual void BALL::Descriptor::calculate_ ( AtomContainer ac)
protectedvirtual
virtual double BALL::Descriptor::compute ( AtomContainer ac)
virtual
const String& BALL::Descriptor::getName ( ) const
const String& BALL::Descriptor::getUnit ( ) const
virtual bool BALL::Descriptor::isValid_ ( AtomContainer ac)
protectedvirtual
Processor::Result BALL::Descriptor::operator() ( AtomContainer )
virtual

operator ()

Reimplemented from BALL::UnaryProcessor< AtomContainer >.

Descriptor& BALL::Descriptor::operator= ( const Descriptor descriptor)

Assignment operator

void BALL::Descriptor::setName ( const String name)
void BALL::Descriptor::setUnit ( const String name)

Member Data Documentation

String BALL::Descriptor::name_
private

Definition at line 121 of file descriptor.h.

String BALL::Descriptor::unit_
private

Definition at line 126 of file descriptor.h.