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

#include <SaveResfileToDiskFilter.hh>

Public Types

typedef protocols::filters::Filter Super
 
typedef protocols::filters::Filter Filter
 
typedef
protocols::filters::FilterOP 
FilterOP
 
typedef core::Real Real
 
typedef core::pose::Pose Pose
 
typedef utility::tag::TagCOP TagCOP
 
typedef
protocols::filters::Filters_map 
Filters_map
 
typedef basic::datacache::DataMap DataMap
 
typedef
protocols::moves::Movers_map 
Movers_map
 

Public Member Functions

 SaveResfileToDiskFilter ()
 
 SaveResfileToDiskFilter (core::pack::task::TaskFactoryOP task_factory, utility::vector1< core::Size > selected_resis, bool designable_only, std::string resfile_name, std::string resfile_suffix, std::string resfile_prefix, std::string resfile_general_property, std::string selected_resis_property)
 
 SaveResfileToDiskFilter (SaveResfileToDiskFilter const &rval)
 
virtual ~SaveResfileToDiskFilter ()
 
virtual
protocols::filters::FilterOP 
clone () const
 
virtual
protocols::filters::FilterOP 
fresh_instance () const
 
virtual std::string name () const
 
void task_factory (core::pack::task::TaskFactoryOP task_factory)
 
void selected_resis (utility::vector1< core::Size > const r)
 
void designable_only (bool const d)
 
void renumber_pdb (bool const r)
 
void resfile_name (std::string const n)
 
void resfile_suffix (std::string const s)
 
void resfile_prefix (std::string const p)
 
void resfile_general_property (std::string const g)
 
void selected_resis_property (std::string const g)
 
core::pack::task::TaskFactoryOP task_factory () const
 
utility::vector1< core::Sizeselected_resis () const
 
bool designable_only () const
 
bool renumber_pdb () const
 
std::string resfile_name () const
 
std::string resfile_suffix () const
 
std::string resfile_prefix () const
 
std::string resfile_general_property () const
 
std::string selected_resis_property () const
 
virtual void parse_my_tag (TagCOP tag, basic::datacache::DataMap &, protocols::filters::Filters_map const &, Movers_map const &, Pose const &)
 parse xml More...
 
virtual bool apply (core::pose::Pose const &pose) const
 Returns true if the given pose passes the filter, false otherwise. More...
 
utility::vector1< core::Sizeselect_residues (Pose const &pose) const
 Applies the TaskOperations specified in the xml, and then selects either. More...
 
void write_resfile (Pose const &pose, utility::vector1< core::Size > const &selected_residues) const
 Write the resfile to disk. More...
 
- Public Member Functions inherited from protocols::filters::Filter
 Filter ()
 
 Filter (std::string const &)
 
 Filter (Filter const &)
 
virtual ~Filter ()
 
virtual void report (std::ostream &, core::pose::Pose const &) const
 
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 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)
 

Private Attributes

core::pack::task::TaskFactoryOP task_factory_
 
utility::vector1< core::Sizeselected_resis_
 
bool designable_only_
 
bool renumber_pdb_
 
std::string resfile_name_
 
std::string resfile_suffix_
 
std::string resfile_prefix_
 
std::string resfile_general_property_
 
std::string selected_resis_property_
 

Additional Inherited Members

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

Member Typedef Documentation

Constructor & Destructor Documentation

protocols::simple_filters::SaveResfileToDiskFilter::SaveResfileToDiskFilter ( )

Referenced by clone(), and fresh_instance().

protocols::simple_filters::SaveResfileToDiskFilter::SaveResfileToDiskFilter ( core::pack::task::TaskFactoryOP  task_factory,
utility::vector1< core::Size selected_resis,
bool  designable_only,
std::string  resfile_name,
std::string  resfile_suffix,
std::string  resfile_prefix,
std::string  resfile_general_property,
std::string  selected_resis_property 
)
protocols::simple_filters::SaveResfileToDiskFilter::SaveResfileToDiskFilter ( SaveResfileToDiskFilter const &  rval)
protocols::simple_filters::SaveResfileToDiskFilter::~SaveResfileToDiskFilter ( )
virtual

Member Function Documentation

bool protocols::simple_filters::SaveResfileToDiskFilter::apply ( core::pose::Pose const &  pose) const
virtual

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

Implements protocols::filters::Filter.

References select_residues(), and write_resfile().

protocols::filters::FilterOP protocols::simple_filters::SaveResfileToDiskFilter::clone ( ) const
virtual
void protocols::simple_filters::SaveResfileToDiskFilter::designable_only ( bool const  d)

References designable_only_.

bool protocols::simple_filters::SaveResfileToDiskFilter::designable_only ( ) const

References designable_only_.

Referenced by parse_my_tag().

protocols::filters::FilterOP protocols::simple_filters::SaveResfileToDiskFilter::fresh_instance ( ) const
virtual
virtual std::string protocols::simple_filters::SaveResfileToDiskFilter::name ( ) const
inlinevirtual

Reimplemented from protocols::filters::Filter.

void protocols::simple_filters::SaveResfileToDiskFilter::parse_my_tag ( TagCOP  tag,
basic::datacache::DataMap data,
protocols::filters::Filters_map const &  ,
Movers_map const &  ,
Pose const &   
)
virtual
void protocols::simple_filters::SaveResfileToDiskFilter::renumber_pdb ( bool const  r)

References renumber_pdb_.

bool protocols::simple_filters::SaveResfileToDiskFilter::renumber_pdb ( ) const

References renumber_pdb_.

Referenced by parse_my_tag(), and write_resfile().

void protocols::simple_filters::SaveResfileToDiskFilter::resfile_general_property ( std::string const  g)
std::string protocols::simple_filters::SaveResfileToDiskFilter::resfile_general_property ( ) const

References resfile_general_property_.

Referenced by parse_my_tag(), and write_resfile().

void protocols::simple_filters::SaveResfileToDiskFilter::resfile_name ( std::string const  n)

References resfile_name_.

std::string protocols::simple_filters::SaveResfileToDiskFilter::resfile_name ( ) const

References resfile_name_.

Referenced by parse_my_tag(), and write_resfile().

void protocols::simple_filters::SaveResfileToDiskFilter::resfile_prefix ( std::string const  p)

References resfile_prefix_.

std::string protocols::simple_filters::SaveResfileToDiskFilter::resfile_prefix ( ) const

References resfile_prefix_.

Referenced by parse_my_tag(), and write_resfile().

void protocols::simple_filters::SaveResfileToDiskFilter::resfile_suffix ( std::string const  s)

References resfile_suffix_.

std::string protocols::simple_filters::SaveResfileToDiskFilter::resfile_suffix ( ) const

References resfile_suffix_.

Referenced by parse_my_tag(), and write_resfile().

utility::vector1< core::Size > protocols::simple_filters::SaveResfileToDiskFilter::select_residues ( Pose const &  pose) const
void protocols::simple_filters::SaveResfileToDiskFilter::selected_resis ( utility::vector1< core::Size > const  r)

References selected_resis_.

utility::vector1< core::Size > protocols::simple_filters::SaveResfileToDiskFilter::selected_resis ( ) const

References selected_resis_.

void protocols::simple_filters::SaveResfileToDiskFilter::selected_resis_property ( std::string const  g)
std::string protocols::simple_filters::SaveResfileToDiskFilter::selected_resis_property ( ) const

References selected_resis_property_.

Referenced by parse_my_tag(), and write_resfile().

void protocols::simple_filters::SaveResfileToDiskFilter::task_factory ( core::pack::task::TaskFactoryOP  task_factory)

References task_factory(), and task_factory_.

core::pack::task::TaskFactoryOP protocols::simple_filters::SaveResfileToDiskFilter::task_factory ( ) const
void protocols::simple_filters::SaveResfileToDiskFilter::write_resfile ( Pose const &  pose,
utility::vector1< core::Size > const &  selected_residues 
) const

Member Data Documentation

bool protocols::simple_filters::SaveResfileToDiskFilter::designable_only_
private

Referenced by designable_only(), and select_residues().

bool protocols::simple_filters::SaveResfileToDiskFilter::renumber_pdb_
private

Referenced by renumber_pdb().

std::string protocols::simple_filters::SaveResfileToDiskFilter::resfile_general_property_
private
std::string protocols::simple_filters::SaveResfileToDiskFilter::resfile_name_
private

Referenced by resfile_name().

std::string protocols::simple_filters::SaveResfileToDiskFilter::resfile_prefix_
private

Referenced by resfile_prefix().

std::string protocols::simple_filters::SaveResfileToDiskFilter::resfile_suffix_
private

Referenced by resfile_suffix().

utility::vector1< core::Size > protocols::simple_filters::SaveResfileToDiskFilter::selected_resis_
private

Referenced by selected_resis().

std::string protocols::simple_filters::SaveResfileToDiskFilter::selected_resis_property_
private

Referenced by selected_resis_property().

core::pack::task::TaskFactoryOP protocols::simple_filters::SaveResfileToDiskFilter::task_factory_
private

Referenced by task_factory().


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