Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ProtocolFeatures.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/ProtocolFeatures.hh
11 /// @brief report Orbital geometry and scores to features Statistics Scientific Benchmark
12 /// @author Matthew O'Meara (mattjomeara@gmail.com)
13 
14 #ifndef INCLUDED_protocols_features_ProtocolFeatures_hh
15 #define INCLUDED_protocols_features_ProtocolFeatures_hh
16 
17 // Unit Headers
20 
21 // Project Headers
22 #include <core/pose/Pose.fwd.hh>
23 #include <core/types.hh>
24 #include <utility/vector1.hh>
25 #include <utility/exit.hh>
26 
27 // C++ Headers
28 #include <string>
29 
30 
31 
32 namespace protocols{
33 namespace features{
34 
36 public:
38 
39  ProtocolFeatures( ProtocolFeatures const & src );
40 
41  virtual ~ProtocolFeatures();
42 
43  ///@brief return string with class name
45  type_name() const;
46 
47  ///@brief generate the table schemas and write them to the database
48  virtual void
49  write_schema_to_db(utility::sql_database::sessionOP db_session) const;
50 
51 
52  ///@brief return the set of features reporters that are required to
53  ///also already be extracted by the time this one is used.
56 
57  ///@brief return sql statements that setup helpful indices on the tables
59  indices() const;
60 
61  ///@brief collect all the feature data for the pose
62  ///if protocol_id is 0 autoincrement the protocol_id
65  core::Size protocol_id,
66  utility::sql_database::sessionOP db_session
67  );
68 
69  ///@brief collect all the feature data for the pose
72  core::pose::Pose const &,
74  boost::uuids::uuid,
75  utility::sql_database::sessionOP
76  ) {
77  utility_exit_with_message(
78  "The protocol features reporter is a special feature reporter that "
79  "describes everthing about the execution of a Rosetta. Please use the other "
80  "interface for report_features");
81  return 0;
82  }
83 
84 
85 };
86 
87 } // features namespace
88 } // protocols namespace
89 
90 #endif // include guard