Rosetta 3.5
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
protocols
simple_filters
ResidueCountFilter.hh
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 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
/// @file protocols/simple_filters/ResidueCountFilter.hh
11
/// @brief Filter on the total number of residues in the structure
12
/// @author Matthew O'Meara (mattjomeara@gmail.com)
13
14
#ifndef INCLUDED_protocols_simple_filters_ResidueCountFilter_hh
15
#define INCLUDED_protocols_simple_filters_ResidueCountFilter_hh
16
17
//unit headers
18
#include <
protocols/simple_filters/ResidueCountFilter.fwd.hh
>
19
20
// Project Headers
21
#include <
core/scoring/ScoreFunction.hh
>
22
#include <
core/types.hh
>
23
#include <
protocols/filters/Filter.hh
>
24
#include <
core/pose/Pose.fwd.hh
>
25
#include <
protocols/moves/DataMap.fwd.hh
>
26
#include <
protocols/moves/Mover.fwd.hh
>
27
#include <
core/chemical/ResidueTypeSet.fwd.hh
>
28
29
namespace
protocols {
30
namespace
simple_filters {
31
32
class
ResidueCountFilter
:
public
filters::Filter
33
{
34
public
:
35
//default ctor
36
ResidueCountFilter
();
37
38
ResidueCountFilter
(
39
ResidueCountFilter
const
& src
40
);
41
42
virtual
~ResidueCountFilter
();
43
44
bool
45
apply
(
46
core::pose::Pose
const
& pose
47
)
const
;
48
49
filters::FilterOP
50
clone
()
const
;
51
52
filters::FilterOP
53
fresh_instance
()
const
;
54
55
void
56
report
(
57
std::ostream & out,
58
core::pose::Pose
const
& pose
59
)
const
;
60
61
core::Real
62
report_sm
(
63
core::pose::Pose
const
& pose
64
)
const
;
65
66
core::Real
67
compute
(
68
core::pose::Pose
const
& pose
69
)
const
;
70
71
void
72
parse_my_tag
(
73
utility::tag::TagPtr
const
tag,
74
moves::DataMap
&,
75
filters::Filters_map
const
&,
76
moves::Movers_map
const
&,
77
core::pose::Pose
const
&
78
);
79
80
core::Size
81
max_residue_count
()
const
;
82
83
void
84
max_residue_count
(
85
core::Size
value
86
);
87
88
bool
89
enable_max_residue_count
()
const
;
90
91
void
92
enable_max_residue_count
(
93
bool
value
94
);
95
96
core::Size
97
min_residue_count
()
const
;
98
99
void
100
min_residue_count
(
101
core::Size
value
102
);
103
104
utility::vector1< std::string >
105
res_types
()
const
;
106
107
void
108
res_types
(
utility::vector1< std::string >
const
& res_type );
109
110
bool
111
enable_min_residue_count
()
const
;
112
113
void
114
enable_min_residue_count
(
115
bool
value
116
);
117
118
///@brief Checks whether a residue type is present in the provided residue type set, and if so, adds it to res_types_
119
bool
120
add_residue_type_by_name
(
121
core::chemical::ResidueTypeSet
const
& res_type_set,
122
std::string
const
& res_type_input
123
);
124
125
126
private
:
127
core::Size
max_residue_count_
;
128
bool
enable_max_residue_count_
;
129
core::Size
min_residue_count_
;
130
bool
enable_min_residue_count_
;
131
utility::vector1< std::string >
res_types_
;
132
};
133
134
}
135
}
136
137
#endif
Generated on Sat Jun 1 2013 12:14:06 for Rosetta 3.5 by
1.8.4