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
std::string get(unsigned int width)
Get a line of text from the string, wrapped to a maximum of width characters.
Definition wordwrap.cpp:9