Rosetta  2020.37
 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::fldsgn::filters::NcontactsFilter Class Reference

#include <NcontactsFilter.hh>

Inheritance diagram for protocols::fldsgn::filters::NcontactsFilter:
Inheritance graph
[legend]

Public Types

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

Public Member Functions

 NcontactsFilter ()
 default constructor More...
 
 NcontactsFilter (String const &report_type, Real const filter_value)
 default constructor More...
 
 NcontactsFilter (NcontactsFilter const &rval)
 copy constructor More...
 
 ~NcontactsFilter () override
 destructor More...
 
FilterOP clone () const override
 make clone More...
 
FilterOP fresh_instance () const override
 make fresh instance More...
 
Real compute (Pose const &pose) const
 get name of this filter More...
 
Real report_sm (Pose const &pose) const override
 used to report score More...
 
void report (std::ostream &out, Pose const &pose) const override
 used to report score More...
 
bool apply (Pose const &pose) const override
 returns true if the given pose passes the filter, false otherwise. In this case, the test is whether the give pose is the topology we want. More...
 
void parse_my_tag (TagCOP tag, basic::datacache::DataMap &) override
 parse xml 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 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 bool filter_provides_citation_info () const
 Does this filter provide information about how to cite it? More...
 
virtual utility::vector1
< basic::citation_manager::CitationCollectionCOP > 
provide_citation_info () const
 Provide the citation. More...
 
virtual bool filter_is_unpublished () const
 Does this filter indicate that it is unpublished (and, by extension, that the author should be included in publications resulting from it)? More...
 
virtual utility::vector1
< basic::citation_manager::UnpublishedModuleInfoCOP > 
provide_authorship_info_for_unpublished () const
 Provide a list of authors and their e-mail addresses, as strings. More...
 

Static Public Member Functions

static std::string class_name ()
 
static void provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd)
 

Private Attributes

String report_type_
 
Real filter_value_
 

Additional Inherited Members

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

Member Typedef Documentation

typedef basic::datacache::DataMap protocols::fldsgn::filters::NcontactsFilter::DataMap

Constructor & Destructor Documentation

protocols::fldsgn::filters::NcontactsFilter::NcontactsFilter ( )

default constructor

protocols::fldsgn::filters::NcontactsFilter::NcontactsFilter ( String const &  report_type,
Real const  filter_value 
)

default constructor

protocols::fldsgn::filters::NcontactsFilter::NcontactsFilter ( NcontactsFilter const &  rval)
default

copy constructor

protocols::fldsgn::filters::NcontactsFilter::~NcontactsFilter ( )
overridedefault

destructor

Member Function Documentation

bool protocols::fldsgn::filters::NcontactsFilter::apply ( Pose const &  pose) const
overridevirtual

returns true if the given pose passes the filter, false otherwise. In this case, the test is whether the give pose is the topology we want.

Implements protocols::filters::Filter.

References compute(), filter_value_, and protocols::filters::Filter::score().

std::string protocols::fldsgn::filters::NcontactsFilter::class_name ( )
static
FilterOP protocols::fldsgn::filters::NcontactsFilter::clone ( ) const
inlineoverridevirtual

make clone

Implements protocols::filters::Filter.

NcontactsFilter::Real protocols::fldsgn::filters::NcontactsFilter::compute ( Pose const &  pose) const

get name of this filter

comute ncontacts

compute number of contacts

References core::pose::metrics::StructureDependentCalculator::get(), and report_type_.

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

FilterOP protocols::fldsgn::filters::NcontactsFilter::fresh_instance ( ) const
inlineoverridevirtual

make fresh instance

Implements protocols::filters::Filter.

std::string protocols::fldsgn::filters::NcontactsFilter::name ( ) const
overridevirtual

Reimplemented from protocols::filters::Filter.

References class_name().

void protocols::fldsgn::filters::NcontactsFilter::parse_my_tag ( TagCOP  tag,
basic::datacache::DataMap &   
)
overridevirtual

parse xml

Reimplemented from protocols::filters::Filter.

References filter_value_, and report_type_.

void protocols::fldsgn::filters::NcontactsFilter::provide_xml_schema ( utility::tag::XMLSchemaDefinition &  xsd)
static
void protocols::fldsgn::filters::NcontactsFilter::report ( std::ostream &  out,
Pose const &  pose 
) const
overridevirtual

used to report score

Reimplemented from protocols::filters::Filter.

References compute().

NcontactsFilter::Real protocols::fldsgn::filters::NcontactsFilter::report_sm ( Pose const &  pose) const
overridevirtual

used to report score

Reimplemented from protocols::filters::Filter.

References compute().

Member Data Documentation

Real protocols::fldsgn::filters::NcontactsFilter::filter_value_
private

Referenced by apply(), and parse_my_tag().

String protocols::fldsgn::filters::NcontactsFilter::report_type_
private

Referenced by compute(), and parse_my_tag().


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