Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

FCHashStateStorage Class Reference

Generic hash state storage class.

#include <FCSStateStorage.h>

Inheritance diagram for FCHashStateStorage:

AFCSGenericStateStorage FCGLIBHashStateStorage FCInternalHashStateStorage List of all members.

Public Member Functions

 FCHashStateStorage ()
 Constructor.
virtual ~FCHashStateStorage ()
 Destructor.
virtual bool CheckAndInsert (FCSStateWithLocations **ExistingState, FCSStateWithLocations *NewState)
 Insert a state into storage.

Protected Attributes

AGenericHash< FCSStateWithLocations,
void > * 
m_Hash
 Hash to store states.

Detailed Description

Definition at line 113 of file FCSStateStorage.h.


Member Function Documentation

bool FCHashStateStorage::CheckAndInsert FCSStateWithLocations **  ExistingState,
FCSStateWithLocations NewState
[virtual]
 

Parameters:
ExistingState is the found or recently inserted state
NewState is the state to try to insert
Returns:
Return true if state was inserted, else false

Implements AFCSGenericStateStorage.

Definition at line 97 of file FCSStateStorage.cpp.

References AGenericHash< Key, ConfigData >::Insert(), and m_Hash.


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 11:20:16 2005 for Cpp Freecell Solver by  doxygen 1.4.4