#include <wvprotostream.h>
Inheritance diagram for WvProtoStream:

Public Methods | |
| WvProtoStream (WvStream **_cloned, WvLog *_debuglog=NULL) | |
| virtual | ~WvProtoStream () |
| virtual size_t | uwrite (const void *buffer, size_t size) |
| virtual Token * | next_token () |
| WvString | next_token_str () |
| WvString | token_remaining () |
| virtual TokenList * | tokenize () |
| size_t | list_to_array (TokenList *tl, Token **array) |
| Token * | tokline (const char *line) |
| int | tokanal (const Token &t, char **lookup, bool case_sensitive=false) |
| virtual void | do_state (Token &t1) |
| virtual void | switch_state (int newstate) |
| virtual void | execute () |
| WvProtoStream (WvStream **_cloned, WvLog *_debuglog=NULL) | |
| virtual | ~WvProtoStream () |
| virtual size_t | uwrite (const void *buffer, size_t size) |
| virtual Token * | next_token () |
| WvString | next_token_str () |
| WvString | token_remaining () |
| virtual TokenList * | tokenize () |
| size_t | list_to_array (TokenList *tl, Token **array) |
| Token * | tokline (const char *line) |
| int | tokanal (const Token &t, char **lookup, bool case_sensitive=false) |
| virtual void | do_state (Token &t1) |
| virtual void | switch_state (int newstate) |
| virtual void | execute () |
| DeclareWvList (Token) | |
Public Attributes | |
| int | state |
| WvBuffer | tokbuf |
| bool | log_enable |
Protected Attributes | |
| WvLog * | logp |
| WvLog * | logp |
Definition at line 18 of file include/wvprotostream.h.
|
||||||||||||
|
Definition at line 16 of file wvprotostream.cc. References WvLog::Debug3, log_enable, logp, and state. |
|
|
Definition at line 29 of file wvprotostream.cc. References logp. |
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 175 of file wvprotostream.cc. Referenced by execute. |
|
|
pass input through to the state machine, one line at a time Reimplemented from WvStreamClone. |
|
|
pass input through to the state machine, one line at a time Reimplemented from WvStreamClone. Definition at line 189 of file wvprotostream.cc. References do_state, WvStreamClone::execute, WvStream::getline, and tokline. |
|
||||||||||||
|
|
|
||||||||||||
|
Definition at line 111 of file wvprotostream.cc. |
|
|
|
|
|
Definition at line 51 of file wvprotostream.cc. References WvBuffer::get, WvBuffer::match, and tokbuf. Referenced by next_token_str, tokenize, and tokline. |
|
|
|
|
|
Definition at line 65 of file wvprotostream.cc. References next_token, and WvStreamClone::s. |
|
|
|
|
|
Definition at line 180 of file wvprotostream.cc. References state. |
|
||||||||||||||||
|
Convert token strings to enum values |
|
||||||||||||||||
|
Convert token strings to enum values Definition at line 157 of file wvprotostream.cc. |
|
|
|
|
|
Definition at line 76 of file wvprotostream.cc. References WvBuffer::get, WvBuffer::put, tokbuf, trim_string, and WvBuffer::used. |
|
|
|
|
|
Definition at line 86 of file wvprotostream.cc. References log_enable, logp, and next_token. |
|
|
|
|
|
Definition at line 136 of file wvprotostream.cc. References next_token, WvBuffer::put, tokbuf, trim_string, and WvBuffer::zap. Referenced by execute. |
|
||||||||||||
|
override uwrite() so we can log all output Reimplemented from WvStreamClone. |
|
||||||||||||
|
override uwrite() so we can log all output Reimplemented from WvStreamClone. Definition at line 38 of file wvprotostream.cc. References log_enable, logp, size, WvStreamClone::uwrite, and WvStream::write. |
|
|
Definition at line 75 of file streams/wvprotostream.h. Referenced by tokenize, uwrite, WvProtoStream, and WvProtoStream::TokenList::~TokenList. |
|
|
Definition at line 57 of file streams/wvprotostream.h. |
|
|
Definition at line 57 of file include/wvprotostream.h. Referenced by tokenize, uwrite, WvProtoStream, and ~WvProtoStream. |
|
|
Definition at line 47 of file streams/wvprotostream.h. Referenced by switch_state, and WvProtoStream. |
|
|
Definition at line 74 of file streams/wvprotostream.h. Referenced by next_token, token_remaining, tokline, and WvProtoStream::TokenList::~TokenList. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002