Chemical Data Processing Library C++ API - Version 1.4.0
Public Types | Public Member Functions | List of all members
CDPL::Pharm::BasicPharmacophore Class Reference

Concrete Pharm::Pharmacophore implementation that owns its features as Pharm::BasicFeature instances managed through an internal object pool. More...

#include <BasicPharmacophore.hpp>

+ Inheritance diagram for CDPL::Pharm::BasicPharmacophore:

Public Types

typedef std::shared_ptr< BasicPharmacophoreSharedPointer
 A reference-counted smart pointer [SHPTR] for dynamically allocated BasicPharmacophore instances. More...
 
typedef boost::indirect_iterator< FeatureList::iterator, BasicFeatureFeatureIterator
 A mutable random access iterator used to iterate over the stored Pharm::BasicFeature objects. More...
 
typedef boost::indirect_iterator< FeatureList::const_iterator, const BasicFeatureConstFeatureIterator
 A constant random access iterator used to iterate over the stored const Pharm::BasicFeature objects. More...
 
- Public Types inherited from CDPL::Pharm::Pharmacophore
typedef std::shared_ptr< PharmacophoreSharedPointer
 A reference-counted smart pointer [SHPTR] for dynamically allocated Pharmacophore instances. More...
 
typedef FeatureContainer::ConstFeatureIterator ConstFeatureIterator
 A constant random access iterator used to iterate over the stored const Pharm::Feature objects. More...
 
typedef FeatureContainer::FeatureIterator FeatureIterator
 A mutable random access iterator used to iterate over the stored Pharm::Feature objects. More...
 
- Public Types inherited from CDPL::Pharm::FeatureContainer
typedef std::shared_ptr< FeatureContainerSharedPointer
 A reference-counted smart pointer [SHPTR] for dynamically allocated FeatureContainer instances. More...
 
typedef Util::IndexedElementIterator< const Feature, ConstFeatureAccessor > ConstFeatureIterator
 A constant random access iterator used to iterate over the stored const Pharm::Feature objects. More...
 
typedef Util::IndexedElementIterator< Feature, FeatureAccessor > FeatureIterator
 A mutable random access iterator used to iterate over the stored Pharm::Feature objects. More...
 
- Public Types inherited from CDPL::Chem::Entity3DContainer
typedef Util::IndexedElementIterator< const Entity3D, ConstEntityAccessor > ConstEntityIterator
 A constant random access iterator used to iterate over the stored const Chem::Entity3D objects. More...
 
typedef Util::IndexedElementIterator< Entity3D, EntityAccessor > EntityIterator
 A mutable random access iterator used to iterate over the stored Chem::Entity3D objects. More...
 
- Public Types inherited from CDPL::Base::PropertyContainer
typedef PropertyMap::value_type PropertyEntry
 A Base::LookupKey / Base::Any pair that stores the property value for a given property key. More...
 
typedef PropertyMap::const_iterator ConstPropertyIterator
 A constant iterator used to iterate over the property entries. More...
 

Public Member Functions

 BasicPharmacophore ()
 Constructs an empty BasicPharmacophore instance. More...
 
 BasicPharmacophore (const BasicPharmacophore &pharm)
 Constructs a copy of the BasicPharmacophore instance pharm. More...
 
 BasicPharmacophore (const Pharmacophore &pharm)
 Constructs a copy of the Pharm::Pharmacophore instance pharm. More...
 
 BasicPharmacophore (const FeatureContainer &cntnr)
 Constructs a BasicPharmacophore instance with copies of the features in the Pharm::FeatureContainer instance cntnr. More...
 
 ~BasicPharmacophore ()
 Destructor. More...
 
void clear ()
 Removes all stored features and clears all properties. More...
 
std::size_t getNumFeatures () const
 Returns the number of features. More...
 
ConstFeatureIterator getFeaturesBegin () const
 Returns a constant iterator pointing to the beginning of the features. More...
 
FeatureIterator getFeaturesBegin ()
 Returns a mutable iterator pointing to the beginning of the features. More...
 
ConstFeatureIterator getFeaturesEnd () const
 Returns a constant iterator pointing to the end of the features. More...
 
FeatureIterator getFeaturesEnd ()
 Returns a mutable iterator pointing to the end of the features. More...
 
const BasicFeaturegetFeature (std::size_t idx) const
 Returns a const reference to the feature at index idx. More...
 
