Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CacheableSequenceProfile.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 basic/datacache/CacheableSequenceProfile.hh
11 /// @brief
12 /// @author Phil Bradley
13 
14 
15 #ifndef INCLUDED_core_sequence_CacheableSequenceProfile_hh
16 #define INCLUDED_core_sequence_CacheableSequenceProfile_hh
17 
18 // unit headers
20 // package headers
21 #include <basic/datacache/CacheableData.hh>
22 
23 // project headers
25 
26 
27 namespace core {
28 namespace sequence {
29 
30 
31 // simple class for holding onto a SequenceProfile
32 class CacheableSequenceProfile : public basic::datacache::CacheableData {
34  profile_ = prof;
35  }
36 
38  virtual basic::datacache::CacheableDataOP clone() const {
39  return new CacheableSequenceProfile(*this);
40  }
41 
43  return profile_;
44  }
45 
47  return profile_;
48  }
49 private:
51 };
52 
53 
54 } // namespace sequence
55 } // namespace core
56 
57 #endif /* INCLUDED_core_sequence_CacheableSequenceProfile_HH */