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
disulfides
DisulfideAtomIndices.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/disulfides/DisulfideAtomIndices.hh
11
/// @brief Disulfide Atom Indices class declaration
12
/// @author Andrew Leaver-Fay
13
14
#ifndef INCLUDED_core_scoring_disulfides_DisulfideAtomIndices_hh
15
#define INCLUDED_core_scoring_disulfides_DisulfideAtomIndices_hh
16
17
// Unit headers
18
#include <
core/scoring/disulfides/DisulfideAtomIndices.fwd.hh
>
19
20
// Project Headers
21
#include <
core/types.hh
>
22
#include <
core/conformation/Residue.fwd.hh
>
23
24
// Utility Headers
25
// AUTO-REMOVED #include <utility/vector1.hh>
26
27
#include <utility/vector1_bool.hh>
28
29
30
namespace
core {
31
namespace
scoring {
32
namespace
disulfides {
33
34
/// @brief This class is used by the *DisulfideEnergyContainer and the *DisulfidePotential
35
/// classes to rapidly index into a residue that's known to form a disulfide. For the sake
36
/// of computing derivatives, there are only three atoms that need to be readily available:
37
/// CA, CB, and the atom which makes the disulfide bond, either SG or CEN.
38
/// The DisulfideEnergyContainer is responsible for keeping the indices in one of these objects
39
/// up-to-date with the residue it is meant to shadow.
40
class
DisulfideAtomIndices
41
{
42
43
public
:
44
DisulfideAtomIndices
(
conformation::Residue
const
& res );
45
46
bool
atom_gets_derivatives
(
Size
atom_index )
const
;
47
DisulfideDerivativeAtom
derivative_atom
(
Size
atom_index )
const
;
48
49
Size
c_alpha_index
()
const
{
return
c_alpha_index_
; }
50
Size
c_beta_index
()
const
{
return
c_beta_index_
; }
51
///@brief The atom which participates in the disulfide bond
52
/// SG for fullatom or CEN for centroid
53
Size
disulf_atom_index
()
const
{
return
disulf_atom_index_
; }
54
55
private
:
56
Size
c_alpha_index_
;
57
Size
c_beta_index_
;
58
Size
disulf_atom_index_
;
59
60
utility::vector1< DisulfideDerivativeAtom >
derivative_atom_types_
;
61
};
62
63
}
64
}
65
}
66
67
#endif
Generated on Sat Jun 1 2013 11:36:03 for Rosetta 3.5 by
1.8.4