Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PoseInputStream.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 // (c) Copyright Rosetta Commons Member Institutions.
5 // (c) This file is part of the Rosetta software suite and is made available under license.
6 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9 
10 /// @file PoseInputStream.hh
11 /// @brief
12 /// @author James Thompson
13 
14 
15 #ifndef INCLUDED_core_import_pose_pose_stream_PoseInputStream_HH
16 #define INCLUDED_core_import_pose_pose_stream_PoseInputStream_HH
17 
19 #include <utility/pointer/ReferenceCount.hh>
20 
21 #include <core/pose/Pose.fwd.hh>
23 
24 #include <utility/vector1.fwd.hh>
25 
26 #include <utility/vector1.hh>
27 
28 
29 
30 namespace core {
31 namespace import_pose {
32 namespace pose_stream {
33 
35 public:
37  virtual ~PoseInputStream() {}
38 
39  virtual bool has_another_pose() = 0;
40 
41  virtual void reset() = 0;
42 
43  virtual void fill_pose(
46  ) = 0;
47 
48  virtual void fill_pose( core::pose::Pose& ) = 0;
49 
51  core::chemical::ResidueTypeSet const & residue_set
52  );
53 
54  /// @brief Perform common operations on a Pose dependent on command-line
55  /// options before finishing fill_pose. This includes optimizing hydrogens,
56  /// adding constraints, and finding disulfides. This should be called in the
57  /// fill_pose method of derived classes.
58  void preprocess_pose( core::pose::Pose & pose );
59 
60 }; // class PoseInputStream
61 
62 } // pose_stream
63 } // import_pose
64 } // core
65 
66 #endif