BasicFeaturegetFeature (std::size_t idx)
 Returns a non-const reference to the feature at index idx. More...
 
BasicFeatureaddFeature ()
 Allocates a new Pharm::BasicFeature in this pharmacophore and returns a reference to it. More...
 
void removeFeature (std::size_t idx)
 Removes the feature at index idx. More...
 
FeatureIterator removeFeature (const FeatureIterator &it)
 Removes the feature specified by the iterator it. More...
 
bool containsFeature (const Feature &feature) const
 Tells whether the specified feature is part of this pharmacophore. More...
 
std::size_t getFeatureIndex (const Feature &feature) const
 Returns the zero-based index of feature in this pharmacophore. More...
 
BasicPharmacophoreoperator= (const BasicPharmacophore &pharm)
 Replaces the current set of features by a copy of the features and properties of the pharmacophore pharm. More...
 
BasicPharmacophoreoperator+= (const BasicPharmacophore &pharm)
 Extends the current set of features by a copy of the features in the pharmacophore pharm. More...
 
Pharmacophore::SharedPointer clone () const
 Creates a deep copy of this pharmacophore. More...
 
void copy (const BasicPharmacophore &pharm)
 Replaces the current set of features and properties by a copy of the features and properties of the pharmacophore pharm. More...
 
void copy (const Pharmacophore &pharm)
 Replaces the current set of features and properties by a copy of the features and properties of pharm. More...
 
void copy (const FeatureContainer &cntnr)
 Replaces the current set of features by copies of the features in the feature container cntnr. More...
 
void append (const BasicPharmacophore &pharm)
 Extends the current set of features by a copy of the features in the pharmacophore pharm. More...
 
void append (const Pharmacophore &pharm)
 Extends the current set of features by copies of the features in pharm. More...
 
void append (const FeatureContainer &cntnr)
 Extends the current set of features by copies of the features in cntnr. More...
 
void remove (const FeatureContainer &cntnr)
 Removes the features stored in cntnr from this pharmacophore. More...
 
void orderFeatures (const FeatureCompareFunction &func)
 Orders the stored features according to func. More...
 
Pharmacophoreoperator= (const Pharmacophore &pharm)
 Replaces the current set of pharmacophore features and properties by a copy of the features and properties of the pharmacophore pharm. More...
 
Pharmacophoreoperator= (const FeatureContainer &cntnr)
 Replaces the current set of pharmacophore features and properties by a copy of the features and properties of the feature container cntnr. More...
 
Pharmacophoreoperator+= (const Pharmacophore &pharm)
 Extends the current set of pharmacophore features by a copy of the features in the pharmacophore pharm. More...
 
Pharmacophoreoperator+= (const FeatureContainer &cntnr)
 Extends the current set of pharmacophore features by a copy of the features in the feature container cntnr. More...
 
- Public Member Functions inherited from CDPL::Pharm::Pharmacophore
virtual ~Pharmacophore ()
 Virtual destructor. More...
 
FeatureIterator removeFeature (const FeatureIterator &it)
 Removes the pharmacophore feature specified by the iterator it. More...
 
Pharmacophoreoperator= (const Pharmacophore &pharm)
 Replaces the current set of pharmacophore features and properties by a copy of the features and properties of the pharmacophore pharm. More...
 
Pharmacophoreoperator= (const FeatureContainer &cntnr)
 Replaces the current set of pharmacophore features and properties by a copy of the features and properties of the feature container cntnr. More...
 
Pharmacophoreoperator+= (const Pharmacophore &pharm)
 Extends the current set of pharmacophore features by a copy of the features in the pharmacophore pharm. More...
 
Pharmacophoreoperator+= (const FeatureContainer &cntnr)
 Extends the current set of pharmacophore features by a copy of the features in the feature container cntnr. More...
 
Pharmacophoreoperator-= (const FeatureContainer &cntnr)
 Removes the pharmacophore features referenced by the feature container cntnr from this Pharmacophore instance. More...
 
ConstFeatureIterator getFeaturesBegin () const
 Returns a constant iterator pointing to the beginning of the stored const Pharm::Feature objects. More...
 
FeatureIterator getFeaturesBegin ()
 Returns a mutable iterator pointing to the beginning of the stored Pharm::Feature objects. More...
 
ConstFeatureIterator getFeaturesEnd () const
 Returns a constant iterator pointing to the end of the stored const Pharm::Feature objects. More...
 
