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
match
upstream
UpstreamBuilder.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
// :noTabs=false:tabSize=4:indentSize=4:
4
//
5
// (c) Copyright Rosetta Commons Member Institutions.
6
// (c) This file is part of the Rosetta software suite and is made available under license.
7
// (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
8
// (c) For more information, see http://www.rosettacommons.org. Questions about this can be
9
// (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
10
11
/// @file protocols/match/upstream/UpstreamBuilder.cc
12
/// @brief
13
/// @author Alex Zanghellini (zanghell@u.washington.edu)
14
/// @author Andrew Leaver-Fay (aleaverfay@gmail.com), porting to mini
15
16
// Unit header
17
#include <
protocols/match/upstream/UpstreamBuilder.hh
>
18
19
// Package header
20
#include <
protocols/match/BumpGrid.hh
>
21
#include <
protocols/match/upstream/ProteinUpstreamBuilder.hh
>
22
23
#include <utility/vector1.hh>
24
25
26
27
namespace
protocols {
28
namespace
match
{
29
namespace
upstream {
30
31
UpstreamBuilder::~UpstreamBuilder
() {}
32
33
bool
UpstreamBuilder::compatible
(
34
Hit
const
& my_hit,
35
ScaffoldBuildPoint
const
& build_point_mine,
36
UpstreamBuilder
const
& other,
37
Hit
const
& other_hit,
38
ScaffoldBuildPoint
const
& build_point_other,
39
bool
first_dispatch
40
)
const
41
{
42
if
( ! first_dispatch ) {
43
utility_exit_with_message(
"CRITICAL ERROR: UpstreamBuilder::compatible() double-dispatch failure"
);
44
}
45
return
other.
compatible
( other_hit, build_point_other, *
this
, my_hit, build_point_mine,
false
);
46
47
}
48
49
bool
UpstreamBuilder::compatible
(
50
Hit
const
& my_hit,
51
ScaffoldBuildPoint
const
& build_point_mine,
52
ProteinUpstreamBuilder
const
& other,
53
Hit
const
& other_hit,
54
ScaffoldBuildPoint
const
& build_point_other,
55
bool
first_dispatch
56
)
const
57
{
58
if
( ! first_dispatch ) {
59
utility_exit_with_message(
"CRITICAL ERROR: UpstreamBuilder::compatible() double-dispatch failure"
);
60
}
61
return
other.
compatible
( other_hit, build_point_other, *
this
, my_hit, build_point_mine,
false
);
62
63
}
64
65
66
void
67
UpstreamBuilder::set_bb_grid
(
BumpGridCOP
bbgrid )
68
{
69
bbgrid_
=
bbgrid
;
70
}
71
72
UpstreamResidueProcessor::~UpstreamResidueProcessor
() {}
73
74
75
}
76
}
77
}
Generated on Sat Jun 1 2013 11:59:53 for Rosetta 3.5 by
1.8.4