Definition at line 113 of file SgBoardConst.h.
Public Member Functions | |
| BoardConstImpl (SgGrid size) | |
Public Attributes | |
| SgGrid | m_size |
| Size. | |
| int | m_firstBoardPoint |
| int | m_lastBoardPoint |
| SgPointArray< SgGrid > | m_gridToLine |
| SgPointArray< SgGrid > | m_gridToPos |
| SgPoint | m_neighbors [SG_MAXPOINT][5] |
| See SgBoardConst::Neighbors(). | |
| SgPointArray< int > | m_up |
| SgPointSet | m_corners |
| SgPointSet | m_edges |
| SgPointSet | m_centers |
| SgPointSet | m_sideExtensions |
| SgPoint | m_cornerIter [4+1] |
| SgPointSet | m_line [(SG_MAX_SIZE/2)+1] |
| SgPoint * | m_lineIterAddress [(SG_MAX_SIZE/2)+1] |
| SgPoint | m_boardIter [SG_MAX_ONBOARD+1] |
| SgPoint * | m_boardIterEnd |
| SgPoint | m_lineIter [SG_MAX_SIZE *SG_MAX_SIZE+(SG_MAX_SIZE/2)+1] |
| int | m_side [2][2 *(SG_NS+SG_WE)+1] |
| SgBoardConst::BoardConstImpl::BoardConstImpl | ( | SgGrid | size | ) |
Definition at line 19 of file SgBoardConst.cpp.
References SgPointSet::Exclude(), SgArray< T, SIZE >::Fill(), SgPointSet::Include(), m_boardIter, m_boardIterEnd, m_centers, m_cornerIter, m_corners, m_edges, m_firstBoardPoint, m_gridToLine, m_gridToPos, m_lastBoardPoint, m_line, m_lineIter, m_lineIterAddress, m_neighbors, m_side, m_sideExtensions, m_size, m_up, SgPointUtil::Pt(), SG_ASSERT, SG_ENDPOINT, SG_MAX_SIZE, SG_MAXPOINT, SG_NS, and SG_WE.
See SgBoardConst::Neighbors().
Definition at line 129 of file SgBoardConst.h.
Referenced by BoardConstImpl().
| int SgBoardConst::BoardConstImpl::m_side[2][2 *(SG_NS+SG_WE)+1] |