Rosetta
|
A filter that can be set to either return true or false - useful in RS. More...
#include <BasicFilters.hh>
Public Member Functions | |
TrueFalseFilter () | |
bool | apply (core::pose::Pose const &) const override |
Returns true if the given pose passes the filter, false otherwise. More... | |
FilterOP | clone () const override |
FilterOP | fresh_instance () const override |
std::string | name () const override |
void | set_action (bool action) |
Set the action that this filter will return. More... | |
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... | |
![]() | |
Filter () | |
Filter (std::string const &) | |
~Filter () override | |
virtual void | report (std::ostream &, core::pose::Pose const &) const |
virtual core::Real | report_sm (core::pose::Pose const &) const |
used to report filter internals through a score or silent file More... | |
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) |
Private Attributes | |
bool | action_ = true |
Additional Inherited Members | |
![]() | |
std::string | scorename_ |
A filter that can be set to either return true or false - useful in RS.
|
inline |
|
inlineoverridevirtual |
Returns true if the given pose passes the filter, false otherwise.
Implements protocols::filters::Filter.
References action_.
|
static |
|
inlineoverridevirtual |
Implements protocols::filters::Filter.
|
inlineoverridevirtual |
Implements protocols::filters::Filter.
|
overridevirtual |
Reimplemented from protocols::filters::Filter.
References protocols::filters::TrueFilter::class_name().
|
overridevirtual |
Called by FilterFactory when constructing new Filter. Takes care of the specific mover's parsing.
Reimplemented from protocols::filters::Filter.
References protocols::filters::TR().
|
static |
void protocols::filters::TrueFalseFilter::set_action | ( | bool | action | ) |
Set the action that this filter will return.
|
private |
Referenced by apply().