An iterator is used to iterate over lookup results. More...
#include <zorba/thesaurus.h>
Public Types | |
| typedef std::unique_ptr < iterator, internal::ztd::destroy_delete < iterator > > | ptr |
Public Member Functions | |
| virtual void | destroy () const =0 |
| Destroys this iterator. More... | |
| virtual bool | next (String *synonym)=0 |
| Gets the next synonym. More... | |
Protected Member Functions | |
| virtual | ~iterator () |
An iterator is used to iterate over lookup results.
Definition at line 52 of file thesaurus.h.
| typedef std::unique_ptr<iterator,internal::ztd::destroy_delete<iterator> > zorba::Thesaurus::iterator::ptr |
Definition at line 55 of file thesaurus.h.
|
inlineprotectedvirtual |
Definition at line 72 of file thesaurus.h.
|
pure virtual |
Destroys this iterator.
Gets the next synonym.
This function must always include the original phrase that was looked up in its results.
| synonym | A pointer to the string to receive the next synonym. |
true only if there is a next synonym.