Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ScaffoldBuildPoint.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/ScaffoldBuildPoint.cc
12 /// @brief Class implementations for the launch point geometry on the Scaffold.
13 /// @author Alex Zanghellini (zanghell@u.washington.edu)
14 /// @author Andrew Leaver-Fay (aleaverfay@gmail.com), porting to mini
15 
16 // Unit headers
18 
19 // Package headers
20 // AUTO-REMOVED #include <protocols/match/output/PoseInserter.hh>
22 
23 #include <utility/vector1.hh>
24 
25 
26 
27 // Project headers
28 
29 // Numeric headers
30 
31 namespace protocols {
32 namespace match {
33 namespace upstream {
34 
36 ScaffoldBuildPoint::ScaffoldBuildPoint( Size index ) : index_( index ) {}
38 
39 bool ScaffoldBuildPoint::compatible( ScaffoldBuildPoint const & other, bool first_dispatch ) const
40 {
41  if ( ! first_dispatch ) {
42  utility_exit_with_message( "CRITICAL ERROR: ScaffoldBuildPoint::compatible() double-dispatch failure" );
43  }
44  return other.compatible( *this, false );
45 }
46 
47 bool ScaffoldBuildPoint::compatible( OriginalBackboneBuildPoint const & other, bool first_dispatch ) const
48 {
49  if ( ! first_dispatch ) {
50  utility_exit_with_message( "CRITICAL ERROR: ScaffoldBuildPoint::compatible() double-dispatch failure" );
51  }
52  return other.compatible( *this, false );
53 }
54 
55 
56 void
58  index_ = setting;
59 }
60 
61 
62 
63 }
64 }
65 }
66