Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RNA_SecStructInfo.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/methods/RNA_SecStructInfo.hh
11 /// @brief Statistically derived rotamer pair potential class implementation
12 /// @author Phil Bradley
13 /// @author Andrew Leaver-Fay
14 
15 #ifndef INCLUDED_protocols_rna_RNA_SecStructInfo_hh
16 #define INCLUDED_protocols_rna_RNA_SecStructInfo_hh
17 
18 // AUTO-REMOVED #include <core/types.hh>
19 
20 // Project headers
21 #include <core/pose/Pose.fwd.hh>
22 #include <basic/datacache/CacheableData.hh>
23 // AUTO-REMOVED #include <core/conformation/Residue.fwd.hh>
24 // AUTO-REMOVED #include <core/kinematics/Stub.fwd.hh>
25 
26 // Utility headers
27 // AUTO-REMOVED #include <utility/vector1.hh>
28 
29 // Numceric Headers
30 // AUTO-REMOVED #include <numeric/xyzVector.fwd.hh>
31 
32 // C++ headers
33 #include <string>
34 
35 #include <utility/vector1.hh>
36 
37 
38 namespace protocols {
39 namespace rna {
40 
41 ////////////////////////////////////////////////////////////////////////////////////////////////////
42 /// @brief Keep track of RNA centroid information inside the pose.
43 //// Rhiju move this to its own namespace!
44  class RNA_SecStructInfo: public basic::datacache::CacheableData {
45 
46 public:
47 
49 
50  RNA_SecStructInfo( std::string const rna_secstruct_string ) { rna_secstruct_ = rna_secstruct_string; }
51 
52  RNA_SecStructInfo( RNA_SecStructInfo const & src );
53 
54  basic::datacache::CacheableDataOP
55  clone() const
56  {
57  return new RNA_SecStructInfo( *this );
58  }
59 
60  // Undefinded, comented out to make python bindings complile
61  //void
62  //update( core::pose::Pose const & pose );
63 
64  Size
65  size() const {
66  return rna_secstruct_.size();
67  }
68 
69  bool
70  initialized() const
71  {
72  return initialized_;
73  }
74 
75  bool &
77  {
78  return initialized_;
79  }
80 
81  void
82  set_initialized( bool const & setting)
83  {
84  initialized_ = setting;
85  }
86 
87  void
88  set_secstruct( std::string const secstruct ){ rna_secstruct_ = secstruct; initialized_ = true; }
89 
90  std::string const &
91  get_secstruct() const { return rna_secstruct_; }
92 
93 private:
94 
96 
98 
99 };
100 
101 std::string const &
103 
104 void
105 set_rna_secstruct( core::pose::Pose & pose, std::string const rna_secstruct_string ); //By default, unknown, actually.
106 
107 
108 
109 }
110 }
111 
112 #endif