Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CacheablePoseRawPtr.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 basic/datacache/CacheablePoseRawPtr.hh
11 /// @brief
12 /// @author Phil Bradley
13 
14 
15 #ifndef INCLUDED_core_pose_datacache_CacheablePoseRawPtr_hh
16 #define INCLUDED_core_pose_datacache_CacheablePoseRawPtr_hh
17 
18 // unit headers
20 
21 // package headers
22 #include <basic/datacache/CacheableData.hh>
23 
24 // project headers
25 #include <core/pose/Pose.fwd.hh>
26 
27 #include <utility/vector1.hh>
28 
29 
30 
31 namespace core {
32 namespace pose {
33 namespace datacache {
34 
35 
36 ///@brief pose *
37 class CacheablePoseRawPtr : public basic::datacache::CacheableData
38 {
39 public:
40  CacheablePoseRawPtr( core::pose::Pose * pose ) : CacheableData(), pose_(pose) {}
41  virtual ~CacheablePoseRawPtr(){};
42  virtual basic::datacache::CacheableDataOP clone() const { return new CacheablePoseRawPtr(*this); }
43  virtual core::pose::Pose * pose() const { return pose_; }
44 private:
46 };
47 
48 
49 } // namespace datacache
50 } // namespace util
51 } // namespace core
52 
53 #endif /* INCLUDED_core_pose_datacache_CacheablePoseRawPtr_HH */