Rosetta
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
protocols::enzdes::EnzScoreFilter Class Reference

#include <EnzFilters.hh>

Inheritance diagram for protocols::enzdes::EnzScoreFilter:
Inheritance graph
[legend]

Public Types

typedef protocols::filters::Filter Filter
 
typedef protocols::filters::FilterOP FilterOP
 

Public Member Functions

 EnzScoreFilter ()
 
 EnzScoreFilter (std::string const &resnum, std::string const &cstid, core::scoring::ScoreFunctionOP scorefxn, core::scoring::ScoreType const score_type, core::Real const threshold, bool const whole_pose, bool const is_cstE)
 
 EnzScoreFilter (EnzScoreFilter const &init)
 
bool apply (core::pose::Pose const &pose) const override
 Returns true if the given pose passes the filter, false otherwise. More...
 
FilterOP clone () const override
 
FilterOP fresh_instance () const override
 
void report (std::ostream &out, core::pose::Pose const &pose) const override
 
core::Real report_sm (core::pose::Pose const &pose) const override
 used to report filter internals through a score or silent file More...
 
core::Real compute (core::pose::Pose const &pose) const
 
 ~EnzScoreFilter () override
 
void parse_my_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &) override
 Called by FilterFactory when constructing new Filter. Takes care of the specific mover's parsing. More...
 
std::string name () const override
 
- Public Member Functions inherited from protocols::filters::Filter
 Filter ()
 
 Filter (std::string const &)
 
 ~Filter () override
 
virtual std::string get_type () const
 
std::string get_user_defined_name () const
 
void set_user_defined_name (std::string const &name)
 
virtual void clear ()
 used to clear internal variables if needed. Using fresh_instance is preferred since it's a pure virtual More...
 
virtual core::Real score (core::pose::Pose &pose)
 
virtual void provide_citation_info (basic::citation_manager::CitationCollectionList &) const
 Provide citations to the passed CitationCollectionList Subclasses should add the info for themselves and any other classes they use. More...
 

Static Public Member Functions

static std::string class_name ()
 
static void provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd)
 
static std::string default_value_for_resnum ()
 
static std::string default_value_for_cstid ()
 
static std::string default_value_for_score_type ()
 
static core::Real default_value_for_threshold ()
 
static bool default_value_for_whole_pose ()
 
static bool default_value_for_is_cstE ()
 

Private Attributes

std::string resnum_ = default_value_for_resnum()
 
std::string cstid_ = default_value_for_cstid()
 
core::scoring::ScoreFunctionOP scorefxn_
 
core::scoring::ScoreType score_type_ = core::scoring::score_type_from_name( default_value_for_score_type() )
 
core::Real threshold_ = default_value_for_threshold()
 
bool whole_pose_ = default_value_for_whole_pose()
 
bool is_cstE_ = default_value_for_is_cstE()
 

Additional Inherited Members

- Protected Attributes inherited from protocols::filters::Filter
std::string scorename_
 

Member Typedef Documentation

◆ Filter

◆ FilterOP

Constructor & Destructor Documentation

◆ EnzScoreFilter() [1/3]

protocols::enzdes::EnzScoreFilter::EnzScoreFilter ( )
inline

◆ EnzScoreFilter() [2/3]

protocols::enzdes::EnzScoreFilter::EnzScoreFilter ( std::string const &  resnum,
std::string const &  cstid,
core::scoring::ScoreFunctionOP  scorefxn,
core::scoring::ScoreType const  score_type,
core::Real const  threshold,
bool const  whole_pose,
bool const  is_cstE 
)

◆ EnzScoreFilter() [3/3]

protocols::enzdes::EnzScoreFilter::EnzScoreFilter ( EnzScoreFilter const &  init)

References core::init::init(), and scorefxn_.

◆ ~EnzScoreFilter()

protocols::enzdes::EnzScoreFilter::~EnzScoreFilter ( )
overridedefault

Member Function Documentation

◆ apply()

