Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FourAtomsConstraintData.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 protocols/frag_picker/scores/FourAtomsConstraintData.hh
11 /// @brief provides a holder for data necessary to create a single constraint based on four atoms
12 /// @author Dominik Gront (dgront@chem.uw.edu.pl)
13 
14 #ifndef INCLUDED_protocols_frag_picker_scores_FourAtomsConstraintData_hh
15 #define INCLUDED_protocols_frag_picker_scores_FourAtomsConstraintData_hh
16 
18 
19 // mini
21 // AUTO-REMOVED #include <core/scoring/constraints/FuncFactory.hh>
22 
23 // utility headers
24 #include <utility/pointer/ReferenceCount.hh>
25 
26 
27 namespace protocols {
28 namespace frag_picker {
29 namespace scores {
30 
31 /// @brief Holds data about a single four-body constraint in the form usefull for InterbondAngleScore and DihedralConstraintsScore classes
32 /// @detailed This class is used to store data obtained from file before score method is created
34 public:
35 
36  /// @brief makes a new object
38  Size first_atom, Size second_offset, Size second_atom,
39  Size third_offset, Size third_atom, Size fourth_offset,
40  Size fourth_atom);
41 
42  inline Size get_first_atom() {
43  return first_atom_;
44  }
45 
46  inline Size get_second_atom() {
47  return second_atom_;
48  }
49 
50  inline Size get_third_atom() {
51  return third_atom_;
52  }
53 
54  inline Size get_fourth_atom() {
55  return fourth_atom_;
56  }
57 
59  return second_offset_;
60  }
61 
63  return third_offset_;
64  }
65 
67  return fourth_offset_;
68  }
70  return func_;
71  }
72 
73  virtual ~FourAtomsConstraintData();
74 private:
83 };
84 
85 } // scores
86 } // frag_picker
87 } // protocols
88 
89 #endif // INCLUDED_protocols_frag_picker_scores_FourAtomsConstraintData_HH