Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SecondaryStructureSegmentFeatures.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 #ifndef INCLUDED_protocols_features_SecondaryStructureSegmentFeatures_hh
11 #define INCLUDED_protocols_features_SecondaryStructureSegmentFeatures_hh
12 
13 // Unit Headers
16 
17 //External
18 #include <boost/uuid/uuid.hpp>
19 
20 // Project Headers
21 #include <core/pose/Pose.fwd.hh>
25 #include <utility/vector1.fwd.hh>
26 
27 // C++ Headers
28 #include <string>
29 
31 #include <utility/vector1.hh>
32 
33 
34 namespace protocols{
35 namespace features{
36 
38 
39 public:
41 
44 
46 
48 
49  ///@brief return string with class name
51  type_name() const;
52 
53  ///@brief generate the table schemas and write them to the database
54  virtual void
55  write_schema_to_db(utility::sql_database::sessionOP db_session) const;
56 
57  ///@brief return the set of features reporters that are required to
58  ///also already be extracted by the time this one is used.
61 
62  bool
63  is_loop(std::string dssp_code);
64 
65  bool
66  is_helix(std::string dssp_code);
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  ///@brief collect all the feature data for the pose
79  core::pose::Pose const & pose,
80  utility::vector1< bool > const & relevant_residues,
81  boost::uuids::uuid struct_id,
82  utility::sql_database::sessionOP db_session
83  );
84 };
85 
86 } // namespace
87 } // namespace
88 
89 #endif // include guard