Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ScoreFileData.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 // :noTabs=false:tabSize=4:indentSize=4:
4 //
5 // (c) Copyright Rosetta Commons Member Institutions.
6 // (c) This file is part of the Rosetta software suite and is made available under license.
7 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
8 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
9 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
10 
11 /// @file core/io/raw_data/ScoreFileData.hh
12 ///
13 /// @brief a way to write out just the score using the SilentFile stuff
14 /// @author Monica Berrondo
15 
16 #ifndef INCLUDED_core_io_raw_data_ScoreFileData_hh
17 #define INCLUDED_core_io_raw_data_ScoreFileData_hh
18 
19 // mini headers
20 #include <core/types.hh>
21 #include <core/pose/Pose.fwd.hh>
22 
24 
25 // C++ Headers
26 // AUTO-REMOVED #include <string>
27 #include <map>
28 
29 #include <utility/vector1.hh>
30 
31 
32 namespace core {
33 namespace io {
34 namespace raw_data {
35  class ScoreFileData : public RawFileData {
36  public:
37  ///////////////////////////////////////////////////////////////////////////
38  // constructor
40 
41  bool write_struct(
42  const ScoreStruct s,
43  std::map < std::string, core::Real > const & score_map,
44  std::map < std::string, std::string > const & string_map = ( std::map < std::string, std::string > () )
45  );
46 
47  bool write_pose(
48  const core::pose::Pose & pose,
49  std::map < std::string, core::Real > const & score_map,
50  std::string tag,
51  std::map < std::string, std::string > const & string_map = ( std::map < std::string, std::string > () )
52  );
53 
54  private:
56  };
57 
58 } // namespace silent
59 } // namespace io
60 } // namespace core
61 
62 #endif