Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

spellchecker Class Reference

An abstraction of a spell checker. More...

#include <spellchecker.h>

List of all members.

Public Member Functions

bool isOk ()
bool checkWord (const wxString &word)
 Check a word in the dictionary.

Static Public Member Functions

static spellcheckergetInstance ()
 Returns a singleton instance of the spellchecker.

Protected Member Functions

 spellchecker ()
 Create a spellchecker.
 spellchecker (const spellchecker &)
 ~spellchecker ()
 Destroy.
wxString getline ()
 Get a line from the pipe.
void putline (const wxString &line)
 Write a line to the pipe.
bool openPipe ()
 Open a pipe to aspell.


Detailed Description

An abstraction of a spell checker.

This is currently very unstable. Who needs to check their speling anyway?


Constructor & Destructor Documentation

spellchecker::spellchecker  )  [protected]
 

Create a spellchecker.

spellchecker::spellchecker const spellchecker  )  [protected]
 

spellchecker::~spellchecker  )  [protected]
 

Destroy.


Member Function Documentation

bool spellchecker::checkWord const wxString &  word  ) 
 

Check a word in the dictionary.

Parameters:
word the word to check.

spellchecker * spellchecker::getInstance  )  [static]
 

Returns a singleton instance of the spellchecker.

wxString spellchecker::getline  )  [protected]
 

Get a line from the pipe.

bool spellchecker::isOk  )  [inline]
 

bool spellchecker::openPipe  )  [protected]
 

Open a pipe to aspell.

void spellchecker::putline const wxString &  line  )  [protected]
 

Write a line to the pipe.

Parameters:
line the line to write.


The documentation for this class was generated from the following files:
Generated on Fri Mar 10 12:32:03 2006 for MonkeyFish by  doxygen 1.4.4