![]() |
Rosetta Protocols
2014.35
|
Used to define a compound logical statement involving other filters with AND, OR and XOR. More...
#include <BasicFilters.hh>
Public Types | |
typedef std::vector< std::pair < FilterOP, boolean_operations > > | CompoundStatement |
typedef CompoundStatement::iterator | iterator |
typedef CompoundStatement::const_iterator | const_iterator |
Public Member Functions | |
CompoundFilter () | |
virtual | ~CompoundFilter () |
CompoundFilter (CompoundStatement const &) | |
bool | apply (core::pose::Pose const &) const |
Returns true if the given pose passes the filter, false otherwise. More... | |
FilterOP | clone () const |
FilterOP | fresh_instance () const |
void | report (std::ostream &, core::pose::Pose const &) const |
core::Real | report_sm (core::pose::Pose const &) const |
used to report filter internals through a score or silent file More... | |
bool | compute (core::pose::Pose const &) const |
void | clear () |
used to clear internal variables if needed. Using fresh_instance is preferred since it's a pure virtual More... | |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
virtual void | set_resid (core::Size const resid) |
void | invert (bool const inv) |
void | set_reset_filters (utility::vector1< FilterOP > const reset_filters) |
void | reset_filters () |
void | clear_reset_filters () |
void | parse_my_tag (utility::tag::TagCOP, basic::datacache::DataMap &, Filters_map const &, moves::Movers_map const &, core::pose::Pose const &) |
![]() | |
Filter () | |
Filter (std::string const &) | |
Filter (Filter const &) | |
virtual | ~Filter () |
virtual std::string | get_type () const |
std::string | get_user_defined_name () const |
void | set_user_defined_name (std::string const &name) |
virtual void | apply (core::io::serialization::PipeMap &pmap) |
virtual void | score (core::io::serialization::PipeMap &pmap) |
virtual core::Real | score (core::pose::Pose &pose) |
virtual void | parse_def (utility::lua::LuaObject const &def, utility::lua::LuaObject const &score_fxns, utility::lua::LuaObject const &tasks) |
virtual std::string | name () const |
![]() | |
ResId () | |
ResId (core::Size const r) | |
virtual core::Size | get_resid () const |
virtual core::Size & | get_resid () |
virtual bool | modifiable () const |
should another method be able to modify resid_. This is used by modify_ResId_based_object as a test More... | |
virtual void | modifiable (bool const u) |
virtual | ~ResId () |
Private Attributes | |
core::Real | threashold_ |
CompoundStatement | compound_statement_ |
bool | invert_ |
utility::vector1< FilterOP > | reset_filters_ |
Additional Inherited Members | |
![]() | |
std::string | scorename_ |
Used to define a compound logical statement involving other filters with AND, OR and XOR.
typedef std::vector< std::pair< FilterOP, boolean_operations > > protocols::filters::CompoundFilter::CompoundStatement |
typedef CompoundStatement::const_iterator protocols::filters::CompoundFilter::const_iterator |
typedef CompoundStatement::iterator protocols::filters::CompoundFilter::iterator |
protocols::filters::CompoundFilter::CompoundFilter | ( | ) |
Referenced by clone(), and fresh_instance().
|
virtual |
protocols::filters::CompoundFilter::CompoundFilter | ( | CompoundStatement const & | compound_statement | ) |
|
virtual |
Returns true if the given pose passes the filter, false otherwise.
Implements protocols::filters::Filter.
References compute(), and protocols::filters::TR.
CompoundFilter::iterator protocols::filters::CompoundFilter::begin | ( | ) |
References compound_statement_.
CompoundFilter::const_iterator protocols::filters::CompoundFilter::begin | ( | ) | const |
References compound_statement_.
|
virtual |
used to clear internal variables if needed. Using fresh_instance is preferred since it's a pure virtual
Reimplemented from protocols::filters::Filter.
References compound_statement_.
void protocols::filters::CompoundFilter::clear_reset_filters | ( | ) |
References reset_filters_.
|
virtual |
Implements protocols::filters::Filter.
References CompoundFilter().
bool protocols::filters::CompoundFilter::compute | ( | core::pose::Pose const & | pose | ) | const |
References protocols::filters::AND, protocols::filters::ANDNOT, compound_statement_, invert_, protocols::filters::NAND, protocols::filters::NOR, protocols::filters::NOT, protocols::filters::OR, protocols::filters::ORNOT, protocols::filters::TR, and protocols::filters::XOR.
Referenced by apply(), report(), and report_sm().
CompoundFilter::iterator protocols::filters::CompoundFilter::end | ( | ) |
References compound_statement_.
CompoundFilter::const_iterator protocols::filters::CompoundFilter::end | ( | ) | const |
References compound_statement_.
|
virtual |
Implements protocols::filters::Filter.
References CompoundFilter().
|
virtual |
Reimplemented from protocols::filters::Filter.
References protocols::filters::AND, protocols::filters::ANDNOT, compound_statement_, invert_, protocols::filters::NAND, protocols::filters::NOR, protocols::filters::NOT, protocols::filters::OR, protocols::filters::ORNOT, runtime_assert, protocols::filters::TR, and protocols::filters::XOR.
|
virtual |
Reimplemented from protocols::filters::Filter.
References compound_statement_, and compute().
|
virtual |
used to report filter internals through a score or silent file
Reimplemented from protocols::filters::Filter.
References compound_statement_, and compute().
void protocols::filters::CompoundFilter::reset_filters | ( | ) |
References protocols::filters::Filter::clone(), compound_statement_, filter, protocols::filters::Filter::get_user_defined_name(), and reset_filters_.
Referenced by set_reset_filters().
void protocols::filters::CompoundFilter::set_reset_filters | ( | utility::vector1< FilterOP > const | reset_filters | ) |
References reset_filters(), and reset_filters_.
|
virtual |
call the compound statement's constituent filters' set_resid
Reimplemented from protocols::moves::ResId.
References compound_statement_, and protocols::moves::modify_ResId_based_object().
|
private |
Referenced by begin(), clear(), compute(), end(), parse_my_tag(), report(), report_sm(), reset_filters(), and set_resid().
|
private |
Referenced by compute(), invert(), and parse_my_tag().
|
private |
Referenced by clear_reset_filters(), reset_filters(), and set_reset_filters().
|
private |