Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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
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 
59 
60 private:
61  PcsInputCenterManager(); //Construct
62 
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
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