Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ContingentFilter.cc
Go to the documentation of this file.
1 // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2 // vi: set ts=2 sw=2 noet:
3 //
4 // (c) Copyright Rosetta Commons Member Institutions.
5 // (c) This file is part of the Rosetta software suite and is made available under license.
6 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9 
10 /// @author Sarel Fleishman (sarelf@uw.edu)
11 
14 
15 #include <core/pose/Pose.fwd.hh>
16 // AUTO-REMOVED #include <utility/tag/Tag.hh> // REQUIRED FOR WINDOWS
17 #include <utility/tag/Tag.fwd.hh>
21 #include <basic/Tracer.hh>
22 #include <core/types.hh>
23 
24 #include <utility/vector0.hh>
25 #include <utility/vector1.hh>
26 
27 
28 namespace protocols {
29 namespace filters {
30 
31 static basic::Tracer TR( "protocols.filters.ContingentFilter" );
32 
33 ///@brief default ctor
35  parent( "ContingentFilter" ),
36  value_( false )
37 {}
38 
39 bool
41 {
42  return( get_value() );
43 }
44 
47 {
48  return( get_value() );
49 }
50 
51 void
52 ContingentFilter::report( std::ostream & out, core::pose::Pose const & ) const
53 {
54  out<<"ContingentFilter returns "<<get_value()<<std::endl;
55 }
56 
57 void
58 ContingentFilter::set_value( bool const value ){
59  value_ = value;
60 }
61 
62 bool
64  return( value_ );
65 }
66 
67 void
72  core::pose::Pose const &)
73 {
74  TR.Info << "ContingentFilter"<<std::endl;
75 }
76 
79 
81 ContingentFilterCreator::keyname() const { return "ContingentFilter"; }
82 
83 
84 
85 } // filters
86 } // protocols