Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
core::chemical::Set_AA Class Reference

set residue's aa More...

#include <PatchOperation.hh>

Inheritance diagram for core::chemical::Set_AA:
Inheritance graph
[legend]

Public Member Functions

 Set_AA (std::string const &aa)
 constructor More...
 
bool apply (MutableResidueType &rsd) const override
 set atom's chemical type More...
 
std::string name () const override
 Return the name of this PatchOperation ("Set_AA"). More...
 
bool may_change_aa () override
 Generates a new aa. More...
 
bool applies_to_placeholder () const override
 Special – does this apply to 'minimal', placeholder types? Generally true, unless updating aa or name3. 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_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 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...
 

Private Attributes

std::string aa_
 

Detailed Description

set residue's aa

Constructor & Destructor Documentation

core::chemical::Set_AA::Set_AA ( std::string const &  aa)
inline

constructor

Member Function Documentation

bool core::chemical::Set_AA::applies_to_placeholder ( ) const
inlineoverridevirtual

Special – does this apply to 'minimal', placeholder types? Generally true, unless updating aa or name3.

Reimplemented from core::chemical::PatchOperation.

bool core::chemical::Set_AA::apply ( MutableResidueType rsd) const
overridevirtual

set atom's chemical type

Implements core::chemical::PatchOperation.

References core::chemical::ResidueTypeBase::aa(), and aa_.

bool core::chemical::Set_AA::may_change_aa ( )
inlineoverridevirtual

Generates a new aa.

Reimplemented from core::chemical::PatchOperation.

std::string core::chemical::Set_AA::name ( ) const
inlineoverridevirtual

Return the name of this PatchOperation ("Set_AA").

Implements core::chemical::PatchOperation.

Member Data Documentation

std::string core::chemical::Set_AA::aa_
private

Referenced by apply().


The documentation for this class was generated from the following files: