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
forge
build
RelativeConnectRight.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/build/RelativeConnectRight.hh
11
/// @brief version of ConnectRight instruction that depends upon results from
12
/// another BuildInstruction
13
/// @author Yih-En Andrew Ban (yab@u.washington.edu)
14
15
#ifndef INCLUDED_protocols_forge_build_RelativeConnectRight_hh
16
#define INCLUDED_protocols_forge_build_RelativeConnectRight_hh
17
18
// unit headers
19
#include <
protocols/forge/build/RelativeConnectRight.fwd.hh
>
20
21
// package headers
22
#include <
protocols/forge/build/ConnectRight.hh
>
23
#include <
protocols/forge/build/RelativeSequencePosition.fwd.hh
>
24
25
#include <
protocols/forge/build/BuildInstruction.fwd.hh
>
26
27
#include <utility/vector1.hh>
28
29
30
31
namespace
protocols {
32
namespace
forge {
33
namespace
build {
34
35
36
/// @brief version of ConnectRight instruction that depends upon results from
37
/// another BuildInstruction
38
class
RelativeConnectRight
:
public
ConnectRight
{
39
40
41
private
:
// typedefs
42
43
44
typedef
ConnectRight
Super
;
45
46
47
public
:
// typedefs
48
49
50
typedef
Super::Size
Size
;
51
52
typedef
Super::ResidueTypeSetCAP
ResidueTypeSetCAP
;
53
typedef
Super::LengthEvent
LengthEvent
;
54
typedef
Super::MoveMap
MoveMap
;
55
typedef
Super::Pose
Pose
;
56
57
typedef
Super::Positions
Positions
;
58
typedef
Super::String
String
;
59
60
typedef
core::kinematics::Jump
Jump
;
61
62
63
public
:
// construct/destruct
64
65
66
/// @brief default constructor
67
RelativeConnectRight
();
68
69
70
/// @brief RelativeSequencePosition + position on-right jump constructor
71
/// @param[in] rp RelativeSequencePosition defining the type of computation to perform.
72
/// (will be cloned)
73
/// @param[in] right_position connect at this position on 'pose_right'
74
/// @param[in] pose_right connect this pose to the right of pose_left when
75
/// modify( pose_left ) is called
76
RelativeConnectRight
(
77
RelativeSequencePositionOP
const
& rp,
78
Size
const
right_position
,
79
Pose
const
&
pose_right
80
);
81
82
83
/// @brief copy constructor
84
RelativeConnectRight
(
RelativeConnectRight
const
& rval );
85
86
87
/// @brief default destructor
88
virtual
89
~RelativeConnectRight
();
90
91
92
public
:
// assignment
93
94
95
/// @brief copy assignment
96
RelativeConnectRight
&
operator =
(
RelativeConnectRight
const
& rval );
97
98
99
public
:
// virtual constructors
100
101
102
/// @brief clone this object
103
virtual
104
BuildInstructionOP
clone
()
const
;
105
106
107
public
:
// virtual Pose modification methods
108
109
110
/// @brief do the actual work of modifying the Pose
111
virtual
112
void
modify_impl
(
Pose
& pose_left );
113
114
115
public
:
// instruction comparison
116
117
118
/// @brief return set of any fixed positions necessary with respect to the original
119
/// interval and original Pose numbering
120
/// @return always empty set, no fixed positions
121
/// @remarks Used for ensuring build regions for instructions do not overlap and
122
/// so that jumps may be placed correctly. There is currently no way to
123
/// represent the dependent fixed position, so we're forced to return an empty
124
/// set.
125
virtual
126
Positions
original_fixed_positions
()
const
;
127
128
129
private
:
// data
130
131
132
/// @brief function object used to compute the 'left_position' in
133
/// ConnectRight
134
RelativeSequencePositionOP
rp_
;
135
136
137
};
138
139
140
}
// namespace build
141
}
// namespace forge
142
}
// namespace protocols
143
144
145
#endif
/* INCLUDED_protocols_forge_build_RelativeConnectRight_HH */
Generated on Sat Jun 1 2013 11:51:31 for Rosetta 3.5 by
1.8.4