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
pose
datacache
PositionConservedResiduesStore.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/pose/datacache/PositionConservedResiduesStore.cc
11
/// @author Christopher Miles (cmiles@uw.edu)
12
13
// Unit header
14
#include <
core/pose/datacache/PositionConservedResiduesStore.hh
>
15
16
// Project headers
17
#include <
core/types.hh
>
18
19
namespace
core {
20
namespace
pose {
21
namespace
datacache {
22
23
PositionConservedResiduesStore::PositionConservedResiduesStore
() {}
24
25
basic::datacache::CacheableDataOP
PositionConservedResiduesStore::clone
()
const
{
26
return
new
PositionConservedResiduesStore
(*
this
);
27
}
28
29
bool
PositionConservedResiduesStore::is_conserved
(
core::Size
residue)
const
{
30
return
(
conservation_
.find(residue) !=
conservation_
.end()) ?
conservation_
[residue] :
false
;
31
}
32
33
void
PositionConservedResiduesStore::set_conserved
(
core::Size
residue,
bool
conserved) {
34
conservation_
[residue] = conserved;
35
}
36
37
}
// namespace datacache
38
}
// namespace pose
39
}
// namespace core
Generated on Sat Jun 1 2013 11:34:16 for Rosetta 3.5 by
1.8.4