Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RNA_DataReader.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 // CVS information:
4 // $Revision: 1.1.2.1 $
5 // $Date: 2005/11/07 21:05:35 $
6 // $Author: rhiju $
7 // (c) Copyright Rosetta Commons Member Institutions.
8 // (c) This file is part of the Rosetta software suite and is made available under license.
9 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
10 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
11 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
12 
13 #ifndef INCLUDED_protocols_rna_RNA_DataReader_hh
14 #define INCLUDED_protocols_rna_RNA_DataReader_hh
15 
17 #include <core/pose/Pose.fwd.hh>
19 #include <core/kinematics/Jump.hh>
20 #include <core/types.hh>
21 #include <utility/pointer/ReferenceCount.hh>
22 // ObjexxFCL Headers
23 #include <ObjexxFCL/FArray1D.hh>
24 
25 // C++ Headers
26 #include <string>
27 // AUTO-REMOVED #include <map>
28 #include <iostream>
29 // AUTO-REMOVED #include <list>
30 
31 #include <utility/vector1.hh>
32 
33 
34 
35 
36 namespace protocols {
37 namespace rna {
38 
39 
40 //////////////////////////////////////////////////////////////////////////////////////////////
42 public:
43  ///@brief Automatically generated virtual destructor for class deriving directly from ReferenceCount
44  virtual ~RNA_DataReader();
45 
46  //constructor
48 
49  void
50  initialize(
51  core::pose::Pose & pose,
52  std::string const rna_data_file
53  );
54 
55 
56 private:
57 
58  void
59  read_burial_info( std::istringstream & line_stream, ObjexxFCL::FArray1D< bool > & array_to_fill );
60 
61  void
62  read_data_info( std::istringstream & line_stream );
63 
64  void
65  read_data_from_file( std::string const & rna_data_file );
66 
67  void
69 
70 
71  private:
72 
74  ObjexxFCL::FArray1D< bool> backbone_burial_;
75  ObjexxFCL::FArray1D< bool> backbone_exposed_;
76 
77 };
78 
79 
80 } //rna
81 } //protocols
82 
83 #endif