|
Rosetta
|
A class representing a substitution of an atom from an original molecule through a pair of matched templates to a substituted molecule. Intended to be used through MoleculeSubstitution. More...
#include <substitution_support.hh>
Public Member Functions | |
| AtomSubstitution (unsigned int mdx=invalid_index, unsigned int tdx=invalid_index, unsigned int rdx=invalid_index, unsigned int ndx=invalid_index) | |
| unsigned int | idx (MoleculeSelection sele) const |
| unsigned int | mdx () const |
| The atom index in the original molecule. More... | |
| unsigned int | tdx () const |
| The atom index in the template which matches the original molecule. More... | |
| unsigned int | rdx () const |
| The atom index in the replacement template. More... | |
| unsigned int | ndx () const |
| The atom index in the new (post-replacement) molecule. More... | |
| void | set_idx (MoleculeSelection sele, unsigned int setting) |
| void | set_mdx (unsigned int setting) |
| void | set_tdx (unsigned int setting) |
| void | set_rdx (unsigned int setting) |
| void | set_ndx (unsigned int setting) |
Static Public Attributes | |
| static unsigned int const | invalid_index =65500 |
Private Attributes | |
| unsigned int | mdx_ |
| unsigned int | tdx_ |
| unsigned int | rdx_ |
| unsigned int | ndx_ |
A class representing a substitution of an atom from an original molecule through a pair of matched templates to a substituted molecule. Intended to be used through MoleculeSubstitution.
|
inline |
| unsigned int protocols::drug_design::AtomSubstitution::idx | ( | MoleculeSelection | sele | ) | const |
|
inline |
The atom index in the original molecule.
References mdx_.
Referenced by protocols::drug_design::SubstructureReplace::apply(), and idx().
|
inline |
The atom index in the new (post-replacement) molecule.
References ndx_.
Referenced by protocols::drug_design::SubstructureReplace::apply(), protocols::drug_design::copy_attached_atoms(), and idx().
|
inline |
The atom index in the replacement template.
References rdx_.
Referenced by protocols::drug_design::SubstructureReplace::apply(), and idx().
| void protocols::drug_design::AtomSubstitution::set_idx | ( | MoleculeSelection | sele, |
| unsigned int | setting | ||
| ) |
|
inline |
|
inline |
References ndx_.
Referenced by protocols::drug_design::SubstructureReplace::apply(), protocols::drug_design::copy_attached_atoms(), and set_idx().
|
inline |
|
inline |
|
inline |
|
static |
Referenced by protocols::drug_design::SubstituentReplace::apply(), protocols::drug_design::SubstructureReplace::apply(), protocols::drug_design::copy_attached_atoms(), protocols::drug_design::MoleculeSubstitution::find_mdx_to_ndx_mapping(), idx(), protocols::drug_design::MoleculeSubstitution::make_match_vector(), protocols::drug_design::SubstituentReplace::pick_replacement(), and protocols::drug_design::test_replacement().
|
private |
|
private |
|
private |
|
private |