Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
protocols::legacy_sewing::sampling::requirements::LegacyGlobalLengthRequirement Class Reference

#include <LegacyGlobalLengthRequirement.hh>

Inheritance diagram for protocols::legacy_sewing::sampling::requirements::LegacyGlobalLengthRequirement:
Inheritance graph
[legend]

Public Member Functions

 LegacyGlobalLengthRequirement ()
 default constructor More...
 
 LegacyGlobalLengthRequirement (std::set< std::string > const &valid_dssp_codes, core::Size min_length, core::Size max_length)
 
bool satisfies (AssemblyCOP assembly) const override
 Inverse of violated for this requirement. More...
 
bool violates (AssemblyCOP assembly) const override
 Has the Assembly removed required residues for the specified model. More...
 
void parse_my_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &) override
 
void show (std::ostream &out) const override
 
- Public Member Functions inherited from protocols::legacy_sewing::sampling::requirements::LegacyGlobalRequirement
bool can_be_added_to (AssemblyCOP) const
 Can we add more edges to the Assembly? Base class implementation returns true, so only implement for requirements that require Assemblies of a specific size. More...
 

Static Public Member Functions

static std::string class_name ()
 
static void provide_xml_schema (utility::tag::XMLSchemaDefinition &)
 

Private Attributes

std::set< std::string > dssp_codes_
 
core::Size min_length_
 
core::Size max_length_
 

Constructor & Destructor Documentation

protocols::legacy_sewing::sampling::requirements::LegacyGlobalLengthRequirement::LegacyGlobalLengthRequirement ( )

default constructor

protocols::legacy_sewing::sampling::requirements::LegacyGlobalLengthRequirement::LegacyGlobalLengthRequirement ( std::set< std::string > const &  valid_dssp_codes,
core::Size  min_length,
core::Size  max_length 
)

Member Function Documentation

std::string protocols::legacy_sewing::sampling::requirements::LegacyGlobalLengthRequirement::class_name ( )
static

Referenced by provide_xml_schema().

void protocols::legacy_sewing::sampling::requirements::LegacyGlobalLengthRequirement::parse_my_tag ( utility::tag::TagCOP  tag,
basic::datacache::DataMap &   
)
overridevirtual
void protocols::legacy_sewing::sampling::requirements::LegacyGlobalLengthRequirement::provide_xml_schema ( utility::tag::XMLSchemaDefinition &  xsd)
static
bool protocols::legacy_sewing::sampling::requirements::LegacyGlobalLengthRequirement::satisfies ( AssemblyCOP  assembly) const
overridevirtual

Inverse of violated for this requirement.

Implements protocols::legacy_sewing::sampling::requirements::LegacyGlobalRequirement.

References violates().

void protocols::legacy_sewing::sampling::requirements::LegacyGlobalLengthRequirement::show ( std::ostream &  out) const
overridevirtual
bool protocols::legacy_sewing::sampling::requirements::LegacyGlobalLengthRequirement::violates ( AssemblyCOP  assembly) const
overridevirtual

Has the Assembly removed required residues for the specified model.

Implements protocols::legacy_sewing::sampling::requirements::LegacyGlobalRequirement.

References dssp_codes_, max_length_, and min_length_.

Referenced by satisfies().

Member Data Documentation

std::set<std::string> protocols::legacy_sewing::sampling::requirements::LegacyGlobalLengthRequirement::dssp_codes_
private

Referenced by parse_my_tag(), show(), and violates().

core::Size protocols::legacy_sewing::sampling::requirements::LegacyGlobalLengthRequirement::max_length_
private

Referenced by parse_my_tag(), show(), and violates().

core::Size protocols::legacy_sewing::sampling::requirements::LegacyGlobalLengthRequirement::min_length_
private

Referenced by parse_my_tag(), show(), and violates().


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