Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OutputWriter.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 protocols/match/output/OutputWriter.fwd.hh
12 /// @brief Forward declaration of class to write output matches that have (presumably) passed the output filters.
13 /// @author Alex Zanghellini (zanghell@u.washington.edu)
14 /// @author Andrew Leaver-Fay (aleaverfay@gmail.com), porting to mini
15 
16 #ifndef INCLUDED_protocols_match_output_OutputWriter_hh
17 #define INCLUDED_protocols_match_output_OutputWriter_hh
18 
19 // Unit headers
21 
22 // Package Headers
26 
27 // Utility headers
28 #include <utility/pointer/ReferenceCount.hh>
29 
30 // C++ unit headers
31 #include <map>
32 
33 namespace protocols {
34 namespace match {
35 namespace output {
36 
38 {
39 public:
40  OutputWriter();
41 
42  virtual ~OutputWriter();
43 
45  cst_io() const;
46 
47  virtual
48  void
49  record_match( match const & m ) = 0;
50 
51  virtual
52  void
53  record_match( match_dspos1 const & m ) = 0;
54 
55  /// @brief determine if any upstream res are at the same scaffold
56  /// position, i.e. if one of them is a backbone interaction
57  /// the redundant_upstream_res map is a mapping from the redundant
58  /// geometric constraint id of the redundant residue to the geomcst_id of
59  /// the "nonredundant" res i.e. if cstres 1 happens to be a cys at
60  /// position 10 and cstres 3 is a gly at position 10 (and it's backbone is
61  /// used in satisfying constraint 3), the mapping will contain the 3,1 pair.
62  void
64  match_dspos1 const & m,
65  std::map< core::Size, core::Size > & redundant_upstream_res
66  ) const;
67 
68  virtual
69  void
71 
72  virtual
73  void
75 
76  virtual
77  void
79  MatcherTaskCOP mtask
80  );
81 
82 
83 
84 private:
85 
87 
88 };
89 
90 }
91 }
92 }
93 
94 #endif