![]() |
Rosetta
2021.16
|
delete a property from ResidueType Added by Andy M. Chen in June 2009 This is needed for deleting properties, which occurs in certain PTM's (e.g. methylation) Rewritten by Vikram K. Mulligan on 25 Aug. 2016 to use enums wherever possible for speed. More...
#include <PatchOperation.hh>

Public Member Functions | |
| DeleteProperty (std::string const &property_in) | |
| constructor More... | |
| bool | apply (MutableResidueType &rsd) const override |
| delete a property More... | |
| std::string | name () const override |
| Return the name of this PatchOperation ("DeleteProperty"). More... | |
| std::string | deletes_property () const override |
| Which property, if any, is deleted. More... | |
| ResidueProperty | deletes_property_enum () const override |
| Which property, if any, is deleted. More... | |
Public Member Functions inherited from core::chemical::PatchOperation | |
| ~PatchOperation () override | |
| Automatically generated virtual destructor for class deriving directly from VirtualBase. More... | |
| virtual utility::vector1 < std::string > | adds_atoms () |
| Which atom(s), if any, is/are 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_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_type () const |
| 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 | |
| std::string | property_name_ |
| Name (string) of property to be deleted. More... | |
| ResidueProperty | property_ |
| Property to be deleted (enum). Will be NO_PROPERTY if this deletes a custom (on-the-fly) property. More... | |
delete a property from ResidueType Added by Andy M. Chen in June 2009 This is needed for deleting properties, which occurs in certain PTM's (e.g. methylation) Rewritten by Vikram K. Mulligan on 25 Aug. 2016 to use enums wherever possible for speed.
| core::chemical::DeleteProperty::DeleteProperty | ( | std::string const & | property_in | ) |
constructor
|
overridevirtual |
delete a property
Implements core::chemical::PatchOperation.
References core::chemical::ResidueTypeBase::delete_property(), core::chemical::NO_PROPERTY, property_, property_name_, and core::chemical::TR_PatchOperations().
|
inlineoverridevirtual |
Which property, if any, is deleted.
Reimplemented from core::chemical::PatchOperation.
References property_name_.
|
inlineoverridevirtual |
Which property, if any, is deleted.
Returns NO_PROPERTY if this PatchOperation deletes a custom, on-the-fly property.
Reimplemented from core::chemical::PatchOperation.
References property_.
|
overridevirtual |
Return the name of this PatchOperation ("DeleteProperty").
Implements core::chemical::PatchOperation.
|
private |
Property to be deleted (enum). Will be NO_PROPERTY if this deletes a custom (on-the-fly) property.
Referenced by apply(), and deletes_property_enum().
|
private |
Name (string) of property to be deleted.
Referenced by apply(), and deletes_property().
1.8.7