/[projects]/queensgui/src/containerhash.h
ViewVC logotype

Diff of /queensgui/src/containerhash.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

queensgui/src/solutionhash.h revision 3 by torben, Thu Jul 19 23:36:33 2007 UTC queensgui/src/containerhash.h revision 6 by torben, Fri Jul 20 09:54:09 2007 UTC
# Line 17  Line 17 
17   *   Free Software Foundation, Inc.,                                       *   *   Free Software Foundation, Inc.,                                       *
18   *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *   *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
19   ***************************************************************************/   ***************************************************************************/
20  #ifndef SOLUTIONHASH_H  #ifndef CONTAINERHASH_H
21  #define SOLUTIONHASH_H  #define CONTAINERHASH_H
22    
23  #include "solutioncontainer.h"  #include "solutioncontainer.h"
24  #include "solution.h"  #include "solution.h"
25    
26  #include <list>  #include <list>
27    #include <boost/shared_ptr.hpp>
28    
29    
30    
31  /**  /**
# Line 33  class ContainerHash : public SolutionCon Line 35  class ContainerHash : public SolutionCon
35  {  {
36  private:  private:
37      static const int max_size = 256;      static const int max_size = 256;
38      typedef std::list<Solution*>::iterator ListIt;      typedef std::list< boost::shared_ptr<Solution> >::iterator ListIt;
39      typedef std::list<Solution*> SolList;          typedef std::list< boost::shared_ptr<Solution> > SolList;
40            
41      SolList* solutions[max_size];      SolList* solutions[max_size];
42            

Legend:
Removed from v.3  
changed lines
  Added in v.6

  ViewVC Help
Powered by ViewVC 1.1.20