Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RNA_DataInfo.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 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/methods/RNA_DataInfo.cc
11 /// @brief Statistically derived rotamer pair potential class implementation
12 /// @author Phil Bradley
13 /// @author Andrew Leaver-Fay
14 /// @author Rhiju Das
15 
16 
17 // Unit headers
19 // AUTO-REMOVED #include <core/scoring/rna/RNA_DataInfo.fwd.hh>
20 
21 // Package headers
22 // AUTO-REMOVED #include <core/scoring/rna/RNA_Util.hh>
23 
24 // Project headers
25 // AUTO-REMOVED #include <core/chemical/AA.hh>
26 // AUTO-REMOVED #include <core/chemical/VariantType.hh>
27 // AUTO-REMOVED #include <core/conformation/Residue.hh>
28 // AUTO-REMOVED #include <core/pose/Pose.hh>
29 
30 // Utility headers
31 // AUTO-REMOVED #include <numeric/xyzMatrix.hh>
32 // AUTO-REMOVED #include <numeric/xyz.functions.hh>
33 
34 #include <utility/vector1.hh>
35 
36 
37 // C++
38 
39 ///////////////////////////////////////////////////////
40 // Keep track of information from, e.g., chemical
41 // accessibility experiments -- useful for scoring.
42 ///////////////////////////////////////////////////////
43 
44 namespace core {
45 namespace scoring {
46 namespace rna {
47 
48 
49 /// @details Copy constructors must copy all data, not just some...
51  CacheableData()
52 {
53  *this = src;
54 }
55 
58 
59  rna_data_ = src.rna_data_;
62  return *this;
63 
64 }
65 
66 ////////////////////////////////////////////////////////
67 void
69 {
70  rna_data_.clear();
71 }
72 
73 
74 }
75 }
76 }