Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SiteConstraint.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 src/core/scoring/constraints/SiteConstraint.hh
11 /// @brief This class is an AmbiguousConstraint in which the set is comprised of AtomPairConstraints
12 /// @brief of an atom of interest in one chain versus the CA of all residues in another chain.
13 /// @author Brian Weitzner (brian.weitzner@jhu.edu, May 2011)
14 
15 #ifndef INCLUDED_core_scoring_constraints_SiteConstraint_hh
16 #define INCLUDED_core_scoring_constraints_SiteConstraint_hh
17 
18 // Unit header
19 
22 
23 
27 
28 
31 #include <core/pose/Pose.fwd.hh>
32 
33 
34 //Utility Headers
35 #include <numeric/xyzVector.fwd.hh>
36 
37 #include <utility/vector1.hh>
38 
39 
40 
41 namespace core {
42 namespace scoring {
43 namespace constraints {
44 
45 
47 public:
48 
49  /// @brief Constructor
51 
52  /// @brief Constructor
53  SiteConstraint( ConstraintCOPs & cst_in ) ;
54 
55  ///
56  virtual
57  ConstraintOP clone() const {
58  return new SiteConstraint(*this);
59  }
60 
61  std::string type() const {
62  return "SiteConstraint";
63  }
64 
65  /// @brief read in constraint defiinition
66  void
67  read_def( std::istream& data, pose::Pose const& pose, FuncFactory const& func_factory );
68 
69  void show( std::ostream& out) const;
70  void setup_csts( Size res, std::string name, std::string chain, core::pose::Pose const & pose, FuncOP const & func );
71 
72 private:
73 
74 
75 
76 }; //SiteConstraint
77 
78 } //constraints
79 } //scoring
80 } //core
81 
82 #endif