Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ExtentGenerator.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/fragment/picking_old/concepts/ExtentGenerator.hh
11 /// @brief class demonstrating ExtentGenerator concept
12 /// @author Yih-En Andrew Ban (yab@u.washington.edu)
13 
14 #ifndef INCLUDED_core_fragment_picking_old_concepts_ExtentGenerator_hh
15 #define INCLUDED_core_fragment_picking_old_concepts_ExtentGenerator_hh
16 
17 // unit headers
19 
20 // package headers
22 //#include <core/fragment/picking_old/PageIterator.hh>
23 
24 
25 namespace core {
26 namespace fragment {
27 namespace picking_old {
28 namespace concepts {
29 
30 /*
31 /// @brief class demonstrating ExtentGenerator concept
32 /// @remarks for demonstration only, do not derive from this class!
33 template< typename Ext >
34 class ExtentGenerator {
35 
36 
37 public:
38 
39 
40  typedef Ext Extent;
41 
42 
43  /// @brief given the beginning of an extent, return the desired extent end
44  /// @param extent_begin the beginning Page of the extent
45  /// @param book_end points just beyond the last Page of the extent
46  /// @remarks implement this to get custom extent generation
47  Extent operator ()( PageIterator extent_begin, PageIterator book_end );
48 
49 
50  /// @brief clone this object
51  virtual
52  ExtentGenerator * clone();
53 
54 
55 };
56 */
57 
58 } // concepts
59 } // picking_old
60 } // fragment
61 } // core
62 
63 #endif /* INCLUDED_core_fragment_picking_old_concepts_ExtentGenerator_HH */