Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RotamerSetsBase.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/pack/RotamerSet/RotamerSets.hh
11 /// @brief RotamerSets base class declaration
12 /// @author Andrew Leaver-Fay (leaverfa@email.unc.edu)
13 
14 
15 #ifndef INCLUDED_core_pack_rotamer_set_RotamerSetsBase_hh
16 #define INCLUDED_core_pack_rotamer_set_RotamerSetsBase_hh
17 
18 // Unit Headers
20 
21 // Package Headers
23 
24 
25 // Utility Headers
26 #include <utility/pointer/ReferenceCount.hh>
27 
28 #include <core/types.hh>
29 
30 namespace core {
31 namespace pack {
32 namespace rotamer_set {
33 
35 {
36 
37 public:
39  virtual ~RotamerSetsBase();
40 
41  virtual uint nrotamers() const = 0;
42  virtual uint nrotamers_for_moltenres( uint ) const = 0;
43 
44  virtual uint total_residue() const = 0;
45 
46  virtual uint nmoltenres() const = 0;
47 
48  virtual
49  uint
50  moltenres_2_resid( uint ) const = 0;
51 
52  virtual
53  uint
54  resid_2_moltenres( uint ) const = 0;
55 
56  virtual
57  uint
58  moltenres_for_rotamer( uint ) const = 0;
59 
60  virtual
61  uint
62  res_for_rotamer( uint ) const = 0;
63 
64  virtual
66  rotamer( uint ) const = 0;
67 
68  virtual
70  rotamer_for_moltenres( uint moltenres_id, uint rotamerid ) const = 0;
71 
72  virtual
73  uint
75 
76  /// @brief convert rotid in full rotamer enumeration into rotamer id on its source residue
77  virtual
78  uint
79  rotid_on_moltenresidue( uint rotid ) const = 0;
80 
81  /// @brief convert moltenres rotid to id in full rotamer enumeration
82  virtual
83  uint
84  moltenres_rotid_2_rotid( uint moltenres, uint moltenresrotid ) const = 0;
85 
86 };
87 
88 } // namespace rotamer_set
89 } // namespace pack
90 } // namespace core
91 
92 
93 #endif // INCLUDED_core_pack_RotamerSet_RotamerSetsBase_HH