#include <GStream.h>
Public Member Functions | |
GLinePrefix (char *p, bool eol=true) | |
Finds some text on the start of a line. | |
void | Reset () |
Reset the end point's state. | |
int | IsEnd (void *s, int Len) |
Override to process a data chunk to check for an end of stream marker. |
GLinePrefix::GLinePrefix | ( | char * | p, | |
bool | eol = true | |||
) |
Finds some text on the start of a line.
p | The string to look for on the start of the line |
eol | true if you want the index of the end of the line, otherwise the index of the start of the line is returned |
int GLinePrefix::IsEnd | ( | void * | Data, | |
int | Len | |||
) | [virtual] |
Override to process a data chunk to check for an end of stream marker.
Implements GStreamEnd.