FeatureIterator getFeaturesEnd ()
 Returns a mutable iterator pointing to the end of the stored Pharm::Feature objects. More...
 
- Public Member Functions inherited from CDPL::Pharm::FeatureContainer
virtual ~FeatureContainer ()
 Virtual destructor. More...
 
ConstFeatureIterator getFeaturesBegin () const
 Returns a constant iterator pointing to the beginning of the stored const Pharm::Feature objects. More...
 
ConstFeatureIterator getFeaturesEnd () const
 Returns a constant iterator pointing to the end of the stored const Pharm::Feature objects. More...
 
FeatureIterator getFeaturesBegin ()
 Returns a mutable iterator pointing to the beginning of the stored Pharm::Feature objects. More...
 
FeatureIterator getFeaturesEnd ()
 Returns a mutable iterator pointing to the end of the stored Pharm::Feature objects. More...
 
ConstFeatureIterator begin () const
 Returns a constant iterator pointing to the beginning of the stored const Pharm::Feature objects. More...
 
ConstFeatureIterator end () const
 Returns a constant iterator pointing to the end of the stored const Pharm::Feature objects. More...
 
FeatureIterator begin ()
 Returns a mutable iterator pointing to the beginning of the stored Pharm::Feature objects. More...
 
FeatureIterator end ()
 Returns a mutable iterator pointing to the end of the stored Pharm::Feature objects. More...
 
virtual std::size_t getNumEntities () const
 Returns the number of stored Chem::Entity3D objects. More...
 
virtual const Chem::Entity3DgetEntity (std::size_t idx) const
 Returns a const reference to the Chem::Entity3D at index idx. More...
 
virtual Chem::Entity3DgetEntity (std::size_t idx)
 Returns a non-const reference to the Chem::Entity3D at index idx. More...
 
- Public Member Functions inherited from CDPL::Chem::Entity3DContainer
ConstEntityIterator getEntitiesBegin () const
 Returns a constant iterator pointing to the beginning of the stored const Chem::Entity3D objects. More...
 
ConstEntityIterator getEntitiesEnd () const
 Returns a constant iterator pointing to the end of the stored const Chem::Entity3D objects. More...
 
EntityIterator getEntitiesBegin ()
 Returns a mutable iterator pointing to the beginning of the stored Chem::Entity3D objects. More...
 
EntityIterator getEntitiesEnd ()
 Returns a mutable iterator pointing to the end of the stored Chem::Entity3D objects. More...
 
ConstEntityIterator begin () const
 Returns a constant iterator pointing to the beginning of the stored const Chem::Entity3D objects. More...
 
ConstEntityIterator end () const
 Returns a constant iterator pointing to the end of the stored const Chem::Entity3D objects. More...
 
EntityIterator begin ()
 Returns a mutable iterator pointing to the beginning of the stored Chem::Entity3D objects. More...
 
EntityIterator end ()
 Returns a mutable iterator pointing to the end of the stored Chem::Entity3D objects. More...
 
const Entity3DContainergetEntities () const
 Returns a const reference to itself. More...
 
Entity3DContainergetEntities ()
 Returns a reference to itself. More...
 
- Public Member Functions inherited from CDPL::Base::PropertyContainer
std::size_t getNumProperties () const
 Returns the number of property entries. More...
 
template<typename T >
void setProperty (const LookupKey &key, T &&val)
 Sets the value of the property specified by key to val. More...
 
template<typename T >
const T & getProperty (const LookupKey &key) const
 Returns the value of the property specified by key as a const reference to an object of type T. More...
 
template<typename T >
const T & getPropertyOrDefault (const LookupKey &key, const T &def_val) const
 Returns the value of the property specified by key as a const reference to an object of type T, or the default value def_val if a stored value does not exist. More...
 
const AnygetProperty (const LookupKey &key, bool throw_=false) const
 Returns the value of the property specified by key. More...
 
bool isPropertySet (const LookupKey &key) const
 Tells whether or not a value has been assigned to the property specified by key. More...
 
ConstPropertyIterator getPropertiesBegin () const
 Returns a constant iterator pointing to the beginning of the property entries. More...
 
ConstPropertyIterator getPropertiesEnd () const
 Returns a constant iterator pointing to the end of the property entries. More...
 
ConstPropertyIterator begin () const
 Returns a constant iterator pointing to the beginning of the property entries. More...
 
ConstPropertyIterator end () const
 Returns a constant iterator pointing to the end of the property entries. More...
 
