Line in sudoku list. More...
#include <list.h>
Public Member Functions | |
ListLine (const char *sudoku, const char *description="") | |
Constructor. | |
const char * | get_sudoku () const |
Get the sudoku dump. | |
const char * | get_description () const |
Get the description. | |
void | set_description (const char *new_description) |
Set the description. | |
bool | Parse (const char *line) |
Parse a line of the sudoku list. | |
bool | Save (FILE *file) const |
Save a line of the sudoku list. | |
Private Member Functions | |
ListLine () | |
Default constructor for cConfig<ListLine> | |
Private Attributes | |
cString | sudoku |
cString | description |
Friends | |
class | cConfig< ListLine > |
Line in sudoku list.
Definition at line 35 of file list.h.
ListLine::ListLine | ( | ) | [private] |
ListLine::ListLine | ( | const char * | sudoku, | |
const char * | description = "" | |||
) |
const char * ListLine::get_description | ( | ) | const |
Get the description.
Definition at line 56 of file list.cpp.
References description.
Referenced by SudokuPlugin::ListEdit::ListEdit().
const char * ListLine::get_sudoku | ( | ) | const |
Get the sudoku dump.
Definition at line 49 of file list.cpp.
References sudoku.
Referenced by SudokuPlugin::ListMenu::get_selected_sudoku().
bool ListLine::Parse | ( | const char * | line | ) |
Parse a line of the sudoku list.
Definition at line 70 of file list.cpp.
References description, and sudoku.
bool ListLine::Save | ( | FILE * | file | ) | const |
Save a line of the sudoku list.
Definition at line 89 of file list.cpp.
References description, and sudoku.
void ListLine::set_description | ( | const char * | new_description | ) |
Set the description.
Definition at line 63 of file list.cpp.
References description.
Referenced by SudokuPlugin::ListEdit::ProcessKey().
cString SudokuPlugin::ListLine::description [private] |
Definition at line 38 of file list.h.
Referenced by get_description(), Parse(), Save(), and set_description().
cString SudokuPlugin::ListLine::sudoku [private] |
Definition at line 37 of file list.h.
Referenced by get_sudoku(), Parse(), and Save().