Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SimplePDB.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/packstat/SimplePDB.hh
11 ///
12 /// @brief
13 /// @author
14 
15 
16 #ifndef INCLUDED_core_scoring_packstat_SimplePDB_hh
17 #define INCLUDED_core_scoring_packstat_SimplePDB_hh
18 
19 // Project forward headers
23 // AUTO-REMOVED #include "core/scoring/packstat/AtomRadiusMap.hh"
24 
25 // AUTO-REMOVED #include <vector>
26 
28 
29 
30 
31 namespace core {
32 namespace scoring {
33 namespace packstat {
34 
38 
39  /// @brief
40 class SimplePDB
41 {
42 
43  friend std::istream & operator>> ( std::istream & in , SimplePDB & pdb );
44  friend std::ostream & operator<< ( std::ostream & out, SimplePDB const & pdb );
45 
46 public: // Creation
47 
48  SimplePDB() {}
50 
51  Spheres get_spheres( AtomRadiusMap const & arm ) const;
52 
54 
55  void remove_surface_waters();
56 
57  core::Size num_water() const;
58 
60 
62 
63 private: // fields
64 
66 
67 public: // accessors
68 
69  size_t natom() const { return atoms_.size(); }
71  utility::vector1<SimplePDB_Atom> const & atoms() const { return atoms_; }
72  SimplePDB_Atom & atom( size_t const i ) { return atoms_[i]; }
73  SimplePDB_Atom const & atom( size_t const i ) const { return atoms_[i]; }
75 
76 
77 }; // SimplePDB
78 
79 
80 } // namespace packstat
81 } // namespace scoring
82 } // namespace core
83 
84 
85 #endif // INCLUDED_core_scoring_packstat_SimplePDB_HH