|
Rosetta 3.5
|
A single case of a patch, eg proline Nterminus is a case of NtermProteinFull. More...
#include <Patch.hh>


Public Member Functions | |
| virtual | ~PatchCase () |
| Automatically generated virtual destructor for class deriving directly from ReferenceCount. More... | |
| bool | applies_to (ResidueType const &rsd) const |
| whether the PatchCase is applicable to this ResidueType? More... | |
| virtual ResidueTypeOP | apply (ResidueType const &rsd_in) const |
| returns patched residue, 0 if patch failed More... | |
| void | add_operation (PatchOperationOP operation) |
| add one more operation in this PatchCase More... | |
| ResidueSelector & | selector () |
| to which ResidueTypes this PatchCase applies to? More... | |
Private Attributes | |
| ResidueSelector | selector_ |
| to which ResidueTypes this PatchCase applies to? More... | |
| utility::vector1 < PatchOperationOP > | operations_ |
| operations to done in this PatchCase More... | |
A single case of a patch, eg proline Nterminus is a case of NtermProteinFull.
|
virtual |
|
inline |
add one more operation in this PatchCase
Definition at line 73 of file Patch.hh.
References operations_.
Referenced by core::chemical::apply_adducts_to_residue().
|
inline |
whether the PatchCase is applicable to this ResidueType?
Definition at line 61 of file Patch.hh.
References selector_.
|
virtual |
returns patched residue, 0 if patch failed
First clone the base ResidueType. Then patching for this case is done by applying all the operations. Finally call finalize() to update all primary and derived data for the new ResidueType
Definition at line 249 of file Patch.cc.
References core::chemical::ResidueType::clone(), and operations_.
Referenced by core::chemical::apply_adducts_to_residue().
|
inline |
|
private |
operations to done in this PatchCase
Definition at line 91 of file Patch.hh.
Referenced by add_operation(), and apply().
|
private |
to which ResidueTypes this PatchCase applies to?
Definition at line 89 of file Patch.hh.
Referenced by applies_to(), and selector().
1.8.4