Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JCouplingIO.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 // This file is part of the Rosetta software suite and is made available under license.
5 // The Rosetta software is developed by the contributing members of the Rosetta Commons consortium.
6 // (C) 199x-2009 Rosetta Commons participating institutions and developers.
7 // For more information, see http://www.rosettacommons.org/.
8 
9 /// @file protocols/frag_picker/CSTalosIO.hh
10 /// @brief Class that reads and writes chemical shifts in TALOS format
11 /// @author Nikolas Sgourakis sgourn@u.w.edu
12 
13 #ifndef INCLUDED_protocols_frag_picker_JCouplingIO_hh
14 #define INCLUDED_protocols_frag_picker_JCouplingIO_hh
15 
16 // utility headers
17 #include <core/types.hh>
18 
19 #include <string>
20 // AUTO-REMOVED #include <map>
21 
22 // boost headers
23 // AUTO-REMOVED #include <boost/tuple/tuple.hpp>
24 // AUTO-REMOVED #include <utility/vector1.hh>
25 
26 #include <utility/vector1_bool.hh>
27 
28 
29 namespace protocols {
30 namespace frag_picker {
31 
32 using namespace core;
33 
34 class JCouplingIO {
35 public:
36 
38 
39  JCouplingIO(std::string file_name) {
40  read(file_name);
41  }
42 
43  void read(std::string const&);
44 
45  std::pair< Real, Real > get_data( Size const res_num, bool & has_data );
46 
47  utility::vector1< Real > get_parameters();
48 
50  return sequence_length_;
51  }
52 
53 private:
55  Real A_, B_, C_, THETA_;
57 
58 };
59 
60 } // frag_picker
61 } // protocols
62 
63 #endif /* INCLUDED_protocols_frag_picker_JCouplingIO_HH */
64