Rosetta Protocols  2014.35
Public Member Functions | Private Attributes | List of all members
protocols::simple_filters::NeighborTypeFilter Class Reference

#include <NeighborTypeFilter.hh>

Public Member Functions

 NeighborTypeFilter ()
 
 NeighborTypeFilter (core::Size const target_residue, utility::vector1< bool > const residue_types, core::Real const distance_threshold)
 
bool apply (core::pose::Pose const &pose) const
 Returns true if the given pose passes the filter, false otherwise. More...
 
void report (std::ostream &out, core::pose::Pose const &pose) const
 
core::Real report_sm (core::pose::Pose const &pose) const
 used to report filter internals through a score or silent file More...
 
std::vector< core::Sizecompute (core::pose::Pose const &pose) const
 
filters::FilterOP clone () const
 
filters::FilterOP fresh_instance () const
 
void clear ()
 used to clear internal variables if needed. Using fresh_instance is preferred since it's a pure virtual More...
 
virtual ~NeighborTypeFilter ()
 
void parse_my_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &, filters::Filters_map const &, protocols::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
 

Private Attributes

core::Size target_residue_
 
utility::vector1< boolresidue_types_
 
core::Real distance_threshold_
 

Additional Inherited Members

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

Constructor & Destructor Documentation

protocols::simple_filters::NeighborTypeFilter::NeighborTypeFilter ( )
inline

References filters.

Referenced by clone(), and fresh_instance().

protocols::simple_filters::NeighborTypeFilter::NeighborTypeFilter ( core::Size const  target_residue,
utility::vector1< bool > const  residue_types,
core::Real const  distance_threshold 
)
inline
protocols::simple_filters::NeighborTypeFilter::~NeighborTypeFilter ( )
virtual

Member Function Documentation

bool protocols::simple_filters::NeighborTypeFilter::apply ( core::pose::Pose const &  pose) const
virtual
void protocols::simple_filters::NeighborTypeFilter::clear ( )
inlinevirtual

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

Reimplemented from protocols::filters::Filter.

References residue_types_.

filters::FilterOP protocols::simple_filters::NeighborTypeFilter::clone ( ) const
inlinevirtual
std::vector< core::Size > protocols::simple_filters::NeighborTypeFilter::compute ( core::pose::Pose const &  pose) const
filters::FilterOP protocols::simple_filters::NeighborTypeFilter::fresh_instance ( ) const
inlinevirtual
void protocols::simple_filters::NeighborTypeFilter::parse_my_tag ( utility::tag::TagCOP  tag,
basic::datacache::DataMap ,
filters::Filters_map const &  ,
protocols::moves::Movers_map const &  ,
core::pose::Pose const &  pose 
)
virtual
void protocols::simple_filters::NeighborTypeFilter::report ( std::ostream &  out,
core::pose::Pose const &  pose 
) const
virtual
core::Real protocols::simple_filters::NeighborTypeFilter::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(), and neighbors.

Member Data Documentation

core::Real protocols::simple_filters::NeighborTypeFilter::distance_threshold_
private

Referenced by compute(), and NeighborTypeFilter().

utility::vector1< bool > protocols::simple_filters::NeighborTypeFilter::residue_types_
private

Referenced by clear(), compute(), and NeighborTypeFilter().

core::Size protocols::simple_filters::NeighborTypeFilter::target_residue_
private

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