Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ConstraintCreator.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 core/scoring/constraints/ConstraintCreator.hh
11 /// @brief Base class for ConstraintCreators for the Constraint load-time factory registration scheme
12 /// @author Andrew Leaver-Fay (aleaverfay@gmail.com)
13 
14 #ifndef INCLUDED_core_scoring_constraints_ConstraintCreator_hh
15 #define INCLUDED_core_scoring_constraints_ConstraintCreator_hh
16 
17 // Unit Headers
19 
20 // Package Headers
22 
23 // Utility Headers
24 #include <utility/pointer/ReferenceCount.hh>
25 
26 // c++ headers
27 #include <string>
28 
29 namespace core {
30 namespace scoring {
31 namespace constraints {
32 
33 /// @brief Abstract base class for a Mover factory; the Creator class is responsible for
34 /// creating a particular mover class.
36 {
37 public:
39  virtual ~ConstraintCreator();
40 
41  virtual ConstraintOP create_constraint() const = 0;
42  virtual std::string keyname() const = 0;
43 };
44 
45 } //namespace constraints
46 } //namespace scoring
47 } //namespace core
48 
49 #endif