Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CountPairNone.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/CountPairNone.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_CountPairNone_hh
16 #define INCLUDED_core_scoring_etable_count_pair_CountPairNone_hh
17 
18 // Unit Headers
20 
21 // Package Headers
23 
27 
28 namespace core {
29 namespace scoring {
30 namespace etable {
31 namespace count_pair {
32 
34 {
35 public:
36  public:
38 
39 public:
40  CountPairNone();
41  virtual ~CountPairNone();
42 
43  ///@brief function required by templated functions in atom_pair_energy_inline
44  // -- those functions are in fact never reached since residue_atom_pair_energy simply returns
45  // without ever doing any work. This function is merely to mimic the style in the
46  // other count pair classes where the nblist needs to ask which pairs count: the nblist
47  // uses the count() method, which in tern invokes operator().
48  inline
49  bool
51  int const /*at1*/,
52  int const /*at2*/,
53  Real & /*weight*/,
54  Size & /*path_dist*/
55  ) const
56  {
57  return false;
58  }
59 
60  virtual
61  bool
62  count(
63  int const at1,
64  int const at2,
65  Real & w,
66  Size & path_dist
67  ) const;
68 
69  /// Type resolution functions
70  virtual
71  void
73  conformation::Residue const &,
74  conformation::Residue const &,
76  EnergyMap &
77  ) const;
78 
79  virtual
80  void
82  conformation::Residue const &,
83  conformation::Residue const &,
85  EnergyMap &
86  ) const;
87 
88  virtual
89  void
91  conformation::Residue const &,
92  conformation::Residue const &,
94  EnergyMap &
95  ) const;
96 
97  virtual
98  void
100  conformation::Residue const &,
101  conformation::Residue const &,
103  EnergyMap &
104  ) const;
105 
106 
107  virtual
108  void
110  conformation::Residue const &,
111  conformation::Residue const &,
113  EnergyMap &
114  ) const;
115 
116  /// Type resolution functions
117  virtual
118  void
120  conformation::Residue const &,
121  conformation::Residue const &,
123  EnergyMap &
124  ) const;
125 
126  virtual
127  void
129  conformation::Residue const &,
130  conformation::Residue const &,
132  EnergyMap &
133  ) const;
134 
135  virtual
136  void
138  conformation::Residue const &,
139  conformation::Residue const &,
141  EnergyMap &
142  ) const;
143 
144  virtual
145  void
147  conformation::Residue const &,
148  conformation::Residue const &,
150  EnergyMap &
151  ) const;
152 
153 
154  virtual
155  void
157  conformation::Residue const &,
158  conformation::Residue const &,
160  EnergyMap &
161  ) const;
162 
163 };
164 
165 } // namespace count_pair
166 } // namespace etable
167 } // namespace scoring
168 } // namespace core
169 
170 #endif