Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CountPairData_1_1.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 //
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 core/scoring/etable/etrie/CountPairData_1_1.cc
11 /// @brief CountPair Data for a residue with one connection point
12 /// @author Andrew Leaver-Fay (aleaverfay@gmail.com)
13 
14 // Unit Headers
16 
17 #include <utility/assert.hh>
18 
19 // STL Headers
20 #include <cassert>
21 #include <iostream>
22 
23 namespace core {
24 namespace scoring {
25 namespace etable {
26 namespace etrie {
27 
29  Size ASSERT_ONLY(entry),
30  Size ASSERT_ONLY(connpoint),
31  Size connection_dist
32 )
33 {
34  assert( entry == 1 );
35  assert( connpoint == 1 );
36  connection_distance_ = connection_dist;
37 }
38 
39 void
40 CountPairData_1_1::print( std::ostream & os ) const
41 {
42  os << "CountPairData_1_1: " << connection_distance_ << std::endl;
43 }
44 
45 /*
46 void
47 CountPairData_1_1::set_count_pair_data_to_use(
48  Size ASSERT_ONLY(entry)
49 ) const
50 {
51  assert( entry == 0 );
52 }
53 */
54 
55 std::ostream & operator << ( std::ostream & os, CountPairData_1_1 const & cpdat )
56 {
57  cpdat.print( os );
58  return os;
59 }
60 
61 } // namespace etrie
62 } // namespace etable
63 } // namespace scoring
64 } // namespace core
65