Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RemodelConstraintGenerator.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/forge/remodel/RemodelConstraintGenerator.hh
11 ///
12 /// @brief abstract base class that generates constraints during forge loop remodelling
13 /// @author Florian Richter, floric@u.washington.edu, april 2009
14 /// @modified Tom Linsky, tlinsky@uw.edu
15 
16 
17 
18 #ifndef INCLUDED_protocols_forge_remodel_RemodelConstraintGenerator_hh
19 #define INCLUDED_protocols_forge_remodel_RemodelConstraintGenerator_hh
20 
21 //unit headers
24 // AUTO-REMOVED #include <protocols/forge/build/BuildInstruction.hh>
25 
26 //project headers
27 #include <core/pose/Pose.fwd.hh>
29 #ifdef WIN32
30 #include <core/scoring/constraints/Constraint.hh> // WIN32 INCLUDE
31 #endif
33 #include <protocols/moves/Mover.hh>
34 
35 //utility headers
36 #include <utility/pointer/ReferenceCount.hh>
37 
38 #include <utility/vector1.hh>
39 
40 
41 namespace protocols {
42 namespace forge {
43 namespace remodel {
44 
45 
46 /// @brief pure virtual base class
48 {
49 public: // typedefs
50  ///@brief Automatically generated virtual destructor for class deriving directly from ReferenceCount
52 
53  ///@brief generates constraints and adds them to the pose
54  virtual
55  void apply( core::pose::Pose & pose );
56 
57  void parse_my_tag(
58  utility::tag::TagPtr const tag,
62  core::pose::Pose const & );
63 
65 
66 
67 public: //constructors
68 
70 
72 
73 
74 public:
75 
76  //virtual
77  //RemodelConstraintGeneratorOP
78  //clone() const = 0;
79 
80  void
82  core::pose::Pose & pose );
83 
84  void
86  core::pose::Pose & pose ) const;
87 
88  virtual
89  void
91  core::pose::Pose const & pose ) = 0;
92 
93  /// @brief Pose-specific setup routines go here
94  virtual void
95  init( core::pose::Pose const & ) {};
96 
98  vlb() const;
99 
100  void
102 
104  id() const;
105 
106  void
107  set_id( std::string const & id );
108 
109  void
111 
113  seqmap() const;
114 
115  // Undefined, commenting out to fix PyRosetta build core::scoring::constraints::ConstraintCOPs constraints() const;
116 
119 
120 protected:
121 
122  void
124 
125  void
127 
128  void
130 
131  void
133 
134  void
136 
137 private:
138 
140 
142 
144 
146 
147  static std::map<std::string,core::scoring::constraints::ConstraintCOPs> cst_map_;
148 
149 }; //class RemodelConstraintGenerator
150 
151 
152 } //namespace remodel
153 } //namespace forge
154 } //namespace protocols
155 
156 
157 
158 
159 #endif
160