A class patching basic ResidueType to create variant types, containing multiple PatchCase.
More...
#include <Metapatch.hh>
A class patching basic ResidueType to create variant types, containing multiple PatchCase.
| core::chemical::Metapatch::Metapatch |
( |
| ) |
|
| core::chemical::Metapatch::~Metapatch |
( |
| ) |
|
|
overridedefault |
Automatically generated virtual destructor for class deriving directly from VirtualBase.
Auto-generated virtual destructor
| virtual bool core::chemical::Metapatch::applies_to |
( |
ResidueType const & |
rsd | ) |
const |
|
inlinevirtual |
can I operate on this residue type?
References selector_.
| utility::vector1< std::string > core::chemical::Metapatch::atoms |
( |
ResidueType const & |
rsd_type | ) |
const |
| PatchCOP core::chemical::Metapatch::get_one_patch |
( |
std::string const & |
atom_name | ) |
const |
| virtual std::string const& core::chemical::Metapatch::name |
( |
| ) |
const |
|
inlinevirtual |
unique name of this patch, eg Nter-simple, Cter-full, Phospho, ... ?
References name_.
| void core::chemical::Metapatch::read_file |
( |
std::string const & |
filename | ) |
|
constructor from file
- first read in all lines from the file, discarding # comment lines
- parse input lines for Metapatch name and variant types (NAME, TYPES)
- parse input lines for general ResidueTypeSelector defined for this Patch (BEGIN_SELECTOR, END_SELECTOR)
- parse input lines to create each case accordingly (BEGIN_CASE, END_CASE)
- Note
- keep the order to avoid triggering parsing errors
References core::chemical::ResidueTypeSelector::add_line(), core::chemical::case_from_lines(), case_lines_, cases_, core::chemical::ResidueTypeSelector::clear(), name_, pertinent_property_, core::chemical::AtomPropertiesManager::property_from_string(), selector_, protocols::hybridization::t, core::chemical::tag_from_line(), core::chemical::tr(), and types_.
| virtual utility::vector1< std::string > const& core::chemical::Metapatch::types |
( |
| ) |
const |
|
inlinevirtual |
| utility::vector1< std::string > core::chemical::Metapatch::case_lines_ |
|
private |
| utility::vector1< PatchCaseOP > core::chemical::Metapatch::cases_ |
|
private |
different cases to which the derived patches patch will be applied slightly differently, e.g., N-terminus patch to PRO and GLY
Referenced by read_file().
| std::string core::chemical::Metapatch::name_ |
|
private |
| utility::vector1< std::string > core::chemical::Metapatch::types_ |
|
private |
The documentation for this class was generated from the following files: