Rosetta 3.5
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
core
scoring
symmetry
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
14
#include <
core/scoring/symmetry/NBListCache.fwd.hh
>
15
16
// Package Headers
17
#include <basic/datacache/CacheableData.hh>
18
//#include <basic/DataCache.hh>
19
20
#include <
core/scoring/NeighborList.hh
>
21
22
namespace
core {
23
namespace
scoring {
24
namespace
symmetry {
25
26
class
NBListCache
:
public
basic::datacache::CacheableData {
27
28
public
:
29
30
NBListCache
()
31
: CacheableData()
32
{};
33
34
NBListCache
(
NeighborListOP
nblist )
35
: CacheableData()
36
{
37
nblist_
= nblist;
38
};
39
40
~NBListCache
(){};
41
42
basic::datacache::CacheableDataOP
43
clone
()
const
44
{
45
return
new
NBListCache
( *
this
);
46
}
47
48
NeighborListOP
49
get_nblist
()
50
{
51
return
nblist_
;
52
}
53
54
void
55
set_nblist
(
56
NeighborListOP
nblist
57
)
58
{
59
nblist_
= nblist;
60
}
61
62
private
:
63
64
NeighborListOP
nblist_
;
65
66
};
67
68
}
// namespace symmetry
69
}
// namespace scoring
70
}
// namespace core
71
#endif
Generated on Sat Jun 1 2013 11:40:19 for Rosetta 3.5 by
1.8.4