bool protocols::enzdes::EnzScoreFilter::apply ( core::pose::Pose const &  pose) const
overridevirtual

Returns true if the given pose passes the filter, false otherwise.

Implements protocols::filters::Filter.

References compute(), protocols::buns::energy, threshold_, and protocols::enzdes::TR().

◆ class_name()

std::string protocols::enzdes::EnzScoreFilter::class_name ( )
static

◆ clone()

FilterOP protocols::enzdes::EnzScoreFilter::clone ( ) const
inlineoverridevirtual

◆ compute()

core::Real protocols::enzdes::EnzScoreFilter::compute ( core::pose::Pose const &  pose) const

◆ default_value_for_cstid()

static std::string protocols::enzdes::EnzScoreFilter::default_value_for_cstid ( )
inlinestatic

Referenced by parse_my_tag().

◆ default_value_for_is_cstE()

static bool protocols::enzdes::EnzScoreFilter::default_value_for_is_cstE ( )
inlinestatic

Referenced by parse_my_tag().

◆ default_value_for_resnum()

static std::string protocols::enzdes::EnzScoreFilter::default_value_for_resnum ( )
inlinestatic

◆ default_value_for_score_type()

static std::string protocols::enzdes::EnzScoreFilter::default_value_for_score_type ( )
inlinestatic

Referenced by parse_my_tag().

◆ default_value_for_threshold()

static core::Real protocols::enzdes::EnzScoreFilter::default_value_for_threshold ( )
inlinestatic

Referenced by parse_my_tag().

◆ default_value_for_whole_pose()

static bool protocols::enzdes::EnzScoreFilter::default_value_for_whole_pose ( )
inlinestatic

Referenced by parse_my_tag().

◆ fresh_instance()

FilterOP protocols::enzdes::EnzScoreFilter::fresh_instance ( ) const
inlineoverridevirtual

◆ name()

std::string protocols::enzdes::EnzScoreFilter::name ( ) const
overridevirtual

◆ parse_my_tag()

void protocols::enzdes::EnzScoreFilter::parse_my_tag ( utility::tag::TagCOP  ,
basic::datacache::DataMap  
)
overridevirtual

◆ provide_xml_schema()

void protocols::enzdes::EnzScoreFilter::provide_xml_schema ( utility::tag::XMLSchemaDefinition &  xsd)
static

◆ report()

void protocols::enzdes::EnzScoreFilter::report ( std::ostream &  out,
core::pose::Pose const &  pose 
) const
overridevirtual

◆ report_sm()

core::Real protocols::enzdes::EnzScoreFilter::report_sm ( core::pose::Pose const &  ) const
overridevirtual

used to report filter internals through a score or silent file

Reimplemented from protocols::filters::Filter.

References compute().

Member Data Documentation

◆ cstid_

std::string protocols::enzdes::EnzScoreFilter::cstid_ = default_value_for_cstid()
private

Referenced by compute(), and parse_my_tag().

◆ is_cstE_

bool protocols::enzdes::EnzScoreFilter::is_cstE_ = default_value_for_is_cstE()
private

Referenced by compute(), and parse_my_tag().

◆ resnum_

std::string protocols::enzdes::EnzScoreFilter::resnum_ = default_value_for_resnum()
private

Referenced by compute(), and parse_my_tag().

◆ score_type_

core::scoring::ScoreType protocols::enzdes::EnzScoreFilter::score_type_ = core::scoring::score_type_from_name( default_value_for_score_type() )
private

◆ scorefxn_

core::scoring::ScoreFunctionOP protocols::enzdes::EnzScoreFilter::scorefxn_
private

◆ threshold_

core::Real protocols::enzdes::EnzScoreFilter::threshold_ = default_value_for_threshold()
private

Referenced by apply(), and parse_my_tag().

◆ whole_pose_

bool protocols::enzdes::EnzScoreFilter::whole_pose_ = default_value_for_whole_pose()
private

Referenced by compute(), and parse_my_tag().


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