Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ExtendedPoseMover.cc
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/simple_moves/ExtendedPoseMover.cc
11 /// @author Christopher Miles (cmiles@uw.edu)
12 
13 // Unit header
15 
16 // Utility headers
17 #include <utility/tag/Tag.hh>
18 
19 // Project headers
21 #include <core/pose/Pose.hh>
22 // AUTO-REMOVED #include <core/pose/util.hh>
23 #include <protocols/loops/Loops.hh>
24 #include <protocols/loops/util.hh>
25 
26 // Package headers
27 // AUTO-REMOVED #include <protocols/moves/DataMap.hh>
28 #include <protocols/moves/Mover.hh>
29 
30 // C/C++ headers
31 #include <string>
32 
33 #include <utility/vector0.hh>
34 #include <utility/vector1.hh>
35 
36 //Auto Headers
38 #include <utility/excn/Exceptions.hh>
39 #include <core/kinematics/Jump.hh>
40 
41 namespace protocols {
42 namespace simple_moves {
43 
45  const std::string& residue_type_set)
46  : sequence_(sequence), residue_type_set_(residue_type_set) {}
47 
49  return sequence() != "";
50 }
51 
53  // Ensure that this instance is in a valid state
54  assert(valid());
55  pose.clear();
56 
60 }
61 
63  return "ExtendedPoseMover";
64 }
65 
67  return sequence_;
68 }
69 
71  return residue_type_set_;
72 }
73 
76 }
77 
78 void ExtendedPoseMover::residue_type_set(const std::string& residue_type_set) {
80 }
81 
84 }
85 
88 }
89 
94  const core::pose::Pose&) {
95  // required options
96  if (!tag->hasOption("sequence"))
97  throw utility::excn::EXCN_RosettaScriptsOption("Failed to specify required option `sequence`");
98 
99  sequence(tag->getOption<string>("sequence"));
100 
101  // additional options
102  if (tag->hasOption("residue_type_set"))
103  residue_type_set(tag->getOption<string>("residue_type_set"));
104 }
105 
106 } // namespace simple_moves
107 } // namespace protocols