Chemical Data Processing Library Python API - Version 1.2.0
Public Member Functions | Properties | List of all members
CDPL.Pharm.Feature Class Reference

Feature. More...

+ Inheritance diagram for CDPL.Pharm.Feature:

Public Member Functions

None __init__ ()
 Initializes the Feature instance.
 
Pharmacophore getPharmacophore ()
 Returns a reference to the parent pharmacophore. More...
 
int getIndex ()
 Returns the index of the feature in its parent pharmacophore. More...
 
Feature assign (Feature ftr)
 Replaces the current state of self with a copy of the state of the Feature instance ftr. More...
 
Base.Any __getitem__ (Base.LookupKey key)
 
bool __contains__ (Base.LookupKey key)
 Returns the result of the membership test operation key in self. More...
 
None __setitem__ (Base.LookupKey key, Base.Any value)
 
bool __delitem__ (Base.LookupKey key)
 
int __len__ ()
 
- Public Member Functions inherited from CDPL.Base.PropertyContainer
int getObjectID ()
 Returns the numeric identifier (ID) of the wrapped C++ class instance. More...
 
int getNumProperties ()
 Returns the number of property entries. More...
 
Any getPropertyOrDefault (LookupKey key, Any def_value)
 
list getPropertyKeys ()
 
list getPropertyValues ()
 
list getProperties ()
 Returns a reference to itself. More...
 
None setProperty (LookupKey key, Any value)
 
bool removeProperty (LookupKey key)
 Clears the value of the property specified by key. More...
 
Any getProperty (LookupKey key, bool throw_=False)
 Returns the value of the property specified by key. More...
 
bool isPropertySet (LookupKey key)
 Tells whether or not a value has been assigned to the property specified by key. More...
 
None clearProperties ()
 Clears all property values.
 
None addProperties (PropertyContainer cntnr)
 Adds the property value entries in the PropertyContainer instance cntnr. More...
 
None copyProperties (PropertyContainer cntnr)
 Replaces the current set of properties by a copy of the entries in cntnr. More...
 
None swap (PropertyContainer cntnr)
 Exchanges the properties of this container with the properties of the container cntnr. More...
 
Any __getitem__ (LookupKey key)
 
bool __contains__ (LookupKey key)
 Returns the result of the membership test operation key in self. More...
 
None __setitem__ (LookupKey key, Any value)
 
bool __delitem__ (LookupKey key)
 

Properties

 pharmacophore = property(getPharmacophore)
 
 index = property(getIndex)
 
- Properties inherited from CDPL.Base.PropertyContainer
 objectID = property(getObjectID)
 
 propertyKeys = property(getPropertyKeys)
 
 propertyValues = property(getPropertyValues)
 
 properties = property(getProperties)
 
 numProperties = property(getNumProperties)
 

Detailed Description

Feature.

Member Function Documentation

◆ getPharmacophore()

Pharmacophore CDPL.Pharm.Feature.getPharmacophore ( )

Returns a reference to the parent pharmacophore.

Returns
A reference to the parent pharmacophore.

◆ getIndex()

int CDPL.Pharm.Feature.getIndex ( )

Returns the index of the feature in its parent pharmacophore.

Returns
The zero-based index of the feature.

◆ assign()

Feature CDPL.Pharm.Feature.assign ( Feature  ftr)

Replaces the current state of self with a copy of the state of the Feature instance ftr.

Parameters
ftrThe Feature instance to copy.
Returns
self

Reimplemented in CDPL.Pharm.BasicFeature.

◆ __getitem__()

Base.Any CDPL.Pharm.Feature.__getitem__ ( Base.LookupKey  key)
Parameters
key
Returns

Reimplemented from CDPL.Chem.Entity3D.

◆ __contains__()

bool CDPL.Pharm.Feature.__contains__ ( Base.LookupKey  key)

Returns the result of the membership test operation key in self.

Parameters
keyThe value to test for membership.
Returns
The result of the membership test operation.

Reimplemented from CDPL.Chem.Entity3D.

◆ __setitem__()

None CDPL.Pharm.Feature.__setitem__ ( Base.LookupKey  key,
Base.Any  value 
)
Parameters
key
value

Reimplemented from CDPL.Chem.Entity3D.

◆ __delitem__()

bool CDPL.Pharm.Feature.__delitem__ ( Base.LookupKey  key)
Parameters
key
Returns

Reimplemented from CDPL.Chem.Entity3D.

◆ __len__()

int CDPL.Pharm.Feature.__len__ ( )
Returns

Reimplemented from CDPL.Chem.Entity3D.