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

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) More...

#include <PatchOperation.hh>

Inheritance diagram for core::chemical::DeleteProperty:
Inheritance graph
[legend]
Collaboration diagram for core::chemical::DeleteProperty:
Collaboration graph
[legend]

Public Member Functions

 DeleteProperty (std::string const &property_in)
 constructor More...
 
bool apply (ResidueType &rsd) const
 add a property More...
 
- Public Member Functions inherited from core::chemical::PatchOperation
virtual ~PatchOperation ()
 Automatically generated virtual destructor for class deriving directly from ReferenceCount. More...
 

Private Attributes

std::string property_
 property to be added More...
 

Detailed Description

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)

Definition at line 235 of file PatchOperation.hh.

Constructor & Destructor Documentation

core::chemical::DeleteProperty::DeleteProperty ( std::string const &  property_in)
inline

constructor

Definition at line 239 of file PatchOperation.hh.

Member Function Documentation

bool core::chemical::DeleteProperty::apply ( ResidueType rsd) const
inlinevirtual

add a property

Implements core::chemical::PatchOperation.

Definition at line 245 of file PatchOperation.hh.

References core::chemical::ResidueType::delete_property(), and property_.

Member Data Documentation

std::string core::chemical::DeleteProperty::property_
private

property to be added

Definition at line 254 of file PatchOperation.hh.

Referenced by apply().


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