Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FourAtomsConstraintData.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 && 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 
15 
16 
17 namespace protocols {
18 namespace frag_picker {
19 namespace scores {
20 
22 
23 /// @brief makes a new object
25  Size first_atom, Size second_offset, Size second_atom,
26  Size third_offset, Size third_atom, Size fourth_offset,
27  Size fourth_atom) {
28  func_ = function;
29  first_atom_ = first_atom;
30  second_atom_ = second_atom;
31  third_atom_ = third_atom;
32  fourth_atom_ = fourth_atom;
33  second_offset_ = second_offset;
34  third_offset_ = third_offset;
35  fourth_offset_ = fourth_offset;
36 }
37 
38 }
39 }
40 }