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
scoring
methods
pcs2
PcsDataCenterManager.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
//////////////////////////////////////////////
11
/// @begin
12
///
13
/// @file protocols/scoring/methods/pcs2/PcsDataCenterManager.cc
14
///
15
/// @brief
16
///
17
/// @detailed
18
///
19
/// @param
20
///
21
/// @return
22
///
23
/// @remarks
24
///
25
/// @references
26
///
27
/// @authorsv Christophe Schmitz
28
///
29
/// @last_modified February 2010
30
////////////////////////////////////////////////
31
32
33
34
// Unit headers
35
#include <
protocols/scoring/methods/pcs2/PcsDataCenterManager.hh
>
36
37
// Package headers
38
39
// Project headers
40
#include <basic/Tracer.hh>
41
42
// Utility headers
43
// AUTO-REMOVED #include <utility/exit.hh>
44
45
#include <utility/vector1.hh>
46
47
48
// Numeric headers
49
50
// Objexx headers
51
52
// C++ headers
53
54
namespace
protocols{
55
namespace
scoring{
56
namespace
methods{
57
namespace
pcs2
{
58
59
basic::Tracer
TR_PcsDataCenterManager
(
"protocols.scoring.methods.pcs.PcsDataCenterManager"
);
60
61
PcsDataCenterManager::PcsDataCenterManager
(){
62
63
// TR_PcsDataCenterManager << "Empty constructor called" << std::endl;
64
// utility_exit_with_message( "You shouldn't call the empty constructor for PcsDataCenterManager class" );
65
}
66
67
PcsDataCenterManager::~PcsDataCenterManager
(){
68
}
69
70
PcsDataCenterManager
&
71
PcsDataCenterManager::operator=
(
PcsDataCenterManager
const
&other )
72
{
73
74
// TR_PcsDataCenterManager << " = called" << std::endl;
75
76
if
(
this
!= &other ) {
77
PCS_data_all_
= other.
PCS_data_all_
;
78
}
79
return
*
this
;
80
}
81
82
PcsDataCenterManager::PcsDataCenterManager
(
PcsDataCenterManager
const
&other):
83
CacheableData()
84
{
85
// TR_PcsDataCenterManager << " () called" << std::endl;
86
PCS_data_all_
= other.
PCS_data_all_
;
87
}
88
89
utility::vector1<PcsDataCenter>
&
90
PcsDataCenterManager::get_PCS_data_all
() {
91
return
(
PCS_data_all_
);
92
}
93
94
basic::datacache::CacheableDataOP
95
PcsDataCenterManager::clone
()
const
{
96
// TR_PcsDataCenterManager << "clone called" << std::endl;
97
return
new
PcsDataCenterManager
( *
this
);
98
}
99
100
std::ostream &
101
operator<<
(std::ostream& out,
const
PcsDataCenterManager
& m){
102
core::Size
i;
103
104
out <<
"n paramagnetic center: "
<< m.
get_n_multi_data
() << std::endl;
105
for
(i = 1 ; i <= m.
get_n_multi_data
(); ++i){
106
out << m.
PCS_data_all_
[i] << std::endl;
107
}
108
return
out;
109
}
110
111
core::Size
112
PcsDataCenterManager::get_n_multi_data
()
const
{
113
return
(
PCS_data_all_
.size());
114
}
115
116
}
//namespcacs PCS
117
}
//namespace methods
118
}
//namespace scoring
119
}
//namespace protocols
Generated on Sat Jun 1 2013 12:11:04 for Rosetta 3.5 by
1.8.4