FreeLing  3.0
Public Member Functions | Private Attributes
PrefTree Class Reference

#include <prefTree.h>

Collaboration diagram for PrefTree:
Collaboration graph
[legend]

List of all members.

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::ListRecBasefindWord (const wchar_t *) const
std::wstring * find (const wchar_t *word) const
bool deleteWord (const wchar_t *)

Private Attributes

Listroot

Constructor & Destructor Documentation

PrefTree::PrefTree ( ) [inline]

References root.

PrefTree::~PrefTree ( ) [inline]

References root.


Member Function Documentation

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
List::ListRecBase * PrefTree::findWord ( const wchar_t *  word) const

References List::find(), List::ListRecBase::nextList, and root.

Referenced by find().


Member Data Documentation

List* PrefTree::root [private]

Referenced by addWord(), findWord(), PrefTree(), and ~PrefTree().


The documentation for this class was generated from the following files: