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
features
SaltBridgeFeatures.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/features/SaltBridgeFeatures.hh
11
/// @brief report comments stored with each pose
12
/// @author Matthew O'Meara
13
14
#ifndef INCLUDED_protocols_features_SaltBridgeFeatures_hh
15
#define INCLUDED_protocols_features_SaltBridgeFeatures_hh
16
17
// Unit Headers
18
#include <
protocols/features/FeaturesReporter.hh
>
19
#include <
protocols/features/SaltBridgeFeatures.fwd.hh
>
20
21
//External
22
#include <boost/uuid/uuid.hpp>
23
24
// Project Headers
25
#include <
core/types.hh
>
26
// AUTO-REMOVED #include <core/pose/Pose.hh>
27
#include <utility/vector1.fwd.hh>
28
29
// C++ Headers
30
#include <string>
31
32
#include <utility/vector1.hh>
33
34
35
namespace
protocols{
36
namespace
features{
37
38
class
SaltBridgeFeatures
:
public
FeaturesReporter
{
39
public
:
40
SaltBridgeFeatures
();
41
42
SaltBridgeFeatures
(
core::Length
distance_cutoff
);
43
44
SaltBridgeFeatures
(
SaltBridgeFeatures
const
& src);
45
46
virtual
~SaltBridgeFeatures
(){}
47
48
core::Length
49
distance_cutoff
()
const
{
return
distance_cutoff_
; }
50
51
void
52
distance_cutoff
(
core::Length
d) {
distance_cutoff_
= d; }
53
54
///@brief return string with class name
55
std::string
56
type_name
()
const
;
57
58
///@brief generate the table schemas and write them to the database
59
void
60
write_schema_to_db
(
61
utility::sql_database::sessionOP db_session)
const
;
62
63
private
:
64
///@brief generate the salt_bridges table schema
65
void
66
write_salt_bridges_table_schema
(
67
utility::sql_database::sessionOP db_session)
const
;
68
69
public
:
70
///@brief return the set of features reporters that are required to
71
///also already be extracted by the time this one is used.
72
utility::vector1<std::string>
73
features_reporter_dependencies
()
const
;
74
75
///@brief collect all the feature data for the pose
76
core::Size
77
report_features
(
78
core::pose::Pose
const
& pose,
79
utility::vector1< bool >
const
&,
80
boost::uuids::uuid struct_id,
81
utility::sql_database::sessionOP db_session);
82
83
private
:
84
85
core::Length
distance_cutoff_
;
86
87
};
88
89
90
}
// features namespace
91
}
// protocols namespace
92
93
#endif // include guard
Generated on Sat Jun 1 2013 11:49:23 for Rosetta 3.5 by
1.8.4