Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Orbital.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 /// @begin Orbital
11 ///
12 /// @brief
13 /// A class for defining chemical atoms, with properties specific to a ResidueType, not conformation info
14 /// specific to a Residue. Conformation info goes in conformaton::Orbital. OrbitalTypes are not ResidueType specific.
15 ///
16 ///
17 ///
18 ///
19 /// @authors
20 /// Gordon Lemmon
21 ///
22 /////////////////////////////////////////////////////////////////////////
23 
24 
25 #ifndef INCLUDED_core_chemical_Orbital_hh
26 #define INCLUDED_core_chemical_Orbital_hh
27 
28 
29 // Unit headers
32 #include <core/types.hh>
33 #include <numeric/xyzVector.hh>
34 
35 // Package headers
36 #include <core/chemical/types.hh>
37 
38 // Utility headers
39 #include <utility/vector1_bool.hh>
40 
41 // C++ headers
42 #include <string>
43 
44 namespace core {
45 namespace chemical {
46 
47 /// @brief basic chemical atom
48 ///
49 /// @details name, element, certain properties and parameters from .params file
50 ///
51 class Orbital {
52 
53 public:
54 
55  /// @brief Construct a new atom type with its name and element.
56  ///
57  /// @details All its properties are unset by default.
58  ///
60  name_(""),
62  ideal_xyz_(),
63  icoor_(),
64  new_icoor_()
65  {}
66 
68  std::string const & name_in,
70  Vector const xyz
71  ):
72  name_( name_in ),
73  orbital_type_index_(orbital_type_index),
74  ideal_xyz_(xyz),
75  icoor_(),
76  new_icoor_()
77  {}
78 
79  Orbital(Orbital const & src) :
80  name_( src.name_ ),
83  icoor_(src.icoor_),
85  {}
86 
87  void
88  print( std::ostream & out ) const;
89 
90  friend
91  std::ostream &
92  operator<< ( std::ostream & out, const Orbital & atom_type );
93 
94 // Const Getters
95  std::string const& name() const { return name_; };
96  Size const& orbital_type_index() const { return orbital_type_index_; };
97  Vector const& ideal_xyz() const { return ideal_xyz_; };
98  orbitals::ICoorOrbitalData const& icoor() const { return icoor_; };
99  orbitals::ICoorOrbitalData const& new_icoor() const { return new_icoor_; };
100 // Non-const getters
103 // Setters
104  void name( std::string const & name ) { name_ = name; };
105  void orbital_type_index( Size const & atom_type_index ) { orbital_type_index_ = atom_type_index; };
106  void ideal_xyz( Vector const & xyz) { ideal_xyz_= xyz; };
109 
110  // data
111 private:
112 
113  // Primary data
116  // ideal xyz coordinates
118  // ideal internal coordinates
121 };
122 
123 
124 } // chemical
125 } // core
126 
127 
128 
129 #endif // INCLUDED_core_chemical_Orbital_HH