Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
StructureScoresFeatures.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/StructureScoresFeatures.hh
11 /// @brief Structure scores to features Statistics Scientific Benchmark
12 /// @author Matthew O'Meara
13 
14 #ifndef INCLUDED_protocols_features_StructureScoresFeatures_hh
15 #define INCLUDED_protocols_features_StructureScoresFeatures_hh
16 
17 // Unit Headers
20 
21 //External
22 #include <boost/uuid/uuid.hpp>
23 
24 // Project Headers
25 #include <core/pose/Pose.fwd.hh>
26 // AUTO-REMOVED #include <core/scoring/ScoreFunction.hh>
30 // AUTO-REMOVED #include <utility/sql_database/DatabaseSessionManager.hh>
31 #include <utility/vector1.fwd.hh>
32 
33 // C++ Headers
34 #include <string>
35 
38 #include <utility/vector1.hh>
39 
40 
41 namespace protocols{
42 namespace features{
43 
45 public:
47 
50 
52 
53  virtual ~StructureScoresFeatures();
54 
55  ///@brief return string with class name
57  type_name() const;
58 
59  ///@brief generate the table schemas and write them to the database
60  virtual void
61  write_schema_to_db(utility::sql_database::sessionOP db_session) const;
62 
63  ///@brief return the set of features reporters that are required to
64  ///also already be extracted by the time this one is used.
67 
68  void
70  utility::tag::TagPtr const tag,
72  protocols::filters::Filters_map const & /*filters*/,
73  protocols::moves::Movers_map const & /*movers*/,
74  core::pose::Pose const & /*pose*/);
75 
76 
77  void
79  core::pose::Pose const & pose_in,
80  utility::vector1<bool> const & relevant_residues,
81  core::scoring::EnergyMap & emap) const;
82 
83  ///@brief collect all the feature data for the pose
86  core::pose::Pose const & pose,
87  utility::vector1< bool > const & relevant_residues,
88  boost::uuids::uuid struct_id,
89  utility::sql_database::sessionOP db_session
90  );
91 
92  void delete_record(
93  boost::uuids::uuid struct_id,
94  utility::sql_database::sessionOP db_session
95  );
96 
97  void
99  core::pose::Pose const & pose,
100  utility::vector1< bool > const & relevant_residues,
101  boost::uuids::uuid struct_id,
102  utility::sql_database::sessionOP db_session
103  ) const;
104 
105 private:
107 
108 };
109 
110 } // namespace
111 } // namespace
112 
113 #endif // include guard