Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
InterfaceDefinitionCalculatorBase.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
11 /// @brief
12 /// @author John Karanicolas
13 
14 
15 #ifndef INCLUDED_core_pose_metrics_simple_calculators_InterfaceDefinitionCalculatorBase_HH
16 #define INCLUDED_core_pose_metrics_simple_calculators_InterfaceDefinitionCalculatorBase_HH
17 
19 #include <core/pose/Pose.fwd.hh>
20 #include <core/types.hh>
21 #include <basic/MetricValue.fwd.hh>
22 
23 #include <utility/vector1.hh>
24 
25 namespace core{
26 namespace pose {
27 namespace metrics {
28 namespace simple_calculators {
29 
31 
32 public:
33 
34  InterfaceDefinitionCalculator( core::Size const chain1_number, core::Size const chain2_number );
35 
36  InterfaceDefinitionCalculator( char const chain1_letter, char const chain2_letter );
37 
39 
40 protected:
41 
42  virtual std::string print( std::string const & key ) const = 0;
43 
44  virtual void lookup( std::string const & key, basic::MetricValueBase * valptr ) const = 0;
45 
46  virtual void recompute( core::pose::Pose const & this_pose ) = 0;
47 
49 
53 
54  virtual void verify_chain_setup( core::pose::Pose const & pose );
55 
56  virtual core::Size chain_letter_to_number( core::pose::Pose const & pose, char const chain_id );
57 
58  virtual void fill_in_chain_terminii( core::pose::Pose const & pose );
59 
60 };
61 
62 
63 } // namespace simple_calculators
64 } // namespace metrics
65 } // namespace pose
66 } // namespace core
67 
68 #endif //INCLUDED_core_pose_metrics_simple_calculators_InterfaceDefinitionCalculatorBase_HH