44 #ifndef OSSIM__FLEX_LEXER_H 46 #define OSSIM__FLEX_LEXER_H 61 const char*
YYText() {
return yytext; }
69 virtual void yyrestart(
istream* s ) = 0;
71 virtual int yylex() = 0;
76 switch_streams( new_in, new_out );
82 virtual void switch_streams(
istream* new_in = 0,
85 int lineno()
const {
return yylineno; }
87 int debug()
const {
return yy_flex_debug; }
88 void set_debug(
int flag ) { yy_flex_debug = flag; }
100 #if defined(yyFlexLexer) || ! defined(yyFlexLexerOnce) 104 #define yyFlexLexerOnce 123 virtual int LexerInput(
char* buf,
int max_size );
124 virtual void LexerOutput(
const char* buf,
int size );
125 virtual void LexerError(
const char* msg );
127 void yyunput(
int c,
char* buf_ptr );
130 void yy_load_buffer_state();
138 void yy_push_state(
int new_state );
144 int yy_get_next_buffer();
yy_state_type * yy_state_ptr
yy_state_type * yy_state_buf
yy_state_type yy_last_accepting_state
char * yy_last_accepting_cpos
int yy_looking_for_trail_begin
int yy_did_buffer_switch_on_eof
int yylex(istream *new_in, ostream *new_out=0)
std::basic_istream< char > istream
Base class for char input streams.
struct yy_buffer_state * yy_current_buffer
std::basic_ostream< char > ostream
Base class for char output streams.