Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RotamerSetBase.cc
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 core/conformation/RotamerSetBase.cc
11 /// @brief RotamerSetBase class implementation
12 /// @author Andrew Leaver-Fay (leaverfa@email.unc.edu)
13 
14 
15 // Unit headers
17 
18 // Package headers
19 // AUTO-REMOVED #include <core/conformation/AbstractRotamerTrie.hh>
21 
22 // Project headers
23 #include <core/types.hh>
24 
25 // Utility headers
26 #include <basic/datacache/BasicDataCache.hh>
27 
28 #include <utility/vector1.hh>
29 
30 
31 
32 namespace core {
33 namespace conformation {
34 
36  parent(),
37  data_cache_( new BasicDataCache( RotamerSetCacheableDataType::num_cacheable_data_types) )
38 {}
39 
41 
42 /// @brief BasicDataCache indexed by enum in core/pack/rotamer_set/RotamerSetCacheableDataType.hh
45 {
46  return * data_cache_;
47 }
48 
49 /// @brief BasicDataCache indexed by enum in core/pack/rotamer_set/RotamerSetCacheableDataType.hh
52 {
53  return * data_cache_;
54 }
55 
56 
57 } // namespace conformation
58 } // namespace core