Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
NBListCache.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 #ifndef INCLUDED_core_scoring_symmetry_NBListCache_hh
11 #define INCLUDED_core_scoring_symmetry_NBListCache_hh
12 
13 // Unit headers
15 
16 // Package Headers
17 #include <basic/datacache/CacheableData.hh>
18 //#include <basic/DataCache.hh>
19 
21 
22 namespace core {
23 namespace scoring {
24 namespace symmetry {
25 
26 class NBListCache : public basic::datacache::CacheableData {
27 
28 public:
29 
31  : CacheableData()
32  {};
33 
35  : CacheableData()
36  {
37  nblist_ = nblist;
38  };
39 
41 
42  basic::datacache::CacheableDataOP
43  clone() const
44  {
45  return new NBListCache( *this );
46  }
47 
50  {
51  return nblist_;
52  }
53 
54  void
56  NeighborListOP nblist
57  )
58  {
59  nblist_ = nblist;
60  }
61 
62 private:
63 
65 
66 };
67 
68 } // namespace symmetry
69 } // namespace scoring
70 } // namespace core
71 #endif