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
components
BDRSegmentInfo.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/components/BDRSegmentInfo.hh
11
/// @brief
12
/// @author Yih-En Andrew Ban (yab@u.washington.edu)
13
14
#ifndef INCLUDED_protocols_forge_components_BDRSegmentInfo_hh
15
#define INCLUDED_protocols_forge_components_BDRSegmentInfo_hh
16
17
// unit headers
18
#include <
protocols/forge/components/BDRSegmentInfo.fwd.hh
>
19
20
// type headers
21
#include <
core/types.hh
>
22
23
// package headers
24
#include <
protocols/forge/build/Interval.hh
>
25
26
// project headers
27
28
29
// utility headers
30
#include <utility/exit.hh>
31
32
// C++ headers
33
#include <string>
34
35
//Auto Headers
36
#include <
core/pose/annotated_sequence.hh
>
37
38
39
40
namespace
protocols {
41
namespace
forge {
42
namespace
components {
43
44
45
struct
BDRSegmentInfo
{
46
47
48
typedef
protocols::forge::build::Interval
Interval
;
49
50
typedef
std::string
String
;
51
52
53
/// @brief default constructor
54
inline
55
BDRSegmentInfo
() {}
56
57
58
/// @brief value constructor
59
inline
60
BDRSegmentInfo
(
61
Interval
const
& ival,
62
String
const
& secstruct,
63
String
const
& aa_build =
String
(),
64
String
const
& aa_dr =
String
()
65
) :
66
interval
( ival ),
67
ss
( secstruct ),
68
aa_during_build
( aa_build ),
69
aa_during_design_refine
( aa_dr )
70
{
71
runtime_assert(
72
aa_during_build
.empty() ||
73
ss
.length() ==
core::pose::annotated_to_oneletter_sequence
(
aa_during_build
).length()
74
);
75
76
runtime_assert(
77
aa_during_design_refine
.empty() ||
78
ss
.length() ==
core::pose::annotated_to_oneletter_sequence
(
aa_during_design_refine
).length()
79
);
80
}
81
82
83
// @brief default destructor
84
inline
85
~BDRSegmentInfo
() {}
86
87
88
/// @brief interval specifying the residues to remodel
89
Interval
interval
;
90
91
92
/// @brief secondary structure string, also specifies the length of the
93
/// new section
94
String
ss
;
95
96
97
/// @brief annotated amino acid string, specifies the amino acid sequence
98
/// of the new section during centroid build; can be empty
99
/// @remarks if defined, the *one-letter* aa string must be equal in
100
/// length to the secondary structure string
101
String
aa_during_build
;
102
103
104
/// @brief annotated amino acid string, specifies the amino acid sequence
105
/// of the new section during design-refine; can be empty
106
/// @remarks if defined, the *one-letter* aa string must be equal in
107
/// length to the secondary structure string
108
String
aa_during_design_refine
;
109
110
111
};
112
113
114
}
// namespace components
115
}
// namespace forge
116
}
// namespace protocols
117
118
119
#endif
/* INCLUDED_protocols_forge_components_BDR_HH */
Generated on Sat Jun 1 2013 11:51:53 for Rosetta 3.5 by
1.8.4