Simple string wrapper.
Definition: wordwrap.h:27
void restart()
Rewind the word wrapper, restarting the output from the beginning of the string.
Definition: wordwrap.h:41
WordWrap(const std::string &s)
Creates a new word wrapper that takes data from the given string.
Definition: wordwrap.h:35
bool hasData() const
Returns true if there is still data to be read in the string.
Definition: wordwrap.h:46