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
chemical
ResConnID.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
// :noTabs=false:tabSize=4:indentSize=4:
4
//
5
// (c) Copyright Rosetta Commons Member Institutions.
6
// (c) This file is part of the Rosetta software suite and is made available under license.
7
// (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
8
// (c) For more information, see http://www.rosettacommons.org. Questions about this can be
9
// (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
10
11
/// @file src/core/chemica/ResConnID.hh
12
/// @brief Declaration of class to represent the chemical bond between two
13
/// ResidueConnections from one conformation::Residue to another.
14
/// @author Andrew Leaver-Fay
15
16
#ifndef INCLUDED_core_chemical_ResConnID_hh
17
#define INCLUDED_core_chemical_ResConnID_hh
18
19
// Unit Headers
20
#include <
core/chemical/ResConnID.fwd.hh
>
21
22
// Project Headers
23
#include <
core/types.hh
>
24
25
namespace
core {
26
namespace
chemical {
27
28
29
/// @brief The ResConnID could more properly be called the ResidueConnector. It stores the
30
/// data necessary to describe how one ResidueConnection on a conformation::Residue is connected
31
/// to the rest of the structure (Pose), by listing the other Residue's index and the ResidueConnection
32
/// index.
33
class
ResConnID
{
34
35
public
:
36
37
ResConnID
();
38
ResConnID
(
ResConnID
const
& );
39
ResConnID
(
Size
resid
,
Size
connid
);
40
41
ResConnID
const
&
operator =
(
ResConnID
const
& );
42
friend
bool
operator <
(
ResConnID
const
& lhs,
ResConnID
const
& rhs );
43
friend
bool
operator ==
(
ResConnID
const
& lhs,
ResConnID
const
& rhs );
44
friend
bool
operator !=
(
ResConnID
const
& lhs,
ResConnID
const
& rhs );
45
46
Size
resid
()
const
;
47
void
resid
(
Size
);
48
49
Size
connid
()
const
;
50
void
connid
(
Size
);
51
52
bool
incomplete
()
const
;
53
void
mark_incomplete
();
54
55
private
:
56
Size
res_id_
;
57
Size
conn_id_
;
58
59
#ifdef USEBOOSTSERIALIZE
60
friend
class
boost::serialization::access;
61
62
template
<
class
Archive>
63
void
serialize(Archive & ar,
const
unsigned
int
version) {
64
ar &
res_id_
;
65
ar &
conn_id_
;
66
}
67
#endif
68
};
69
70
bool
operator <
(
ResConnID
const
& lhs,
ResConnID
const
& rhs );
71
bool
operator ==
(
ResConnID
const
& lhs,
ResConnID
const
& rhs );
72
bool
operator !=
(
ResConnID
const
& lhs,
ResConnID
const
& rhs );
73
74
}
75
}
76
77
#endif
Generated on Sat Jun 1 2013 11:31:36 for Rosetta 3.5 by
1.8.4