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
trie
CPDataCorrespondence.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 core/scoring/trie/trie.functions.hh
11
/// @brief
12
/// @author Andrew Leaver-Fay (aleaverfay@gmail.com)
13
14
15
#ifndef INCLUDED_core_scoring_trie_CPDataCorrespondence_hh
16
#define INCLUDED_core_scoring_trie_CPDataCorrespondence_hh
17
18
// Unit Headers
19
#include <
core/scoring/trie/CPDataCorrespondence.fwd.hh
>
20
21
// Project Headers
22
#include <
core/types.hh
>
23
#include <
core/conformation/Residue.fwd.hh
>
24
#include <
core/conformation/RotamerSetBase.fwd.hh
>
25
26
// Utility Headers
27
#include <utility/vector1.hh>
28
29
namespace
core {
30
namespace
scoring {
31
namespace
trie {
32
33
class
CPDataCorrespondence
34
{
35
public
:
36
CPDataCorrespondence
();
37
38
void
n_entries
(
Size
nentries );
39
void
resid_for_entry
(
Size
entry,
Size
resid );
40
void
n_connpoints_for_entry
(
Size
entry,
Size
nconnections );
41
void
connid_for_entry_connpoint
(
Size
entry,
Size
connpoint,
Size
residue_connid );
42
43
Size
n_entries
()
const
;
44
Size
resid_for_entry
(
Size
entry )
const
;
45
Size
n_connpoints_for_entry
(
Size
entry )
const
;
46
Size
connid_for_entry_connpoint
(
Size
entry,
Size
connpoint )
const
;
47
48
void
note_has_pseudobonds
() {
has_pseudobonds_
=
true
; }
49
bool
has_pseudobonds
()
const
{
return
has_pseudobonds_
; }
50
51
Size
max_connpoints_for_residue
()
const
{
return
max_connpoints_for_residue_
; }
52
53
private
:
54
55
Size
n_entries_
;
56
Size
max_connpoints_for_residue_
;
57
bool
has_pseudobonds_
;
58
utility::vector1< Size >
entry_2_resid_
;
59
utility::vector1< Size >
nconnections_for_entry_
;
60
utility::vector1< utility::vector1< Size >
>
residue_connid_for_entry_connid_
;
61
};
62
63
CPDataCorrespondence
64
create_cpdata_correspondence_for_rotamerset
(
65
conformation::RotamerSetBase
const
& rotset
66
);
67
68
CPDataCorrespondence
69
create_cpdata_correspondence_for_rotamer
(
70
conformation::Residue
const
& example_rotamer
71
);
72
73
}
// namespace trie
74
}
// namespace scoring
75
}
// namespace core
76
77
#endif
Generated on Sat Jun 1 2013 11:40:19 for Rosetta 3.5 by
1.8.4