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
core
scoring
etable
etrie
CountPairData_1_2.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_2.cc
11
/// @brief
12
/// @author Andrew Leaver-Fay (aleaverfay@gmail.com)
13
14
// Unit Headers
15
#include <
core/scoring/etable/etrie/CountPairData_1_2.hh
>
16
17
// Utility headers
18
#include <utility/assert.hh>
19
20
// STL Headers
21
#include <cassert>
22
#include <iostream>
23
24
namespace
core {
25
namespace
scoring {
26
namespace
etable {
27
namespace
etrie {
28
29
30
void
CountPairData_1_2::set_dist_to_connect_point
(
31
Size
entry,
32
Size
ASSERT_ONLY ( connpoint ),
33
Size
connection_dist
34
)
35
{
36
assert( entry > 0 && entry <= 2 );
37
assert( connpoint == 1 );
38
connection_distances_
[ entry - 1 ] = connection_dist;
39
}
40
41
void
42
CountPairData_1_2::print
( std::ostream & os )
const
43
{
44
os <<
"CountPairData_1_2"
<< std::endl;
45
}
46
47
/*
48
void
49
CountPairData_1_2::set_count_pair_data_to_use(
50
Size entry
51
) const
52
{
53
assert( entry == 1 || entry == 2 );
54
connection_distance_at_hand_ = connection_distances_[ entry - 1 ];
55
}
56
*/
57
58
std::ostream &
operator <<
( std::ostream & os,
CountPairData_1_2
const
& cpdat )
59
{
60
cpdat.
print
( os );
61
return
os;
62
}
63
64
}
// namespace etrie
65
}
// namespace etable
66
}
// namespace scoring
67
}
// namespace core
68
Generated on Sat Jun 1 2013 11:36:49 for Rosetta 3.5 by
1.8.4