Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BaseCacheUnit.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 // :noTabs=false:tabSize=4:indentSize=4:
4 //
5 // (c) Copyright Rosetta Commons Member Institutions.
6 // (c) This file is part of the Rosetta software suite and is made available under license.
7 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
8 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
9 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
10 
11 /// @file core/fragments/Frame.hh
12 /// @brief set of fragments for a certain alignment frame
13 /// @author Oliver Lange (olange@u.washington.edu)
14 /// @author James Thompson
15 /// @date Wed Oct 20 12:08:31 2007
16 ///
17 #ifndef INCLUDED_core_fragment_BaseCacheUnit_HH
18 #define INCLUDED_core_fragment_BaseCacheUnit_HH
19 
20 // Unit Headers
21 //#include <core/fragment/BaseCacheUnit.fwd.hh>
22 
23 // Package Headers
24 
25 // Project Headers
26 
27 // ObjexxFCL Headers
28 
29 // Utility headers
30 // AUTO-REMOVED #include <utility/pointer/access_ptr.hh>
31 #include <utility/pointer/owning_ptr.hh>
32 #include <utility/pointer/ReferenceCount.hh>
33 
34 #include <utility/pointer/access_ptr.fwd.hh>
35 
36 
37 // C++ STL Headers
38 
39 namespace core {
40 namespace fragment {
41 
45 
47 public:
48  virtual BaseCacheUnitOP clone() const = 0;
49  virtual void remap_value( BaseCacheUnit const& source, Size source_id, Size new_id ) = 0;
50 
51  // one could call this when frags are added... that might avoid some breaking via out-of-range errors,
52  // but the values would still be nonsense ... maybe out-of-range errors are preferrable
53  // virtual void register_frag_id( Size frag_id ) = 0;
54 };
55 
56 
57 } //fragment
58 } //core
59 #endif