![]() |
Rosetta
2020.11
|
A patch operation for clearing all rotamer bins from the chi of a ResidueType. More...
#include <PatchOperation.hh>
Public Member Functions | |
ClearChiRotamers (core::uint const chi_no_in) | |
bool | apply (MutableResidueType &rsd) const override |
Apply this patch to the given ResidueType. More... | |
std::string | name () const override |
Return the name of this PatchOperation ("ClearChiRotamers"). More... | |
![]() | |
~PatchOperation () override | |
Automatically generated virtual destructor for class deriving directly from ReferenceCount. More... | |
virtual std::string | adds_atom () |
Which atom, if any, is added. Used for fast matching of ResidueType/Patches to PDB residues. More... | |
virtual std::string | deletes_atom () |
Which atom, if any, is deleted. Used for fast matching of ResidueType/Patches to PDB residues. More... | |
virtual std::string | adds_property () const |
Which property, if any, is added. More... | |
virtual ResidueProperty | adds_property_enum () const |
Which property, if any, is added. More... | |
virtual std::string | deletes_property () const |
Which property, if any, is deleted. More... | |
virtual ResidueProperty | deletes_property_enum () const |
Which property, if any, is deleted. More... | |
virtual std::string | deletes_variant () const |
Which variant, if any, is deleted. More... | |
virtual VariantType | deletes_variant_enum () const |
Which variant, if any, is deleted, by enum. More... | |
virtual bool | may_change_aa () |
Generates a new aa. More... | |
virtual bool | changes_connections_on (ResidueType const &, std::string const &) const |
Can this case change connections for the atom on the residue? More... | |
virtual std::string | generates_name3 () |
Generates name3. More... | |
virtual std::string | generates_interchangeability_group () |
Generates interchangeability_group. More... | |
virtual bool | generates_base_residue () |
Generates base residue – legacy for D_AA – do not use otherwise. More... | |
virtual bool | applies_to_placeholder () const |
Special – does this apply to 'minimal', placeholder types? Generally true, unless updating aa or name3. More... | |
Private Attributes | |
core::uint | chi_no_ |
A patch operation for clearing all rotamer bins from the chi of a ResidueType.
core::chemical::ClearChiRotamers::ClearChiRotamers | ( | core::uint const | chi_no_in | ) |
|
overridevirtual |
Apply this patch to the given ResidueType.
Implements core::chemical::PatchOperation.
References chi_no_, core::chemical::MutableResidueType::clear_chi_rotamers(), core::chemical::ResidueTypeBase::name(), core::chemical::MutableResidueType::nchi(), and core::chemical::TR_PatchOperations().
|
overridevirtual |
Return the name of this PatchOperation ("ClearChiRotamers").
Implements core::chemical::PatchOperation.
|
private |
Referenced by apply().