Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ResidueTotalScoresFeatures.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/ResidueTotalScoresFeatures.hh
11 /// @brief report the total per residue score to a features database
12 /// @author Matthew O'Meara (mattjomeara@gmail.com)
13 
14 #ifndef INCLUDED_protocols_features_ResidueTotalScoresFeatures_hh
15 #define INCLUDED_protocols_features_ResidueTotalScoresFeatures_hh
16 
17 // Unit Headers
20 
21 //External
22 #include <boost/uuid/uuid.hpp>
23 
24 // Project Headers
25 #include <core/types.hh>
26 #include <core/pose/Pose.fwd.hh>
30 #include <utility/vector1.fwd.hh>
31 #include <utility/tag/Tag.fwd.hh>
32 
33 // C++ Headers
34 #include <string>
35 
37 #include <utility/vector1.hh>
38 
39 
40 namespace protocols{
41 namespace features{
42 
44 public:
46 
49 
51 
53 
54  ///@brief return string with class name
56  type_name() const;
57 
58  ///@brief generate the table schemas and write them to the database
59  void
61  utility::sql_database::sessionOP db_session) const;
62 
63 private:
64  ///@brief generate the residue_total_scores_1b table schema
65  void
67  utility::sql_database::sessionOP db_session) const;
68 
69 private:
70  ///@brief generate the residue_total_scores_1b table schema
71  void
73  core::pose::Pose const & pose,
74  utility::vector1< bool > const & relevant_residues,
75  boost::uuids::uuid const struct_id,
76  utility::sql_database::sessionOP db_session) const;
77 
78 public:
79  ///@brief return the set of features reporters that are required to
80  ///also already be extracted by the time this one is used.
83 
84  void
86  utility::tag::TagPtr const tag,
88  protocols::filters::Filters_map const & /*filters*/,
89  protocols::moves::Movers_map const & /*movers*/,
90  core::pose::Pose const & /*pose*/);
91 
92 
93  ///@brief collect all the feature data for the pose
96  core::pose::Pose const & pose,
97  utility::vector1< bool > const & relevant_residues,
98  boost::uuids::uuid struct_id,
99  utility::sql_database::sessionOP db_session);
100 
101 private:
102 
104 
105 };
106 
107 } // namespace
108 } // namespace
109 
110 #endif // include guard