SudokuPlugin::ListLine Class Reference

Line in sudoku list. More...

#include <list.h>

List of all members.

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 >

Detailed Description

Line in sudoku list.

Definition at line 35 of file list.h.


Constructor & Destructor Documentation

ListLine::ListLine (  )  [private]

Default constructor for cConfig<ListLine>

Definition at line 36 of file list.cpp.

ListLine::ListLine ( const char *  sudoku,
const char *  description = "" 
)

Constructor.

Definition at line 41 of file list.cpp.


Member Function Documentation

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().


Friends And Related Function Documentation

friend class cConfig< ListLine > [friend]

Definition at line 42 of file list.h.


Member Data Documentation

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().


The documentation for this class was generated from the following files:
Generated on Mon Apr 5 17:01:13 2010 for VDR plugin 'Sudoku' by  doxygen 1.6.3