#include <StrMod/CharChopper.h>
Inheritance diagram for strmod::strmod::CharChopper:

Public Methods | |
| CharChopper (char chopchar) | |
| Make a CharChopper. | |
| virtual int | AreYouA (const lcore::ClassIdent &cid) const |
| Asks if a class is of a particular type, or publicly derived from that type. | |
Static Public Attributes | |
| const STR_ClassIdent | identifier |
| Globally unique identifier for this class. | |
If an object of this class is constructed with a 'g', and you have an incoming stream of data that arrives in the following chunks:
<This ghost> < went to the gilded post t> <o admire the gold.>
You'll end up with an outgoing stream of data that looks like this:
<This g> <host went to the g> <ilded post to admire the g>
It will hold the last few characters <old.>, waiting for another 'g' before it send them off again.
Definition at line 63 of file CharChopper.h.
|
|
Make a CharChopper.
Definition at line 73 of file CharChopper.h. |
|
|
Asks if a class is of a particular type, or publicly derived from that type. Overriden in every derived class (with a static identifier member) to compare against the identifier, then call the AreYouA methods of all the superclasses.
Reimplemented from strmod::strmod::StreamProcessor. Reimplemented in strmod::strmod::NewlineChopper. Definition at line 100 of file CharChopper.h. |
|
|
Globally unique identifier for this class. Every class that might need to be identified should have a public static const identifier object in it. Reimplemented from strmod::strmod::StreamProcessor. Reimplemented in strmod::strmod::NewlineChopper. |
1.3-rc1