Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ScoreStruct.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/ScoreStruct.hh
12 ///
13 /// @brief Write out only the scores (equivalent to a scorefile)
14 /// @author James Thompson, Monica Berrondo
15 
16 #ifndef INCLUDED_core_io_raw_data_ScoreStruct_hh
17 #define INCLUDED_core_io_raw_data_ScoreStruct_hh
18 
19 // mini headers
20 #include <core/types.hh>
21 #include <core/pose/Pose.fwd.hh>
22 
24 
26 
27 #include <utility/vector1.hh>
28 
29 
30 
31 // C++ Headers
32 
33 namespace core {
34 namespace io {
35 namespace raw_data {
36 
37  /////////////////////////////////////////////////////////////////////////////
38  // holds all the data for a single entry in a silent file
39  class ScoreStruct : public RawStruct {
40 
41  public:
42  // constructor
43  ScoreStruct();
44 
46  core::pose::Pose, // pose,
47  std::string tag = "empty_tag"
48  );
49 
50  // destructor
52 
53  //ScoreStruct & operator= (ScoreStruct const & src);
54 
55 
56  /// @brief Fill a Pose with the conformation information in this RawStruct and the FA_STANDARD
57  /// ResidueTypeSet. This is a virtual method which must be implemented by classes derived from RawStruct.
58  void fill_pose(
59  core::pose::Pose & //pose
60  );
61 
62  /// @brief Fill a Pose with the conformation information in this RawStruct and the ResidueTypeSet
63  /// provided by the caller. This is a virtual method which must be implemented by classes derived from RawStruct.
64  virtual void fill_pose(
65  core::pose::Pose &, //pose,
66  core::chemical::ResidueTypeSet const& residue_set
67  );
68 
69  virtual Real get_debug_rmsd();
70  virtual void print_conformation( std::ostream& out ) const;
71 
72 }; // class ScoreStruct
73 
74 } // namespace silent
75 } // namespace io
76 } // namespace core
77 
78 #endif