Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  
Public Member Functions

SgCornerIterator Class Reference

Iterate through all four corner point of the given board. More...

#include <SgBoardConst.h>

Inheritance diagram for SgCornerIterator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 SgCornerIterator (const SgBoardConst &boardConst)
void operator++ ()
 Advance the state of the iteration to the next element.
SgPoint operator* () const
 Return the value of the current element.
 operator bool () const
 Return true if iteration is valid, otherwise false.

Detailed Description

Iterate through all four corner point of the given board.

Definition at line 267 of file SgBoardConst.h.


Constructor & Destructor Documentation

SgCornerIterator::SgCornerIterator ( const SgBoardConst boardConst  ) 

Definition at line 271 of file SgBoardConst.h.


Member Function Documentation

SgPointIterator::operator bool (  )  const [inherited]

Return true if iteration is valid, otherwise false.

Definition at line 60 of file SgPointIterator.h.

References SgPointIterator::m_point, and SG_ENDPOINT.

SgPoint SgPointIterator::operator* (  )  const [inherited]

Return the value of the current element.

Definition at line 55 of file SgPointIterator.h.

References SgPointIterator::m_point.

void SgPointIterator::operator++ (  )  [inherited]

Advance the state of the iteration to the next element.

Definition at line 50 of file SgPointIterator.h.

References SgPointIterator::m_point.


The documentation for this class was generated from the following file:


Sun Mar 13 2011 Doxygen 1.7.1