Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TemplateHistory.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 // This file is part of the Rosetta software suite and is made available under license.
5 // The Rosetta software is developed by the contributing members of the Rosetta Commons consortium.
6 // (C) 199x-2009 Rosetta Commons participating institutions and developers.
7 // For more information, see http://www.rosettacommons.org/.
8 
9 /// @file TemplateHistory.hh
10 /// @brief
11 /// @author Frank DiMaio
12 
13 
14 #ifndef INCLUDED_protocols_hybridization_TemplateHistory_hh
15 #define INCLUDED_protocols_hybridization_TemplateHistory_hh
16 
18 #include <core/pose/Pose.fwd.hh>
19 
20 #include <basic/datacache/CacheableData.hh>
21 #include <core/types.hh>
22 
23 namespace protocols {
24 //namespace comparative_modeling {
25 namespace hybridization {
26 
27 ///////////////////////////////////////////////////////////////////////////////
28 // ncs residue mapping
29 // - stored in the pose and used by other movers (fragment insertion for example)
30 class TemplateHistory: public basic::datacache::CacheableData {
31 public:
33 
34  basic::datacache::CacheableDataOP clone() const {
35  return new TemplateHistory(*this);
36  }
37 
38  void setall( int template_id );
39  void set( core::Size res_start, core::Size res_stop, int template_id );
40  int get( core::Size resid );
41  core::Size size() { return history_.size(); }
42 
43 private:
45 };
46 
47 
48 
49 } // symmetry
50 //} // simple_moves
51 } // rosetta
52 #endif