Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SaneDockingProtocol.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 // ThiS file is part of the Rosetta software suite and is made available under license.
5 // The Rosetta software is developed by the contributing members of the Rosetta Commons consortium.
6 // (C) 199x-2009 Rosetta Commons participating institutions and developers.
7 // For more information, see http://www.rosettacommons.org/.
8 // (c) Copyright Rosetta Commons Member Institutions.
9 // (c) This file is part of the Rosetta software suite and is made available under license.
10 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
11 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
12 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
13 
14 /// @file SaneDockingProtocol.cc
15 /// @author James Thompson
16 
17 #include <core/pose/Pose.hh>
18 #include <core/pose/Pose.fwd.hh>
20 
21 #include <utility/vector1.hh>
22 
23 
24 namespace protocols {
25 namespace docking {
26 namespace stateless {
27 
28 void
30  using namespace core::pose;
31  if ( !get_input_pose() ) {
32  PoseCOP input_pose_op = new core::pose::Pose(pose);
33  set_input_pose (input_pose_op);
34  }
35  if ( !get_native_pose() ) {
36  PoseCOP native_pose_op = new core::pose::Pose(pose);
37  set_native_pose(native_pose_op);
38  }
40 }
41 
44  return "DockingProtocol";
45 }
46 
47 } // stateless
48 } // docking
49 } // protocols