|
uint | readNumber (const char *str) |
|
bool | testFileHandle (SimpleFile *file) const |
|
bool | testFileHandle (FileHandle resHandle) const |
|
|
TTstringStatus | _status |
|
int | _field24 |
|
int | _field28 |
|
◆ readNumber()
uint Titanic::TTword::readNumber |
( |
const char * |
str | ) |
|
|
protected |
◆ deleteSiblings()
void Titanic::TTword::deleteSiblings |
( |
| ) |
|
Delete any following words chained to the word
◆ readSyn()
Read in a synonym for the given word
◆ setSyn()
void Titanic::TTword::setSyn |
( |
TTsynonym * |
synP | ) |
|
Set a new synonym for the word
◆ setSynStr()
int Titanic::TTword::setSynStr |
( |
TTstring & |
str | ) |
|
◆ hasSynonyms()
bool Titanic::TTword::hasSynonyms |
( |
| ) |
const |
|
inline |
Returns true if synonyms have been set for the word
◆ appendNode()
void Titanic::TTword::appendNode |
( |
TTsynonym * |
node | ) |
|
Either sets the first synonym for a word, or adds it to an existing one
◆ load()
int Titanic::TTword::load |
( |
SimpleFile * |
file, |
|
|
WordClass |
wordClass |
|
) |
| |
◆ findSynByName()
bool Titanic::TTword::findSynByName |
( |
const TTstring & |
str, |
|
|
TTsynonym * |
dest, |
|
|
VocabMode |
mode |
|
) |
| const |
Finds a synonym in the word by name, if one exists
- Parameters
-
str | Name to search for |
dest | Destination synonym instance to copy match into |
mode | Specifies English or German vocab mode |
- Returns
- Returns true if a match was found
◆ getText()
const TTstring Titanic::TTword::getText |
( |
| ) |
|
|
inline |
Return the text of the word
◆ compareTo() [1/2]
bool Titanic::TTword::compareTo |
( |
const char * |
str | ) |
const |
Compares the word's text to a passed string
◆ compareTo() [2/2]
bool Titanic::TTword::compareTo |
( |
TTstring * |
str | ) |
const |
|
inline |
Compares the word's text to a passed string
◆ getStatus()
TTstringStatus Titanic::TTword::getStatus |
( |
| ) |
const |
|
inline |
Return the status of the word
◆ isValid()
bool Titanic::TTword::isValid |
( |
| ) |
const |
|
inline |
Returns true if the word is in a valid state
◆ getChainStatus()
TTstringStatus Titanic::TTword::getChainStatus |
( |
| ) |
const |
Return the status of the entire word chain
◆ isClass()
bool Titanic::TTword::isClass |
( |
WordClass |
wordClass | ) |
const |
|
inline |
Returns true if the word is of the specified class
◆ copyWords()
TTword* Titanic::TTword::copyWords |
( |
| ) |
|
Copy the word and any attached to it
◆ copy()
virtual TTword* Titanic::TTword::copy |
( |
| ) |
const |
|
virtual |
◆ checkTag()
virtual bool Titanic::TTword::checkTag |
( |
| ) |
const |
|
inlinevirtual |
◆ compareTagTo()
virtual bool Titanic::TTword::compareTagTo |
( |
uint |
tag | ) |
const |
|
inlinevirtual |
◆ getTag()
virtual uint Titanic::TTword::getTag |
( |
| ) |
const |
|
inlinevirtual |
◆ getSynFile()
virtual FileHandle Titanic::TTword::getSynFile |
( |
| ) |
const |
|
virtual |
Returns the file associated with the word's first synonym
◆ checkSynFile()
virtual bool Titanic::TTword::checkSynFile |
( |
FileHandle |
file | ) |
const |
|
virtual |
Checks whether the file associated with the word's first synonym matches the specified file
◆ setSynFile()
virtual void Titanic::TTword::setSynFile |
( |
FileHandle |
file | ) |
|
|
virtual |
Sets the file associated with a synonym
◆ save()
virtual int Titanic::TTword::save |
( |
SimpleFile * |
file | ) |
const |
|
inlinevirtual |
The documentation for this class was generated from the following file: