|
FreeLing
3.0
|
#include <prefTree.h>

Public Member Functions | |
| PrefTree () | |
| ~PrefTree () | |
| void | addWord (const wchar_t *word, const std::wstring &data) |
| void | addWordData (const wchar_t *word, const std::wstring &) |
| List::ListRecBase * | findWord (const wchar_t *) const |
| std::wstring * | find (const wchar_t *word) const |
| bool | deleteWord (const wchar_t *) |
Private Attributes | |
| List * | root |
| PrefTree::PrefTree | ( | ) | [inline] |
References root.
| PrefTree::~PrefTree | ( | ) | [inline] |
References root.
| void PrefTree::addWord | ( | const wchar_t * | word, |
| const std::wstring & | data | ||
| ) |
References List::push(), and root.
| void PrefTree::addWordData | ( | const wchar_t * | word, |
| const std::wstring & | |||
| ) |
| bool PrefTree::deleteWord | ( | const wchar_t * | ) |
| std::wstring * PrefTree::find | ( | const wchar_t * | word | ) | const |
References findWord(), and List::ListRecData::value.
| List::ListRecBase * PrefTree::findWord | ( | const wchar_t * | word | ) | const |
References List::find(), List::ListRecBase::nextList, and root.
Referenced by find().
List* PrefTree::root [private] |
Referenced by addWord(), findWord(), PrefTree(), and ~PrefTree().
1.7.6.1