|
Rosetta 3.5
|
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 | parse_my_tag (utility::tag::TagPtr const, moves::DataMap &, Filters_map const &, moves::Movers_map const &, core::pose::Pose const &) |
Public Member Functions inherited from protocols::filters::Filter | |
| 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 |
Public Member Functions inherited from protocols::moves::ResId | |
| 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_ |
Additional Inherited Members | |
Protected Attributes inherited from protocols::filters::Filter | |
| std::string | scorename_ |
Used to define a compound logical statement involving other filters with AND, OR and XOR.
Definition at line 82 of file BasicFilters.hh.
| typedef std::vector< std::pair< FilterOP, boolean_operations > > protocols::filters::CompoundFilter::CompoundStatement |
Definition at line 85 of file BasicFilters.hh.
| typedef CompoundStatement::const_iterator protocols::filters::CompoundFilter::const_iterator |
Definition at line 87 of file BasicFilters.hh.
| typedef CompoundStatement::iterator protocols::filters::CompoundFilter::iterator |
Definition at line 86 of file BasicFilters.hh.
| protocols::filters::CompoundFilter::CompoundFilter | ( | ) |
Definition at line 112 of file BasicFilters.cc.
Referenced by clone(), and fresh_instance().
|
virtual |
Definition at line 116 of file BasicFilters.cc.
| protocols::filters::CompoundFilter::CompoundFilter | ( | CompoundStatement const & | compound_statement) |
Definition at line 118 of file BasicFilters.cc.
|
virtual |
Returns true if the given pose passes the filter, false otherwise.
Implements protocols::filters::Filter.
Definition at line 125 of file BasicFilters.cc.
References compute(), and protocols::filters::TR().
| CompoundFilter::iterator protocols::filters::CompoundFilter::begin | ( | ) |
Definition at line 226 of file BasicFilters.cc.
References compound_statement_.
| CompoundFilter::const_iterator protocols::filters::CompoundFilter::begin | ( | ) | const |
Definition at line 231 of file BasicFilters.cc.
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.
Definition at line 220 of file BasicFilters.cc.
References compound_statement_.
|
virtual |
Implements protocols::filters::Filter.
Definition at line 134 of file BasicFilters.cc.
References CompoundFilter().
| bool protocols::filters::CompoundFilter::compute | ( | core::pose::Pose const & | pose) | const |
Definition at line 181 of file BasicFilters.cc.
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 | ( | ) |
Definition at line 237 of file BasicFilters.cc.
References compound_statement_.
| CompoundFilter::const_iterator protocols::filters::CompoundFilter::end | ( | ) | const |
Definition at line 243 of file BasicFilters.cc.
References compound_statement_.
|
virtual |
Implements protocols::filters::Filter.
Definition at line 140 of file BasicFilters.cc.
References CompoundFilter().
| void protocols::filters::CompoundFilter::invert | ( | bool const | inv) |
Definition at line 249 of file BasicFilters.cc.
References invert_.
|
virtual |
Reimplemented from protocols::filters::Filter.
Definition at line 263 of file BasicFilters.cc.
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.
|
virtual |
Reimplemented from protocols::filters::Filter.
Definition at line 146 of file BasicFilters.cc.
References compound_statement_, and compute().
|
virtual |
used to report filter internals through a score or silent file
Reimplemented from protocols::filters::Filter.
Definition at line 164 of file BasicFilters.cc.
References compound_statement_, and compute().
|
virtual |
call the compound statement's constituent filters' set_resid
Reimplemented from protocols::moves::ResId.
Definition at line 256 of file BasicFilters.cc.
References compound_statement_, and protocols::moves::modify_ResId_based_object().
|
private |
Definition at line 116 of file BasicFilters.hh.
Referenced by begin(), clear(), compute(), end(), parse_my_tag(), report(), report_sm(), and set_resid().
|
private |
Definition at line 117 of file BasicFilters.hh.
Referenced by compute(), invert(), and parse_my_tag().
|
private |
Definition at line 115 of file BasicFilters.hh.
1.8.4