#include <WordCount.h>
Inheritance diagram for ht::example::WordCount:

Public Member Functions | |
| void | process (const WordBuffer &buf) |
| void | connect (ht::graph::Node *next) |
| void | stop () |
| int | words () |
| int | lines () |
| int | bytes () |
| void ht::example::WordCount::process | ( | const WordBuffer & | buf | ) | [virtual] |
Do something with a word
Implements ht::example::WordReader.
| void ht::example::WordCount::connect | ( | ht::graph::Node * | ) | [virtual] |
Do nothing
Reimplemented from ht::graph::NodeBase.
| void ht::example::WordCount::stop | ( | ) | [virtual] |
Send the count of lines, words and characters as whole numbers, space separated
Reimplemented from ht::graph::NodeBase.
| int ht::example::WordCount::words | ( | ) | [inline] |
Used for testing.
| int ht::example::WordCount::lines | ( | ) | [inline] |
Used for testing.
| int ht::example::WordCount::bytes | ( | ) | [inline] |
Used for testing.
1.5.2