Rosetta 3.4
Public Types | Public Member Functions
protocols::filters::CompoundFilter Class Reference

Used to define a compound logical statement involving other filters with AND, OR and XOR. More...

#include <BasicFilters.hh>

Inheritance diagram for protocols::filters::CompoundFilter:
Inheritance graph
[legend]
Collaboration diagram for protocols::filters::CompoundFilter:
Collaboration graph
[legend]

List of all members.

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.
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
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
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
virtual void set_resid (core::Size const resid)
void parse_my_tag (utility::tag::TagPtr const, moves::DataMap &, Filters_map const &, moves::Movers_map const &, core::pose::Pose const &)

Detailed Description

Used to define a compound logical statement involving other filters with AND, OR and XOR.


Member Typedef Documentation

typedef CompoundStatement::const_iterator protocols::filters::CompoundFilter::const_iterator
typedef CompoundStatement::iterator protocols::filters::CompoundFilter::iterator

Constructor & Destructor Documentation

protocols::filters::CompoundFilter::CompoundFilter ( )

Referenced by clone(), and fresh_instance().

protocols::filters::CompoundFilter::~CompoundFilter ( ) [virtual]
protocols::filters::CompoundFilter::CompoundFilter ( CompoundStatement const &  compound_statement)

Member Function Documentation

bool protocols::filters::CompoundFilter::apply ( core::pose::Pose const &  pose) const [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 ( )
CompoundFilter::const_iterator protocols::filters::CompoundFilter::begin ( ) const
void protocols::filters::CompoundFilter::clear ( ) [virtual]

used to clear internal variables if needed. Using fresh_instance is preferred since it's a pure virtual

Reimplemented from protocols::filters::Filter.

FilterOP protocols::filters::CompoundFilter::clone ( ) const [virtual]
bool protocols::filters::CompoundFilter::compute ( core::pose::Pose const &  pose) const
CompoundFilter::iterator protocols::filters::CompoundFilter::end ( )
CompoundFilter::const_iterator protocols::filters::CompoundFilter::end ( ) const
FilterOP protocols::filters::CompoundFilter::fresh_instance ( ) const [virtual]
void protocols::filters::CompoundFilter::parse_my_tag ( utility::tag::TagPtr const  tag,
moves::DataMap ,
Filters_map const &  filters,
moves::Movers_map const &  ,
core::pose::Pose const &   
) [virtual]
void protocols::filters::CompoundFilter::report ( std::ostream &  out,
core::pose::Pose const &  pose 
) const [virtual]

Reimplemented from protocols::filters::Filter.

References compute().

core::Real protocols::filters::CompoundFilter::report_sm ( core::pose::Pose const &  ) const [virtual]

used to report filter internals through a score or silent file

Reimplemented from protocols::filters::Filter.

References compute().

void protocols::filters::CompoundFilter::set_resid ( core::Size const  resid) [virtual]

call the compound statement's constituent filters' set_resid

Reimplemented from protocols::moves::ResId.

References protocols::moves::modify_ResId_based_object().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines