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
PcsInputCenterManager.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
//////////////////////////////////////////////
11
/// @begin
12
///
13
/// @file protocols/scoring/methods/pcs2/PcsInputCenterManager.hh
14
///
15
/// @brief Singleton that hold everything about the input PCS
16
/// This avoid multiple reading of the input files.
17
///
18
/// @detailed
19
///
20
/// @param
21
///
22
/// @return
23
///
24
/// @remarks
25
///
26
/// @references
27
///
28
/// @authorsv Christophe Schmitz
29
///
30
/// @last_modified February 2010
31
////////////////////////////////////////////////
32
33
#ifndef INCLUDED_protocols_scoring_methods_pcs2_PcsInputCenterManager_hh
34
#define INCLUDED_protocols_scoring_methods_pcs2_PcsInputCenterManager_hh
35
36
// Package headers
37
#include <
protocols/scoring/methods/pcs2/PcsInputCenter.hh
>
38
39
// Project headers
40
#include <
core/types.hh
>
41
42
// Utility headers
43
#include <utility/vector1.hh>
44
45
// Numeric headers
46
47
// Objexx headers
48
49
// C++ headers
50
// AUTO-REMOVED #include <string>
51
#include <map>
52
53
namespace
protocols{
54
namespace
scoring{
55
namespace
methods{
56
namespace
pcs2
{
57
58
class
PcsInputCenterManager
{
59
60
private
:
61
PcsInputCenterManager
();
//Construct
62
63
static
PcsInputCenterManager
*
instance_
;
64
std::map<std::string, PcsInputCenter>
PcsInputCenter_all_
;
65
66
public
:
67
static
PcsInputCenterManager
*
68
get_instance
();
69
70
/// @ Re init the singleton to default value
71
void
72
re_init
();
73
74
/// @brief Give me the PcsInputCenter given the vector of filename and vector of weight
75
PcsInputCenter
76
get_PcsInputCenter_for
(
utility::vector1<std::string>
const
& filenames,
utility::vector1<core::Real>
const
& vec_weight);
77
78
/// @brief Output myself on the stream
79
friend
std::ostream &
80
operator<<
(std::ostream& out,
const
PcsInputCenterManager
&me);
81
82
};
83
84
}
//namespace pcs2
85
}
//namespace methods
86
}
//namespace scoring
87
}
//namespace protocols
88
89
#endif
Generated on Sat Jun 1 2013 12:11:33 for Rosetta 3.5 by
1.8.4