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
topology_broker
SequenceClaimer.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 TopologyBroker
11
/// @brief top-class (Organizer) of the TopologyBroker mechanism
12
/// @detailed responsibilities:
13
/// @author Oliver Lange
14
15
16
#ifndef INCLUDED_protocols_topology_broker_SequenceClaimer_hh
17
#define INCLUDED_protocols_topology_broker_SequenceClaimer_hh
18
19
20
// Unit Headers
21
#include <
protocols/topology_broker/SequenceClaimer.fwd.hh
>
22
23
// Package Headers
24
#include <
protocols/topology_broker/DofClaim.fwd.hh
>
25
#include <
protocols/topology_broker/TopologyClaimer.hh
>
26
27
// Project Headers
28
29
// ObjexxFCL Headers
30
31
// Utility headers
32
//#include <utility/io/izstream.hh>
33
//#include <utility/io/ozstream.hh>
34
//#include <utility/io/util.hh>
35
//#include <basic/Tracer.hh>
36
//#include <basic/options/option.hh>
37
38
#include <utility/pointer/ReferenceCount.hh>
39
40
//#include <basic/options/option_macros.hh>
41
42
//// C++ headers
43
//#include <fstream>
44
// AUTO-REMOVED #include <istream>
45
#include <string>
46
47
#include <utility/vector1.hh>
48
49
50
// option key includes
51
52
53
namespace
protocols {
54
namespace
topology_broker {
55
56
class
SequenceClaimer
:
public
virtual
TopologyClaimer
{
57
typedef
TopologyClaimer
Parent
;
58
public
:
59
SequenceClaimer
();
60
SequenceClaimer
(
std::string
const
& sequence,
std::string
const
& rsd_type_set_identifier,
std::string
label
);
61
62
virtual
TopologyClaimerOP
clone
()
const
;
63
64
virtual
void
generate_sequence_claims
(
DofClaims
& );
65
66
///@brief is called after all round1 claims have been approved or retracted -- additional claims can be issued in this round
67
///if this Sequence has been moved from position 1 --- needs to issue a fixed CUT in the fold-tree
68
virtual
void
generate_claims
(
DofClaims
& );
69
70
// virtual bool allow_claim( DofClaim const& foreign_claim );
71
72
virtual
void
initialize_residues
(
core::pose::Pose
&,
SequenceClaimOP
init_claim,
DofClaims
& failed_to_init );
73
74
virtual
void
initialize_dofs
(
core::pose::Pose
& pose,
DofClaims
const
& init_claims,
DofClaims
& failed_to_init );
75
76
// virtual bool reinitialize_residues() {
77
// return offset_ == 0;
78
// }
79
///@brief type() is specifying the output name of the TopologyClaimer
80
virtual
std::string
type
()
const
{
81
return
_static_type_name
();
82
}
83
84
static
std::string
_static_type_name
() {
85
return
"SequenceClaimer"
;
86
}
87
88
core::Size
offset
() {
89
return
offset_
;
//where in the pose does this sequence start?
90
}
91
92
void
set_sequence
(
std::string
const
&
str
);
93
94
protected
:
95
virtual
bool
read_tag
(
std::string
tag, std::istream& );
96
virtual
void
init_after_reading
();
97
98
private
:
99
std::string
sequence_
;
100
std::string
annotated_sequence_
;
101
std::string
rsd_type_set_
;
102
core::Size
offset_
;
103
core::Size
nr_res_
;
104
};
//class SequenceClaimer
105
106
}
107
}
108
109
#endif
Generated on Sat Jun 1 2013 12:24:57 for Rosetta 3.5 by
1.8.4