Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SwitchResidueTypeSetMover.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 SwitchResidueTypeSetMover.hh
11 /// @brief switch between residue type sets (e.g. centroid and all atom)
12 
13 #ifndef INCLUDED_protocols_simple_moves_SwitchResidueTypeSetMover_hh
14 #define INCLUDED_protocols_simple_moves_SwitchResidueTypeSetMover_hh
15 
17 #include <protocols/moves/Mover.hh>
18 
21 #include <core/pose/Pose.fwd.hh>
22 
23 // C++ Headers
24 #include <string>
25 
26 #include <utility/vector1.hh>
27 
28 
29 namespace protocols {
30 namespace simple_moves {
31 
32 /// @brief A mover that switches a pose between residue type sets (e.g. centroid and fullatom)
33 ///
34 /// examples:
35 /// switch = protocols::simple_moves::SwitchResidueTypeSetMover("centroid")
36 /// See also:
37 /// Pose
38 /// Residue
39 /// ResidueType
40 /// ResidueTypeSet
42 public:
45 
47 
48  /// @brief Applies ResidueTypeSet converion on the pose
49  /// @note: a single protocols::moves::Mover only converts in ONE direction e.g. to centroid
50  virtual void apply( core::pose::Pose & pose );
51  virtual std::string get_name() const;
52 
53  void type_set_tag( std::string const & type_set_tag_in ) { type_set_tag_ = type_set_tag_in; }
54 
55  virtual moves::MoverOP clone() const;
56  virtual moves::MoverOP fresh_instance() const;
57 
58  virtual void parse_my_tag(
59  utility::tag::TagPtr const tag,
61  protocols::filters::Filters_map const & filters,
62  protocols::moves::Movers_map const & movers,
63  core::pose::Pose const & pose );
64  virtual void parse_def( utility::lua::LuaObject const & def,
65  utility::lua::LuaObject const & score_fxns,
66  utility::lua::LuaObject const & tasks,
68 
69 private:
71 };
72 
73 std::ostream &operator<< (std::ostream &os, SwitchResidueTypeSetMover const &mover);
74 
75 } // simple_moves
76 } // protocols
77 
78 #endif