Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
protocols::simple_filters::RangeFilter Class Reference

#include <RangeFilter.hh>

Inheritance diagram for protocols::simple_filters::RangeFilter:
Inheritance graph

Public Types

typedef protocols::filters::Filter Super
typedef protocols::filters::Filter Filter
typedef core::Real Real
typedef core::pose::Pose Pose
typedef std::string String
typedef utility::tag::TagCOP TagCOP
typedef basic::datacache::DataMap DataMap

Public Member Functions

 RangeFilter ()
 RangeFilter (Real lower_bound, Real upper_bound, FilterOP filter)
filters::FilterOP clone () const override
filters::FilterOP fresh_instance () const override
void parse_my_tag (TagCOP tag, basic::datacache::DataMap &) override
 parse xml More...
bool apply (Pose const &pose) const override
 Returns true if the given pose passes the filter, false otherwise. More...
void report (std::ostream &out, Pose const &pose) const override
 used to report score More...
std::string name () const override
- Public Member Functions inherited from protocols::filters::Filter
 Filter ()
 Filter (std::string const &)
 Filter (Filter const &)
 ~Filter () override
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

FilterOP filter_
Real lower_bound_
Real upper_bound_

Additional Inherited Members

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

Member Typedef Documentation

typedef basic::datacache::DataMap protocols::simple_filters::RangeFilter::DataMap
typedef utility::tag::TagCOP protocols::simple_filters::RangeFilter::TagCOP

Constructor & Destructor Documentation

protocols::simple_filters::RangeFilter::RangeFilter ( )
protocols::simple_filters::RangeFilter::RangeFilter ( Real  lower_bound,
Real  upper_bound,
FilterOP  filter 

Member Function Documentation

bool protocols::simple_filters::RangeFilter::apply ( Pose const &  pose) const

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

Implements protocols::filters::Filter.

References filter_, lower_bound_, protocols::simple_filters::tr(), and upper_bound_.

std::string protocols::simple_filters::RangeFilter::class_name ( )
filters::FilterOP protocols::simple_filters::RangeFilter::clone ( ) const
filters::FilterOP protocols::simple_filters::RangeFilter::fresh_instance ( ) const
std::string protocols::simple_filters::RangeFilter::name ( ) const

Reimplemented from protocols::filters::Filter.

References class_name().

void protocols::simple_filters::RangeFilter::parse_my_tag ( TagCOP  tag,
basic::datacache::DataMap &  data 
void protocols::simple_filters::RangeFilter::provide_xml_schema ( utility::tag::XMLSchemaDefinition &  xsd)
void protocols::simple_filters::RangeFilter::report ( std::ostream &  out,
Pose const &  pose 
) const

used to report score

Reimplemented from protocols::filters::Filter.

References filter_, lower_bound_, and upper_bound_.

Member Data Documentation

FilterOP protocols::simple_filters::RangeFilter::filter_

Referenced by apply(), parse_my_tag(), and report().

Real protocols::simple_filters::RangeFilter::lower_bound_

Referenced by apply(), parse_my_tag(), and report().

Real protocols::simple_filters::RangeFilter::upper_bound_

Referenced by apply(), parse_my_tag(), and report().

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