zorba::Thesaurus::iterator

#include <zorba/thesaurus.h>

An iterator is used to iterate over lookup results.

Public Functions

void

destroy() const =0

Destroys this iterator.

bool

next(String *synonym)=0

Gets the next synonym.

Protected Functions

~iterator()

Public Functions

destroy

void destroy() const =0

Destroys this iterator.

next

bool next(String *synonym)=0

Gets the next synonym.

This function must always include the original phrase that was looked up in its results.

Parameters

synonym A pointer to the string to receive the next synonym.

Returns

Returns true only if there is a next synonym.

Protected Functions

~iterator

 ~iterator()