Map of positions; handles rotations. More...
#include <StateDB.hpp>
Public Member Functions | |
StateMap () | |
~StateMap () | |
bool | Exists (const HexState &state) const |
T & | operator[] (const HexState &state) |
std::size_t | Size () const |
Private Attributes | |
std::map< hash_t, T > | m_map |
Map of positions; handles rotations.
Definition at line 248 of file StateDB.hpp.
Definition at line 266 of file StateDB.hpp.
Definition at line 271 of file StateDB.hpp.
Definition at line 276 of file StateDB.hpp.
References _BEGIN_BENZENE_NAMESPACE_::GetHash(), and StateMap< T >::m_map.
Definition at line 282 of file StateDB.hpp.
References _BEGIN_BENZENE_NAMESPACE_::GetHash(), and StateMap< T >::m_map.
std::size_t StateMap< T >::Size | ( | ) | const [inline] |
Definition at line 288 of file StateDB.hpp.
References StateMap< T >::m_map.
Definition at line 262 of file StateDB.hpp.
Referenced by StateMap< T >::Exists(), StateMap< T >::operator[](), and StateMap< T >::Size().