![]() |
Rosetta Core
2014.16.56682
|
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 |
Automatically generated virtual destructor for class deriving directly from ReferenceCount.
Auto-generated virtual destructor
|
inline |
add one more operation in this PatchCase
References operations_.
Referenced by core::chemical::apply_adducts_to_residue().
|
inline |
whether the PatchCase is applicable to this ResidueType?
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.
References core::chemical::ResidueType::clone(), and operations_.
Referenced by core::chemical::apply_adducts_to_residue().
|
inline |
|
private |
operations to done in this PatchCase
Referenced by add_operation(), and apply().
|
private |
to which ResidueTypes this PatchCase applies to?
Referenced by applies_to(), and selector().
1.8.7