bool removeProperty (const LookupKey &key)
 Clears the value of the property specified by key. More...
 
void clearProperties ()
 Clears all property values. More...
 
void addProperties (const PropertyContainer &cntnr)
 Adds the property value entries in the PropertyContainer instance cntnr. More...
 
void copyProperties (const PropertyContainer &cntnr)
 Replaces the current set of properties by a copy of the entries in cntnr. More...
 
void swap (PropertyContainer &cntnr)
 Exchanges the properties of this container with the properties of the container cntnr. More...
 
const PropertyContainergetProperties () const
 Returns a const reference to itself. More...
 

Additional Inherited Members

- Protected Member Functions inherited from CDPL::Pharm::FeatureContainer
FeatureContaineroperator= (const FeatureContainer &cntnr)
 Replaces the current set of pharmacophore features and properties by a copy of the features and properties of the container cntnr. More...
 
- Protected Member Functions inherited from CDPL::Chem::Entity3DContainer
virtual ~Entity3DContainer ()
 Virtual destructor. More...
 
Entity3DContaineroperator= (const Entity3DContainer &cntnr)
 Assignment operator. More...
 
- Protected Member Functions inherited from CDPL::Base::PropertyContainer
 PropertyContainer ()
 Constructs an empty PropertyContainer instance. More...
 
 PropertyContainer (const PropertyContainer &cntnr)
 Constructs a copy of the PropertyContainer instance cntnr. More...
 
virtual ~PropertyContainer ()
 Virtual destructor. More...
 
PropertyContaineroperator= (const PropertyContainer &cntnr)
 Assignment operator. More...
 

Detailed Description

Concrete Pharm::Pharmacophore implementation that owns its features as Pharm::BasicFeature instances managed through an internal object pool.

Member Typedef Documentation

◆ SharedPointer

A reference-counted smart pointer [SHPTR] for dynamically allocated BasicPharmacophore instances.

◆ FeatureIterator

typedef boost::indirect_iterator<FeatureList::iterator, BasicFeature> CDPL::Pharm::BasicPharmacophore::FeatureIterator

A mutable random access iterator used to iterate over the stored Pharm::BasicFeature objects.

◆ ConstFeatureIterator

typedef boost::indirect_iterator<FeatureList::const_iterator, const BasicFeature> CDPL::Pharm::BasicPharmacophore::ConstFeatureIterator

A constant random access iterator used to iterate over the stored const Pharm::BasicFeature objects.

Constructor & Destructor Documentation

◆ BasicPharmacophore() [1/4]

CDPL::Pharm::BasicPharmacophore::BasicPharmacophore ( )

Constructs an empty BasicPharmacophore instance.

◆ BasicPharmacophore() [2/4]

CDPL::Pharm::BasicPharmacophore::BasicPharmacophore ( const BasicPharmacophore pharm)

Constructs a copy of the BasicPharmacophore instance pharm.

Parameters
pharmThe other BasicPharmacophore instance to copy.

◆ BasicPharmacophore() [3/4]

CDPL::Pharm::BasicPharmacophore::BasicPharmacophore ( const Pharmacophore pharm)

Constructs a copy of the Pharm::Pharmacophore instance pharm.

Parameters
pharmThe other Pharm::Pharmacophore instance to copy.

◆ BasicPharmacophore() [4/4]

CDPL::Pharm::BasicPharmacophore::BasicPharmacophore ( const FeatureContainer cntnr)
explicit

Constructs a BasicPharmacophore instance with copies of the features in the Pharm::FeatureContainer instance cntnr.

Parameters
cntnrThe Pharm::FeatureContainer instance with the features to copy.

◆ ~BasicPharmacophore()

CDPL::Pharm::BasicPharmacophore::~BasicPharmacophore ( )

Destructor.

Destroys the BasicPharmacophore instance and frees all allocated resources.

Member Function Documentation

◆ clear()

void CDPL::Pharm::BasicPharmacophore::clear ( )
virtual

Removes all stored features and clears all properties.

Implements CDPL::Pharm::Pharmacophore.

◆ getNumFeatures()

std::size_t CDPL::Pharm::BasicPharmacophore::getNumFeatures ( ) const
virtual

Returns the number of features.

Returns
The number of features.

Implements CDPL::Pharm::Pharmacophore.

◆ getFeaturesBegin() [1/2]

