Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CountPairAll.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 core/scoring/etable/count_pair/CountPairAll.hh
11 /// @brief Count pair for residues where all atom pairs should be counted.
12 /// @author Andrew Leaver-Fay (aleaverfay@gmail.com)
13 
14 
15 #ifndef INCLUDED_core_scoring_etable_count_pair_CountPairAll_hh
16 #define INCLUDED_core_scoring_etable_count_pair_CountPairAll_hh
17 
18 // Unit Headers
20 
21 // Package Headers
23 
24 namespace core {
25 namespace scoring {
26 namespace etable {
27 namespace count_pair {
28 
30 {
31 public:
32  public:
34 
35 public:
36  CountPairAll() {} // inlined when declared on the stack
37  virtual ~CountPairAll() {} // inlined when declared on the stack
38 
39  ///@brief function required by templated functions in atom_pair_energy_inline
40  inline
41  bool
43  int const /*at1*/,
44  int const /*at2*/,
45  Real & /*weight*/,
46  Size & /*path_dist*/
47  ) const
48  {
49  return true ; //compiler, please remove an if(true) test
50  }
51 
52  virtual
53  bool
54  count(
55  int const at1,
56  int const at2,
57  Real & w,
58  Size & path_dist
59  ) const;
60 
61  /// Type resolution functions
62  virtual
63  void
65  conformation::Residue const &,
66  conformation::Residue const &,
68  EnergyMap &
69  ) const;
70 
71  virtual
72  void
74  conformation::Residue const &,
75  conformation::Residue const &,
77  EnergyMap &
78  ) const;
79 
80  virtual
81  void
83  conformation::Residue const &,
84  conformation::Residue const &,
86  EnergyMap &
87  ) const;
88 
89  virtual
90  void
92  conformation::Residue const &,
93  conformation::Residue const &,
95  EnergyMap &
96  ) const;
97 
98 
99  virtual
100  void
102  conformation::Residue const &,
103  conformation::Residue const &,
105  EnergyMap &
106  ) const;
107 
108 
109  /// Type resolution functions
110  virtual
111  void
113  conformation::Residue const &,
114  conformation::Residue const &,
116  EnergyMap &
117  ) const;
118 
119  virtual
120  void
122  conformation::Residue const &,
123  conformation::Residue const &,
125  EnergyMap &
126  ) const;
127 
128  virtual
129  void
131  conformation::Residue const &,
132  conformation::Residue const &,
134  EnergyMap &
135  ) const;
136 
137  virtual
138  void
140  conformation::Residue const &,
141  conformation::Residue const &,
143  EnergyMap &
144  ) const;
145 
146 
147  virtual
148  void
150  conformation::Residue const &,
151  conformation::Residue const &,
153  EnergyMap &
154  ) const;
155 
156 };
157 
158 } // namespace count_pair
159 } // namespace etable
160 } // namespace scoring
161 } // namespace core
162 
163 #endif