#include </home/clem/local/src/opie/library/qdawg.h>
Public Member Functions | |
| QChar | letter () const |
| bool | isWord () const |
| bool | isLast () const |
| const Node * | next () const |
| const Node * | jump () const |
Private Member Functions | |
| Node () | |
Private Attributes | |
| uint | let:(30-nodebits) |
| uint | isword:1 |
| uint | islast:1 |
| int | offset:nodebits |
Friends | |
| class | QDawgPrivate |
Definition at line 46 of file qdawg.h.
|
|
|
|
|
Returns TRUE if this Node is the last in the child list; otherwise returns FALSE. Definition at line 56 of file qdawg.h. References islast. |
|
|
Returns TRUE if this Node is the end of a word; otherwise returns FALSE. Definition at line 55 of file qdawg.h. References isword. Referenced by ComputerPlayer::findBest(). |
|
|
Returns the node connected to this Node. Definition at line 58 of file qdawg.h. References offset. Referenced by ComputerPlayer::findBest(). |
|
|
Returns this Node's letter. Definition at line 54 of file qdawg.h. References let. Referenced by ComputerPlayer::findBest(). |
|
|
Returns the next child Node in the child list or 0 if the current Node isLast(). Definition at line 57 of file qdawg.h. References islast. Referenced by ComputerPlayer::findBest(). |
|
|
|
|
|
Definition at line 50 of file qdawg.h. Referenced by QDawgPrivate::appendToArray(), QDawgPrivate::dump(), isLast(), and next(). |
|
|
Definition at line 49 of file qdawg.h. Referenced by QDawgPrivate::appendAllWords(), QDawgPrivate::appendToArray(), QDawgPrivate::contains(), QDawgPrivate::countWords(), QDawgPrivate::dump(), QDawgPrivate::dumpWords(), and isWord(). |
|
|
Definition at line 48 of file qdawg.h. Referenced by QDawgPrivate::appendAllWords(), QDawgPrivate::appendToArray(), QDawgPrivate::contains(), QDawgPrivate::dump(), QDawgPrivate::dumpWords(), and letter(). |
|
|
Definition at line 51 of file qdawg.h. Referenced by QDawgPrivate::appendAllWords(), QDawgPrivate::appendToArray(), QDawgPrivate::contains(), QDawgPrivate::countWords(), QDawgPrivate::dump(), QDawgPrivate::dumpWords(), and jump(). |
1.4.2