Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SecMatchEvaluatorFactory.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 /// @filesrc/protocols/match/downstream/SecMatchEvaluatorFactory.cc
11 /// @brief
12 /// @author Kui Chan (kuichan@uw.edu), oct 09
13 
14 
15 // Unit headers
19 
20 // Utility headers
21 #include <utility/vector1.fwd.hh>
22 
23 #include <utility/vector1.hh>
24 
25 
26 //#include <basic/Tracer.hh>
27 
28 namespace protocols{
29 namespace match{
30 namespace downstream{
31 
32  //static basic::Tracer TR( "protocols.match.downstream.SecMatchEvaluatorFactory" );
33 
34 
38  utility::vector1< core::Size > const & downstream_inds,
39  utility::vector1< core::Size > const & upstream_inds,
40  std::string SecMatchStr,
41  core::pose::Pose const & upstream_pose
42 ){
43  Size found = SecMatchStr.find("SCORING_SECMATCH");
44  if (found!=std::string::npos){
45  ScoringSecMatchRPEOP ssmOP = new ScoringSecMatchRPE ( SecMatchStr, upstream_pose );
46  return ssmOP;
47  }
48 
49  GeometrySecMatchRPEOP gsmOP = new GeometrySecMatchRPE ( mcfi, downstream_inds, upstream_inds );
50  return gsmOP;
51 }
52 
53 
54 } // namespace downstream
55 } // namespace scoring
56 } // namespace core
57 
58