ConstFeatureIterator CDPL::Pharm::BasicPharmacophore::getFeaturesBegin ( ) const

Returns a constant iterator pointing to the beginning of the features.

Returns
A constant iterator pointing to the beginning of the features.

◆ getFeaturesBegin() [2/2]

FeatureIterator CDPL::Pharm::BasicPharmacophore::getFeaturesBegin ( )

Returns a mutable iterator pointing to the beginning of the features.

Returns
A mutable iterator pointing to the beginning of the features.

◆ getFeaturesEnd() [1/2]

ConstFeatureIterator CDPL::Pharm::BasicPharmacophore::getFeaturesEnd ( ) const

Returns a constant iterator pointing to the end of the features.

Returns
A constant iterator pointing to the end of the features.

◆ getFeaturesEnd() [2/2]

FeatureIterator CDPL::Pharm::BasicPharmacophore::getFeaturesEnd ( )

Returns a mutable iterator pointing to the end of the features.

Returns
A mutable iterator pointing to the end of the features.

◆ getFeature() [1/2]

const BasicFeature& CDPL::Pharm::BasicPharmacophore::getFeature ( std::size_t  idx) const
virtual

Returns a const reference to the feature at index idx.

Parameters
idxThe zero-based feature index.
Returns
A const reference to the feature at the specified index.
Exceptions
Base::IndexErrorif the number of features is zero or idx is not in the range [0, getNumFeatures() - 1].

Implements CDPL::Pharm::Pharmacophore.

◆ getFeature() [2/2]

BasicFeature& CDPL::Pharm::BasicPharmacophore::getFeature ( std::size_t  idx)
virtual

Returns a non-const reference to the feature at index idx.

Parameters
idxThe zero-based feature index.
Returns
A non-const reference to the feature at the specified index.
Exceptions
Base::IndexErrorif the number of features is zero or idx is not in the range [0, getNumFeatures() - 1].

Implements CDPL::Pharm::Pharmacophore.

◆ addFeature()

BasicFeature& CDPL::Pharm::BasicPharmacophore::addFeature ( )
virtual

Allocates a new Pharm::BasicFeature in this pharmacophore and returns a reference to it.

Returns
A reference to the newly created feature.

Implements CDPL::Pharm::Pharmacophore.

◆ removeFeature() [1/2]

void CDPL::Pharm::BasicPharmacophore::removeFeature ( std::size_t  idx)
virtual

Removes the feature at index idx.

Parameters
idxThe zero-based feature index.
Exceptions
Base::IndexErrorif the number of features is zero or idx is not in the range [0, getNumFeatures() - 1].

Implements CDPL::Pharm::Pharmacophore.

◆ removeFeature() [2/2]

FeatureIterator CDPL::Pharm::BasicPharmacophore::removeFeature ( const FeatureIterator it)

Removes the feature specified by the iterator it.

Parameters
itAn iterator that specifies the feature to remove.
Returns
A mutable iterator pointing to the next feature in the list.
Exceptions
Base::RangeErrorif the number of features is zero or it is not in the range [getFeaturesBegin(), getFeaturesEnd() - 1].

◆ containsFeature()

bool CDPL::Pharm::BasicPharmacophore::containsFeature ( const Feature feature) const
virtual

Tells whether the specified feature is part of this pharmacophore.

Parameters
featureThe feature to look for.
Returns
true if feature is stored in the pharmacophore, and false otherwise.

Implements CDPL::Pharm::Pharmacophore.

◆ getFeatureIndex()

std::size_t CDPL::Pharm::BasicPharmacophore::getFeatureIndex ( const Feature feature) const
virtual

Returns the zero-based index of feature in this pharmacophore.

Parameters
featureThe feature for which to return the index.
Returns
The zero-based feature index.
Exceptions
Base::ItemNotFoundif feature is not stored in this pharmacophore.

Implements CDPL::Pharm::Pharmacophore.

◆ operator=() [1/3]

BasicPharmacophore& CDPL::Pharm::BasicPharmacophore::operator= ( const BasicPharmacophore pharm)

Replaces the current set of features by a copy of the features and properties of the pharmacophore pharm.

Internally calls copy() to perform the actual work.

Parameters
pharmThe pharmacophore to copy.
Returns
A reference to itself.

◆ operator+=() [1/3]

BasicPharmacophore& CDPL::Pharm::BasicPharmacophore::operator+= ( const BasicPharmacophore pharm)

