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
sequence
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
19
#include <
core/sequence/CacheableSequenceProfile.fwd.hh
>
20
// package headers
21
#include <basic/datacache/CacheableData.hh>
22
23
// project headers
24
#include <
core/sequence/SequenceProfile.hh
>
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 {
33
CacheableSequenceProfile
(
core::sequence::SequenceProfile
prof ) {
34
profile_
= prof;
35
}
36
37
virtual
~CacheableSequenceProfile
() {};
38
virtual
basic::datacache::CacheableDataOP
clone
()
const
{
39
return
new
CacheableSequenceProfile
(*
this
);
40
}
41
42
core::sequence::SequenceProfile
&
profile
() {
43
return
profile_
;
44
}
45
46
core::sequence::SequenceProfile
const
&
profile
()
const
{
47
return
profile_
;
48
}
49
private
:
50
core::sequence::SequenceProfile
profile_
;
51
};
52
53
54
}
// namespace sequence
55
}
// namespace core
56
57
#endif
/* INCLUDED_core_sequence_CacheableSequenceProfile_HH */
Generated on Sat Jun 1 2013 11:40:21 for Rosetta 3.5 by
1.8.4