Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MMBondAngleLibrary.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/mm/MMBondAngleLibrary.hh
11 /// @brief Molecular mechanics bond angle library class
12 /// @author Colin A. Smith (colin.smith@ucsf.edu)
13 
14 
15 #ifndef INCLUDED_core_scoring_mm_MMBondAngleLibrary_hh
16 #define INCLUDED_core_scoring_mm_MMBondAngleLibrary_hh
17 
18 // Unit headers
20 
21 // Project headers
23 // AUTO-REMOVED #include <core/chemical/MMAtomTypeSet.hh>
24 
25 // Utility header
26 // AUTO-REMOVED #include <utility/keys/Key3Tuple.hh>
27 // AUTO-REMOVED #include <utility/keys/Key2Tuple.hh>
28 #include <utility/pointer/access_ptr.hh>
29 #include <utility/pointer/owning_ptr.hh>
30 #include <utility/pointer/ReferenceCount.hh>
31 
32 // C++ headers
33 // AUTO-REMOVED #include <string>
34 #include <map>
35 
36 #include <utility/keys/Key2Tuple.fwd.hh>
37 #include <utility/keys/Key3Tuple.fwd.hh>
38 
39 
40 namespace core {
41 namespace scoring {
42 namespace mm {
43 
44 // all ints for now
45 typedef utility::keys::Key3Tuple< int, int, int > mm_bondangle_atom_tri;
46 typedef utility::keys::Key2Tuple< double, double > mm_bondangle_param_set;
47 typedef std::multimap< mm_bondangle_atom_tri, mm_bondangle_param_set > mm_bondangle_library;
48 typedef std::multimap< mm_bondangle_atom_tri, mm_bondangle_param_set >::const_iterator mm_bondangle_library_citer;
49 typedef std::pair< mm_bondangle_library_citer, mm_bondangle_library_citer > mm_bondangle_library_citer_pair;
50 
52 {
53 
54 public:
55  ///@brief Automatically generated virtual destructor for class deriving directly from ReferenceCount
56  virtual ~MMBondAngleLibrary();
57  /// @brief ctor
59 
60  /// @brief lookup by atom type ints
62  lookup( int atom1, int atom2, int atom3 ) const;
63 
64  /// @brief lookup by atom type strings
66  lookup( std::string atom1, std::string atom2,
67  std::string atom3 ) const;
68 
69  /// @brief pretty print / debug
70  void pretty_print() const;
71  void pretty_print( int atom1, int atom2, int atom3 ) const;
72  void pretty_print( std::string atom1, std::string atom2,
73  std::string atom3 ) const;
74 
75 private:
76 
77  /// @brief library that contains bond angle params for sets in which all mm atom types
78  /// are specified for all 3 positions
80 
81  /// @brief library that contains bond angle params for sets in which all mm atom types
82  /// are NOT specified for all 3 positions
84 
86 
87 };
88 
89 
90 } // namespace mm
91 } // namespace scoring
92 } // namespace core
93 
94 
95 #endif // INCLUDED_core_mm_mm_bondangle_library_HH