Extends the current set of features by a copy of the features in the pharmacophore pharm.

Internally calls append() to perform the actual work.

Parameters
pharmThe pharmacophore providing the features to append.
Returns
A reference to itself.

◆ clone()

Pharmacophore::SharedPointer CDPL::Pharm::BasicPharmacophore::clone ( ) const
virtual

Creates a deep copy of this pharmacophore.

Returns
A smart pointer to the new BasicPharmacophore copy.

Implements CDPL::Pharm::Pharmacophore.

◆ copy() [1/3]

void CDPL::Pharm::BasicPharmacophore::copy ( const BasicPharmacophore pharm)

Replaces the current set of features and properties by a copy of the features and properties of the pharmacophore pharm.

Parameters
pharmThe pharmacophore to copy.

◆ copy() [2/3]

void CDPL::Pharm::BasicPharmacophore::copy ( const Pharmacophore pharm)
virtual

Replaces the current set of features and properties by a copy of the features and properties of pharm.

Parameters
pharmThe pharmacophore to copy.

Implements CDPL::Pharm::Pharmacophore.

◆ copy() [3/3]

void CDPL::Pharm::BasicPharmacophore::copy ( const FeatureContainer cntnr)
virtual

Replaces the current set of features by copies of the features in the feature container cntnr.

Parameters
cntnrThe feature container providing the features to copy.

Implements CDPL::Pharm::Pharmacophore.

◆ append() [1/3]

void CDPL::Pharm::BasicPharmacophore::append ( const BasicPharmacophore pharm)

Extends the current set of features by a copy of the features in the pharmacophore pharm.

Parameters
pharmThe pharmacophore providing the features to append.
Note
Does not affect any properties.

◆ append() [2/3]

void CDPL::Pharm::BasicPharmacophore::append ( const Pharmacophore pharm)
virtual

Extends the current set of features by copies of the features in pharm.

Parameters
pharmThe pharmacophore providing the features to append.
Note
Does not affect any properties.

Implements CDPL::Pharm::Pharmacophore.

◆ append() [3/3]

void CDPL::Pharm::BasicPharmacophore::append ( const FeatureContainer cntnr)
virtual

Extends the current set of features by copies of the features in cntnr.

Parameters
cntnrThe feature container providing the features to append.
Note
Does not affect any properties.

Implements CDPL::Pharm::Pharmacophore.

◆ remove()

void CDPL::Pharm::BasicPharmacophore::remove ( const FeatureContainer cntnr)
virtual

Removes the features stored in cntnr from this pharmacophore.

Parameters
cntnrThe feature container providing the features to remove.
Note
Does not affect any properties.

Implements CDPL::Pharm::Pharmacophore.

◆ orderFeatures()

void CDPL::Pharm::BasicPharmacophore::orderFeatures ( const FeatureCompareFunction func)
virtual

Orders the stored features according to func.

Parameters
funcThe comparison function used as the ordering predicate.

Implements CDPL::Pharm::FeatureContainer.

◆ operator=() [2/3]

Pharmacophore& CDPL::Pharm::Pharmacophore::operator=

Replaces the current set of pharmacophore features and properties by a copy of the features and properties of the pharmacophore pharm.

Internally calls copy() to perform the actual work.

Parameters
pharmThe pharmacophore to copy.
Returns
A reference to itself.

◆ operator=() [3/3]

Pharmacophore& CDPL::Pharm::Pharmacophore::operator=

Replaces the current set of pharmacophore features and properties by a copy of the features and properties of the feature container cntnr.

Internally calls copy() to perform the actual work.

Parameters
cntnrThe Pharm::FeatureContainer instance providing the features and properties to copy.
Returns
A reference to itself.

◆ operator+=() [2/3]

Pharmacophore& CDPL::Pharm::Pharmacophore::operator+=

Extends the current set of pharmacophore features by a copy of the features in the pharmacophore pharm.

Internally calls append() to perform the actual work.

Parameters
pharmThe pharmacophore providing the features to append.
Returns
A reference to itself.

◆ operator+=() [3/3]

Pharmacophore& CDPL::Pharm::Pharmacophore::operator+=

Extends the current set of pharmacophore features by a copy of the features in the feature container cntnr.

Internally calls append() to perform the actual work.

Parameters
cntnrThe Pharm::FeatureContainer instance providing the features to append.
Returns
A reference to itself.

The documentation for this class was generated from the following file: