Logo Search packages:      
Sourcecode: vdr-plugin-sudoku version File versions  Download package

bool Puzzle::given ( Pos  pos  )  const

Is the number in this cell given?

Definition at line 156 of file puzzle.cpp.

References Sudoku::Numbers::get().

Referenced by next_number(), SudokuPlugin::Menu::paint(), set(), and Sudoku::Solver::Solver().

{
  assert (pos <= Pos::last());
  return givens.get(pos) != 0;
}


Generated by  Doxygen 1.6.0   Back to index