| Trees | Indices | Help |
|
|---|
|
|
object --+
|
??.instance --+
|
Bond
The class to store Bonds. Note: unlike Atoms, is it currently impossible to construct Bonds from Python.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Returns the bond's first atom.
C++ signature:
GetBeginAtom(RDKit::Bond {lvalue}) -> RDKit::Atom*
|
Returns the index of the bond's first atom.
C++ signature:
GetBeginAtomIdx(RDKit::Bond {lvalue}) -> unsigned int
|
Returns the type of the bond as a BondDir
C++ signature:
GetBondDir(RDKit::Bond {lvalue}) -> RDKit::Bond::BondDir
|
Returns the type of the bond as a BondType
C++ signature:
GetBondType(RDKit::Bond {lvalue}) -> RDKit::Bond::BondType
|
Returns the bond's second atom.
C++ signature:
GetEndAtom(RDKit::Bond {lvalue}) -> RDKit::Atom*
|
Returns the index of the bond's first atom.
C++ signature:
GetEndAtomIdx(RDKit::Bond {lvalue}) -> unsigned int
|
Returns the bond's index (ordering in the molecule)
C++ signature:
GetIdx(RDKit::Bond {lvalue}) -> unsigned int
|
C++ signature:
GetIsAromatic(RDKit::Bond {lvalue}) -> bool
|
Returns whether or not the bond is considered to be conjugated.
C++ signature:
GetIsConjugated(RDKit::Bond {lvalue}) -> bool
|
Given one of the bond's atoms, returns the other one.
C++ signature:
GetOtherAtom(RDKit::Bond {lvalue}, RDKit::Atom const*) -> RDKit::Atom*
|
Given the index of one of the bond's atoms, returns the
index of the other.
C++ signature:
GetOtherAtomIdx(RDKit::Bond {lvalue}, unsigned int) -> unsigned int
|
Returns the value of the property.
ARGUMENTS:
- key: the name of the property to return (a string).
RETURNS: a string
NOTE:
- If the property has not been set, a KeyError exception will be raised.
C++ signature:
GetProp(RDKit::Bond const*, char const*) -> std::string
|
returns the SMARTS (or SMILES) string for a Bond
C++ signature:
GetSmarts(RDKit::Bond const* bond) -> std::string
|
Returns the CIP-classification of the bond as a BondStereo
C++ signature:
GetStereo(RDKit::Bond {lvalue}) -> RDKit::Bond::BondStereo
|
Returns the indices of the atoms setting this bond's stereochemistry.
C++ signature:
GetStereoAtoms(RDKit::Bond const*) -> std::vector<int, std::allocator<int> >
|
Returns the contribution of the bond to the valence of an Atom.
ARGUMENTS:
- atom: the Atom to consider.
C++ signature:
GetValenceContrib(RDKit::Bond {lvalue}, RDKit::Atom const*) -> double
|
Queries a Bond to see if a particular property has been assigned.
ARGUMENTS:
- key: the name of the property to check for (a string).
C++ signature:
HasProp(RDKit::Bond const*, char const*) -> int
|
Returns whether or not the bond has an associated query
C++ signature:
HasQuery(RDKit::Bond {lvalue}) -> bool
|
Returns whether or not the bond is in a ring of any size.
C++ signature:
IsInRing(RDKit::Bond const*) -> bool
|
Returns whether or not the bond is in a ring of a particular size.
ARGUMENTS:
- size: the ring size to look for
C++ signature:
IsInRingSize(RDKit::Bond const*, int) -> bool
|
Returns whether or not this bond matches another Bond.
Each Bond (or query Bond) has a query function which is
used for this type of matching.
ARGUMENTS:
- other: the other Bond to which to compare
C++ signature:
Match(RDKit::Bond {lvalue}, RDKit::Bond const*) -> bool
|
Set the type of the bond as a BondDir
C++ signature:
SetBondDir(RDKit::Bond {lvalue}, RDKit::Bond::BondDir) -> void*
|
Set the type of the bond as a BondType
C++ signature:
SetBondType(RDKit::Bond {lvalue}, RDKit::Bond::BondType) -> void*
|
C++ signature:
SetIsAromatic(RDKit::Bond {lvalue}, bool) -> void*
|
C++ signature:
SetIsConjugated(RDKit::Bond {lvalue}, bool) -> void*
|
Raises an exception This class cannot be instantiated from Python
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Sat May 24 08:37:05 2008 | http://epydoc.sourceforge.net |