Rosetta 3.5
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
protocols
docking
stateless
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
>
19
#include <
protocols/docking/stateless/SaneDockingProtocol.hh
>
20
21
#include <utility/vector1.hh>
22
23
24
namespace
protocols {
25
namespace
docking
{
26
namespace
stateless {
27
28
void
29
SaneDockingProtocol::apply
(
core::pose::Pose
& pose ) {
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
}
39
DockingProtocol::apply
(pose);
40
}
41
42
std::string
43
SaneDockingProtocol::get_name
()
const
{
44
return
"DockingProtocol"
;
45
}
46
47
}
// stateless
48
}
// docking
49
}
// protocols
Generated on Sat Jun 1 2013 11:47:31 for Rosetta 3.5 by
1.8.4