Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PoseCommentsFeatures.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/PoseCommentsFeatures.hh
11 /// @brief report comments stored with each pose
12 /// @author Matthew O'Meara
13 
14 #ifndef INCLUDED_protocols_features_PoseCommentsFeatures_hh
15 #define INCLUDED_protocols_features_PoseCommentsFeatures_hh
16 
17 // Unit Headers
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 // AUTO-REMOVED #include <core/id/AtomID_Map.fwd.hh>
28 #include <utility/sql_database/DatabaseSessionManager.fwd.hh>
29 #include <utility/vector1.fwd.hh>
30 
31 // C++ Headers
32 #include <string>
33 
34 #include <utility/vector1.hh>
35 
36 
37 namespace protocols{
38 namespace features{
39 
41 public:
43 
45  PoseCommentsFeatures const & ) :
47  {}
48 
50 
51  ///@brief return string with class name
53  type_name() const;
54 
55  ///@brief generate the table schemas and write them to the database
56  virtual void
57  write_schema_to_db(utility::sql_database::sessionOP db_session) const;
58 
59  ///@brief return the set of features reporters that are required to
60  ///also already be extracted by the time this one is used.
63 
64  ///@brief collect all the feature data for the pose
67  core::pose::Pose const & pose,
68  utility::vector1< bool > const & /*relevant_residues*/,
69  boost::uuids::uuid struct_id,
70  utility::sql_database::sessionOP db_session);
71 
72  void delete_record(
73  boost::uuids::uuid struct_id,
74  utility::sql_database::sessionOP db_session);
75 
76  void
78  utility::sql_database::sessionOP db_session,
79  boost::uuids::uuid struct_id,
80  core::pose::Pose & pose);
81 
82 };
83 
84 } // features namespace
85 } // protocols namespace
86 
87 #endif // include guard