Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TreeBuilder.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 protocols/nonlocal/TreeBuilder.hh
11 /// @author Christopher Miles (cmiles@uw.edu)
12 
13 #ifndef INCLUDED_PROTOCOLS_NONLOCAL_TREEBUILDER_HH
14 #define INCLUDED_PROTOCOLS_NONLOCAL_TREEBUILDER_HH
15 
16 // Unit headers
18 
19 // Utility headers
20 #include <utility/pointer/ReferenceCount.hh>
21 
22 // Project headers
23 #include <core/pose/Pose.fwd.hh>
25 
26 #include <utility/vector1.hh>
27 
28 
29 namespace protocols {
30 namespace nonlocal {
31 
33  public:
34  /// @brief Programmatically constructs a FoldTree, updating <pose>.
35  virtual void set_up(const protocols::loops::Loops& chunks, core::pose::Pose* pose) = 0;
36 
37  /// @brief Reverts any modifications to <pose> introduced in preceding calls
38  /// to set_up(). Only subclasses that introduce modifications are responsible
39  /// for overriding this method.
40  virtual void tear_down(core::pose::Pose*) {}
41 };
42 
43 } // namespace nonlocal
44 } // namespace protocols
45 
46 #endif // PROTOCOLS_NONLOCAL_TREEBUILDER_HH_