Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FabConstraint.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/FabConstraint.hh
11 /// @brief This class is specific to antibodies and penalizes presence of residues flanking
12 /// @brief antibody cdr residues at Antigen-Antibody interfaces (ported from Fab constraint
13 /// @brief in rosetta++ which uses a constant constraint score of 0.5/flanking residue)
14 /// @author Krishna Kilambi (kkpraneeth@jhu.edu, April 2012)
15 
16 #ifndef INCLUDED_core_scoring_constraints_FabConstraint_hh
17 #define INCLUDED_core_scoring_constraints_FabConstraint_hh
18 
19 // Unit header
20 
23 
24 
28 
29 
32 #include <core/pose/Pose.fwd.hh>
33 
34 
35 //Utility Headers
36 #include <numeric/xyzVector.fwd.hh>
37 
38 #include <utility/vector1.hh>
39 
40 
41 
42 namespace core {
43 namespace scoring {
44 namespace constraints {
45 
46 
48 public:
49 
50  /// @brief Constructor
51  FabConstraint();
52 
53  /// @brief Constructor
54  FabConstraint(ConstraintCOPs & cst_in) ;
55 
56  ///
57  virtual
58  ConstraintOP clone() const {
59  return new FabConstraint(*this);
60  }
61 
62  std::string type() const {
63  return "FabConstraint";
64  }
65 
66  void
67  show(std::ostream& out) const;
68 
69  /// @brief read in constraint definition
70  void
71  read_def(std::istream& data, pose::Pose const& pose, FuncFactory const& func_factory);
72 
73  Size
74  pose_res_no(core::pose::Pose const & pose, std::string tempres);
75 
78 
79  void
81 
82 private:
83 
84 
85 
86 }; //FabConstraint
87 
88 } //constraints
89 } //scoring
90 } //core
91 
92 #endif