OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Member Functions | Protected Attributes | List of all members
FlexLexer Class Referenceabstract

#include <ossimFlexLexer.h>

Inheritance diagram for FlexLexer:
yyFlexLexer

Public Member Functions

virtual ~FlexLexer ()
 
const char * YYText ()
 
int YYLeng ()
 
virtual void yy_switch_to_buffer (struct yy_buffer_state *new_buffer)=0
 
virtual struct yy_buffer_stateyy_create_buffer (istream *s, int size)=0
 
virtual void yy_delete_buffer (struct yy_buffer_state *b)=0
 
virtual void yyrestart (istream *s)=0
 
virtual int yylex ()=0
 
int yylex (istream *new_in, ostream *new_out=0)
 
virtual void switch_streams (istream *new_in=0, ostream *new_out=0)=0
 
int lineno () const
 
int debug () const
 
void set_debug (int flag)
 

Protected Attributes

char * yytext
 
int yyleng
 
int yylineno
 
int yy_flex_debug
 

Detailed Description

Definition at line 57 of file ossimFlexLexer.h.

Constructor & Destructor Documentation

◆ ~FlexLexer()

virtual FlexLexer::~FlexLexer ( )
inlinevirtual

Definition at line 59 of file ossimFlexLexer.h.

59 { }

Member Function Documentation

◆ debug()

int FlexLexer::debug ( ) const
inline

Definition at line 87 of file ossimFlexLexer.h.

87 { return yy_flex_debug; }
int yy_flex_debug

◆ lineno()

int FlexLexer::lineno ( ) const
inline

Definition at line 85 of file ossimFlexLexer.h.

85 { return yylineno; }

◆ set_debug()

void FlexLexer::set_debug ( int  flag)
inline

Definition at line 88 of file ossimFlexLexer.h.

88 { yy_flex_debug = flag; }
int yy_flex_debug

◆ switch_streams()

virtual void FlexLexer::switch_streams ( istream *  new_in = 0,
ostream *  new_out = 0 
)
pure virtual

Implemented in yyFlexLexer.

◆ yy_create_buffer()

virtual struct yy_buffer_state* FlexLexer::yy_create_buffer ( istream *  s,
int  size 
)
pure virtual

Implemented in yyFlexLexer.

◆ yy_delete_buffer()

virtual void FlexLexer::yy_delete_buffer ( struct yy_buffer_state b)
pure virtual

Implemented in yyFlexLexer.

◆ yy_switch_to_buffer()

virtual void FlexLexer::yy_switch_to_buffer ( struct yy_buffer_state new_buffer)
pure virtual

Implemented in yyFlexLexer.

◆ YYLeng()

int FlexLexer::YYLeng ( )
inline

Definition at line 62 of file ossimFlexLexer.h.

References yyleng.

62 { return yyleng; }

◆ yylex() [1/2]

virtual int FlexLexer::yylex ( )
pure virtual

Implemented in yyFlexLexer.

◆ yylex() [2/2]

int FlexLexer::yylex ( istream *  new_in,
ostream *  new_out = 0 
)
inline

Definition at line 74 of file ossimFlexLexer.h.

75  {
76  switch_streams( new_in, new_out );
77  return yylex();
78  }
virtual int yylex()=0
virtual void switch_streams(istream *new_in=0, ostream *new_out=0)=0

◆ yyrestart()

virtual void FlexLexer::yyrestart ( istream *  s)
pure virtual

Implemented in yyFlexLexer.

◆ YYText()

const char* FlexLexer::YYText ( )
inline

Definition at line 61 of file ossimFlexLexer.h.

61 { return yytext; }
char * yytext

Member Data Documentation

◆ yy_flex_debug

int FlexLexer::yy_flex_debug
protected

Definition at line 94 of file ossimFlexLexer.h.

◆ yyleng

int FlexLexer::yyleng
protected

Definition at line 92 of file ossimFlexLexer.h.

◆ yylineno

int FlexLexer::yylineno
protected

Definition at line 93 of file ossimFlexLexer.h.

◆ yytext

char* FlexLexer::yytext
protected

Definition at line 91 of file ossimFlexLexer.h.


The documentation for this class was generated from the following file: