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

#include <FileExistFilter.hh>

Inheritance diagram for protocols::simple_filters::FileExistFilter:
Inheritance graph
[legend]
Collaboration diagram for protocols::simple_filters::FileExistFilter:
Collaboration graph
[legend]

Public Member Functions

 FileExistFilter ()
 
bool apply (core::pose::Pose const &pose) const
 Returns true if the given pose passes the filter, false otherwise. More...
 
filters::FilterOP clone () const
 
filters::FilterOP fresh_instance () const
 
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...
 
core::Real compute (core::pose::Pose const &pose) const
 
virtual ~FileExistFilter ()
 
void parse_my_tag (utility::tag::TagPtr const tag, protocols::moves::DataMap &, protocols::filters::Filters_map const &, protocols::moves::Movers_map const &, core::pose::Pose const &)
 
void filename (std::string const f)
 
std::string filename () const
 
bool ignore_zero_byte () const
 
void ignore_zero_byte (bool const i)
 
- 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 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)
 
virtual std::string name () const
 

Private Attributes

std::string filename_
 
bool ignore_zero_byte_
 

Additional Inherited Members

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

Constructor & Destructor Documentation

protocols::simple_filters::FileExistFilter::FileExistFilter ( )

Referenced by clone(), and fresh_instance().

protocols::simple_filters::FileExistFilter::~FileExistFilter ( )
virtual

Member Function Documentation

bool protocols::simple_filters::FileExistFilter::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().

filters::FilterOP protocols::simple_filters::FileExistFilter::clone ( ) const
inlinevirtual
core::Real protocols::simple_filters::FileExistFilter::compute ( core::pose::Pose const &  pose) const
void protocols::simple_filters::FileExistFilter::filename ( std::string const  f)

References filename_.

std::string protocols::simple_filters::FileExistFilter::filename ( ) const

References filename_.

filters::FilterOP protocols::simple_filters::FileExistFilter::fresh_instance ( ) const
inlinevirtual
bool protocols::simple_filters::FileExistFilter::ignore_zero_byte ( ) const
inline

References ignore_zero_byte_.

Referenced by compute(), and parse_my_tag().

void protocols::simple_filters::FileExistFilter::ignore_zero_byte ( bool const  i)
inline

References ignore_zero_byte_.

void protocols::simple_filters::FileExistFilter::parse_my_tag ( utility::tag::TagPtr const  tag,
protocols::moves::DataMap ,
protocols::filters::Filters_map const &  ,
protocols::moves::Movers_map const &  ,
core::pose::Pose const &   
)
virtual

Reimplemented from protocols::filters::Filter.

References filename_, and ignore_zero_byte().

void protocols::simple_filters::FileExistFilter::report ( std::ostream &  out,
core::pose::Pose const &  pose 
) const
virtual

Reimplemented from protocols::filters::Filter.

References compute(), and filename_.

core::Real protocols::simple_filters::FileExistFilter::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().

Member Data Documentation

std::string protocols::simple_filters::FileExistFilter::filename_
private
bool protocols::simple_filters::FileExistFilter::ignore_zero_byte_
private

Referenced by ignore_zero_byte().


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