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
protocols
pack_daemon
EntityCorrespondence.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 protocols/pack_daemon/EntityCorrespondence.hh
11
/// @brief declaration for class EntityCorrespondence
12
/// @author Andrew Leaver-Fay (aleaverfay@gmail.com)
13
14
#ifndef INCLUDED_protocols_pack_daemon_EntityCorrespondence_hh
15
#define INCLUDED_protocols_pack_daemon_EntityCorrespondence_hh
16
17
// Unit headers
18
#include <
protocols/pack_daemon/EntityCorrespondence.fwd.hh
>
19
20
// Project headers
21
#include <
core/types.hh
>
22
#include <
core/pose/Pose.fwd.hh
>
23
#include <
core/pose/PDBPoseMap.fwd.hh
>
24
25
// Utility headers
26
#include <utility/vector1.hh>
27
// AUTO-REMOVED #include <utility/io/izstream.fwd.hh>
28
#include <utility/pointer/ReferenceCount.hh>
29
30
// C++ headers
31
#include <list>
32
#include <iosfwd>
33
34
namespace
protocols {
35
namespace
pack_daemon {
36
37
class
EntityCorrespondence
:
public
utility::pointer::ReferenceCount
{
38
public
:
39
typedef
core::Size
Size
;
40
typedef
std::list< Size >
ResIDList
;
41
typedef
ResIDList::const_iterator
ResIDListConstIter
;
42
typedef
utility::pointer::ReferenceCount
parent
;
43
public
:
44
EntityCorrespondence
();
45
virtual
~EntityCorrespondence
();
46
EntityCorrespondence
(
EntityCorrespondence
const
&);
47
EntityCorrespondence
const
&
operator =
(
EntityCorrespondence
const
& );
48
49
void
set_pose
(
core::pose::PoseCOP
pose );
50
void
set_num_entities
(
Size
num_entities
);
51
void
initialize_from_correspondence_file
( std::istream & );
52
void
add_resid_to_entity_list
(
Size
EntityID,
Size
ResID );
53
54
Size
num_entities
()
const
;
55
Size
num_residues
()
const
;
56
Size
entity_for_residue
(
Size
resid )
const
;
57
Size
n_residues_for_entity
(
Size
entity_id )
const
;
58
ResIDListConstIter
residues_for_entity_begin
(
Size
entity_id )
const
;
59
ResIDListConstIter
residues_for_entity_end
(
Size
entity_id )
const
;
60
61
62
private
:
63
void
bounds_check_entity
(
std::string
const
& funcname,
Size
entity_id )
const
;
64
void
bounds_check_residue
(
std::string
const
& funcname,
Size
resid )
const
;
65
66
private
:
67
core::pose::PoseCOP
pose_
;
68
core::pose::PDBPoseMapCOP
pdb_pose_map_
;
69
utility::vector1< ResIDList >
entity_id_2_resids_
;
// one entity may correspond to several residues
70
utility::vector1< Size >
resid_2_entity_id_
;
// each residue corresponds to at most one entity.
71
72
utility::vector1< std::string >
funcnames_
;
73
74
};
75
76
77
}
78
}
79
80
#endif
Generated on Sat Jun 1 2013 12:02:24 for Rosetta 3.5 by
1.8.4