OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Classes | Macros | Typedefs | Functions | Variables
ossimEquTokenizer.cpp File Reference
#include <ossim/base/ossimEquTokenizer.h>
#include <ossim/base/ossimEquTokenDefines.h>

Go to the source code of this file.

Classes

struct  yy_buffer_state
 

Macros

#define FLEX_SCANNER
 
#define YY_FLEX_MAJOR_VERSION   2
 
#define YY_FLEX_MINOR_VERSION   5
 
#define yyconst
 
#define YY_PROTO(proto)   ()
 
#define YY_NULL   0
 
#define YY_SC_TO_UI(c)   ((unsigned int) (unsigned char) c)
 
#define BEGIN   yy_start = 1 + 2 *
 
#define YY_START   ((yy_start - 1) / 2)
 
#define YYSTATE   YY_START
 
#define YY_STATE_EOF(state)   (YY_END_OF_BUFFER + state + 1)
 
#define YY_NEW_FILE   yyrestart( yyin )
 
#define YY_END_OF_BUFFER_CHAR   0
 
#define YY_BUF_SIZE   16384
 
#define EOB_ACT_CONTINUE_SCAN   0
 
#define EOB_ACT_END_OF_FILE   1
 
#define EOB_ACT_LAST_MATCH   2
 
#define yyless(n)
 
#define unput(c)   yyunput( c, yytext_ptr )
 
#define YY_BUFFER_NEW   0
 
#define YY_BUFFER_NORMAL   1
 
#define YY_BUFFER_EOF_PENDING   2
 
#define YY_CURRENT_BUFFER   yy_current_buffer
 
#define yy_new_buffer   yy_create_buffer
 
#define yy_set_interactive(is_interactive)
 
#define yy_set_bol(at_bol)
 
#define YY_AT_BOL()   (yy_current_buffer->yy_at_bol)
 
#define yytext_ptr   yytext
 
#define YY_INTERACTIVE
 
#define YY_DO_BEFORE_ACTION
 
#define YY_NUM_RULES   52
 
#define YY_END_OF_BUFFER   53
 
#define REJECT   reject_used_but_not_detected
 
#define yymore()   yymore_used_but_not_detected
 
#define YY_MORE_ADJ   0
 
#define YY_RESTORE_YY_MORE_OFFSET
 
#define INITIAL   0
 
#define YY_NO_PUSH_STATE   1
 
#define YY_NO_POP_STATE   1
 
#define YY_NO_TOP_STATE   1
 
#define YY_READ_BUF_SIZE   8192
 
#define ECHO   LexerOutput( yytext, yyleng )
 
#define YY_INPUT(buf, result, max_size)
 
#define yyterminate()   return YY_NULL
 
#define YY_START_STACK_INCR   25
 
#define YY_FATAL_ERROR(msg)   LexerError( msg )
 
#define YY_DECL   int yyFlexLexer::yylex()
 
#define YY_USER_ACTION
 
#define YY_BREAK   break;
 
#define YY_RULE_SETUP   YY_USER_ACTION
 
#define YY_EXIT_FAILURE   2
 
#define yyless(n)
 

Typedefs

typedef struct yy_buffer_stateYY_BUFFER_STATE
 
typedef unsigned int yy_size_t
 
typedef unsigned char YY_CHAR
 

Functions

int yywrap YY_PROTO ((void))
 
 if (yy_init)
 
 while (1)
 
int yywrap ()
 

Variables

int yyleng
 
 YY_DECL
 
char * yy_cp = NULL
 
char * yy_bp = NULL
 
int yy_act
 
yy_size_t size
 

Macro Definition Documentation

◆ BEGIN

#define BEGIN   yy_start = 1 + 2 *

Definition at line 84 of file ossimEquTokenizer.cpp.

◆ ECHO

#define ECHO   LexerOutput( yytext, yyleng )

Definition at line 482 of file ossimEquTokenizer.cpp.

◆ EOB_ACT_CONTINUE_SCAN

#define EOB_ACT_CONTINUE_SCAN   0

Definition at line 108 of file ossimEquTokenizer.cpp.

Referenced by yyFlexLexer::yyinput().

◆ EOB_ACT_END_OF_FILE

#define EOB_ACT_END_OF_FILE   1

Definition at line 109 of file ossimEquTokenizer.cpp.

Referenced by yyFlexLexer::yy_get_next_buffer(), and yyFlexLexer::yyinput().

◆ EOB_ACT_LAST_MATCH

#define EOB_ACT_LAST_MATCH   2

Definition at line 110 of file ossimEquTokenizer.cpp.

Referenced by yyFlexLexer::yy_get_next_buffer(), and yyFlexLexer::yyinput().

◆ FLEX_SCANNER

#define FLEX_SCANNER

Definition at line 10 of file ossimEquTokenizer.cpp.

◆ INITIAL

#define INITIAL   0

Definition at line 410 of file ossimEquTokenizer.cpp.

◆ REJECT

#define REJECT   reject_used_but_not_detected

Definition at line 405 of file ossimEquTokenizer.cpp.

◆ unput

#define unput (   c)    yyunput( c, yytext_ptr )

Definition at line 139 of file ossimEquTokenizer.cpp.

◆ YY_AT_BOL

#define YY_AT_BOL ( )    (yy_current_buffer->yy_at_bol)

Definition at line 234 of file ossimEquTokenizer.cpp.

◆ YY_BREAK

#define YY_BREAK   break;

Definition at line 528 of file ossimEquTokenizer.cpp.

◆ YY_BUF_SIZE

#define YY_BUF_SIZE   16384

◆ YY_BUFFER_EOF_PENDING

#define YY_BUFFER_EOF_PENDING   2

Definition at line 202 of file ossimEquTokenizer.cpp.

Referenced by yyFlexLexer::yy_get_next_buffer().

◆ YY_BUFFER_NEW

#define YY_BUFFER_NEW   0

Definition at line 190 of file ossimEquTokenizer.cpp.

Referenced by yyFlexLexer::yy_flush_buffer().

◆ YY_BUFFER_NORMAL

#define YY_BUFFER_NORMAL   1

Definition at line 191 of file ossimEquTokenizer.cpp.

◆ YY_CURRENT_BUFFER

#define YY_CURRENT_BUFFER   yy_current_buffer

Definition at line 210 of file ossimEquTokenizer.cpp.

◆ YY_DECL

#define YY_DECL   int yyFlexLexer::yylex()

Definition at line 516 of file ossimEquTokenizer.cpp.

◆ YY_DO_BEFORE_ACTION

#define YY_DO_BEFORE_ACTION
Value:
yyleng = (int) (yy_cp - yy_bp); \
yy_hold_char = *yy_cp; \
*yy_cp = '\0'; \
yy_c_buf_p = yy_cp;
char * yy_bp
char * yy_cp
#define yytext_ptr

Definition at line 245 of file ossimEquTokenizer.cpp.

◆ YY_END_OF_BUFFER

#define YY_END_OF_BUFFER   53

Definition at line 253 of file ossimEquTokenizer.cpp.

◆ YY_END_OF_BUFFER_CHAR

#define YY_END_OF_BUFFER_CHAR   0

Definition at line 99 of file ossimEquTokenizer.cpp.

Referenced by yyFlexLexer::yy_flush_buffer(), and yyFlexLexer::yyinput().

◆ YY_EXIT_FAILURE

#define YY_EXIT_FAILURE   2

Definition at line 1705 of file ossimEquTokenizer.cpp.

Referenced by yyFlexLexer::LexerError().

◆ YY_FATAL_ERROR

#define YY_FATAL_ERROR (   msg)    LexerError( msg )

Definition at line 509 of file ossimEquTokenizer.cpp.

Referenced by yyFlexLexer::yy_get_next_buffer(), and yyFlexLexer::yyunput().

◆ YY_FLEX_MAJOR_VERSION

#define YY_FLEX_MAJOR_VERSION   2

Definition at line 11 of file ossimEquTokenizer.cpp.

◆ YY_FLEX_MINOR_VERSION

#define YY_FLEX_MINOR_VERSION   5

Definition at line 12 of file ossimEquTokenizer.cpp.

◆ YY_INPUT

#define YY_INPUT (   buf,
  result,
  max_size 
)
Value:
if ( (result = LexerInput( (char *) buf, max_size )) < 0 ) \
YY_FATAL_ERROR( "input in flex scanner failed" );

Definition at line 489 of file ossimEquTokenizer.cpp.

◆ YY_INTERACTIVE

#define YY_INTERACTIVE

Definition at line 238 of file ossimEquTokenizer.cpp.

◆ YY_MORE_ADJ

#define YY_MORE_ADJ   0

◆ yy_new_buffer

#define yy_new_buffer   yy_create_buffer

Definition at line 218 of file ossimEquTokenizer.cpp.

◆ YY_NEW_FILE

#define YY_NEW_FILE   yyrestart( yyin )

Definition at line 97 of file ossimEquTokenizer.cpp.

Referenced by yyFlexLexer::yyinput().

◆ YY_NO_POP_STATE

#define YY_NO_POP_STATE   1

Definition at line 455 of file ossimEquTokenizer.cpp.

◆ YY_NO_PUSH_STATE

#define YY_NO_PUSH_STATE   1

Definition at line 454 of file ossimEquTokenizer.cpp.

◆ YY_NO_TOP_STATE

#define YY_NO_TOP_STATE   1

Definition at line 456 of file ossimEquTokenizer.cpp.

◆ YY_NULL

#define YY_NULL   0

Definition at line 71 of file ossimEquTokenizer.cpp.

◆ YY_NUM_RULES

#define YY_NUM_RULES   52

Definition at line 252 of file ossimEquTokenizer.cpp.

◆ YY_PROTO

#define YY_PROTO (   proto)    ()

Definition at line 67 of file ossimEquTokenizer.cpp.

◆ YY_READ_BUF_SIZE

#define YY_READ_BUF_SIZE   8192

Definition at line 476 of file ossimEquTokenizer.cpp.

◆ YY_RESTORE_YY_MORE_OFFSET

#define YY_RESTORE_YY_MORE_OFFSET

Definition at line 408 of file ossimEquTokenizer.cpp.

◆ YY_RULE_SETUP

#define YY_RULE_SETUP   YY_USER_ACTION

Definition at line 531 of file ossimEquTokenizer.cpp.

◆ YY_SC_TO_UI

#define YY_SC_TO_UI (   c)    ((unsigned int) (unsigned char) c)

Definition at line 78 of file ossimEquTokenizer.cpp.

◆ yy_set_bol

#define yy_set_bol (   at_bol)
Value:
{ \
if ( ! yy_current_buffer ) \
yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
yy_current_buffer->yy_at_bol = at_bol; \
}
#define YY_BUF_SIZE

Definition at line 227 of file ossimEquTokenizer.cpp.

◆ yy_set_interactive

#define yy_set_interactive (   is_interactive)
Value:
{ \
if ( ! yy_current_buffer ) \
yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
yy_current_buffer->yy_is_interactive = is_interactive; \
}
#define YY_BUF_SIZE

Definition at line 220 of file ossimEquTokenizer.cpp.

◆ YY_START

#define YY_START   ((yy_start - 1) / 2)

Definition at line 90 of file ossimEquTokenizer.cpp.

◆ YY_START_STACK_INCR

#define YY_START_STACK_INCR   25

Definition at line 504 of file ossimEquTokenizer.cpp.

◆ YY_STATE_EOF

#define YY_STATE_EOF (   state)    (YY_END_OF_BUFFER + state + 1)

Definition at line 94 of file ossimEquTokenizer.cpp.

◆ YY_USER_ACTION

#define YY_USER_ACTION

Definition at line 523 of file ossimEquTokenizer.cpp.

◆ yyconst

#define yyconst

Definition at line 60 of file ossimEquTokenizer.cpp.

◆ yyless [1/2]

#define yyless (   n)
Value:
do \
{ \
/* Undo effects of setting up yytext. */ \
*yy_cp = yy_hold_char; \
YY_RESTORE_YY_MORE_OFFSET \
yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \
YY_DO_BEFORE_ACTION; /* set up yytext again */ \
} \
while ( 0 )
os2<< "> n<< " > nendobj n
#define YY_MORE_ADJ
char * yy_bp
char * yy_cp

Definition at line 1719 of file ossimEquTokenizer.cpp.

◆ yyless [2/2]

#define yyless (   n)
Value:
do \
{ \
/* Undo effects of setting up yytext. */ \
yytext[yyleng] = yy_hold_char; \
yy_c_buf_p = yytext + n; \
yy_hold_char = *yy_c_buf_p; \
*yy_c_buf_p = '\0'; \
yyleng = n; \
} \
while ( 0 )
os2<< "> n<< " > nendobj n
int yyleng

Definition at line 1719 of file ossimEquTokenizer.cpp.

◆ yymore

#define yymore ( )    yymore_used_but_not_detected

Definition at line 406 of file ossimEquTokenizer.cpp.

◆ YYSTATE

#define YYSTATE   YY_START

Definition at line 91 of file ossimEquTokenizer.cpp.

◆ yyterminate

#define yyterminate ( )    return YY_NULL

Definition at line 499 of file ossimEquTokenizer.cpp.

◆ yytext_ptr

#define yytext_ptr   yytext

Typedef Documentation

◆ YY_BUFFER_STATE

Definition at line 104 of file ossimEquTokenizer.cpp.

◆ YY_CHAR

typedef unsigned char YY_CHAR

Definition at line 236 of file ossimEquTokenizer.cpp.

◆ yy_size_t

typedef unsigned int yy_size_t

Definition at line 145 of file ossimEquTokenizer.cpp.

Function Documentation

◆ if()

if ( yy_init  )

Definition at line 545 of file ossimEquTokenizer.cpp.

References YY_BUF_SIZE.

Referenced by ossimToolClient::connectToServer(), ossimDespeckleFilter::despeckle(), ossimplugins::ossimRadarSat2Model::getSlantRangeFromGeoreferenced(), ossimDblGrid::interpolate(), MatrixRowCol::KP(), ossimJpegStdIOSrc_skip_input_data(), ossimRegExp::ossimRegExp(), skip_input_data(), skip_input_data12(), and term_destination().

546  {
547  yy_init = 0;
548 
549 #ifdef YY_USER_INIT
550  YY_USER_INIT;
551 #endif
552 
553  if ( ! yy_start )
554  yy_start = 1; /* first start state */
555 
556  if ( ! yyin )
557  yyin = &cin;
558 
559  if ( ! yyout )
560  yyout = &cout;
561 
562  if ( ! yy_current_buffer )
563  yy_current_buffer =
564  yy_create_buffer( yyin, YY_BUF_SIZE );
565 
566  yy_load_buffer_state();
567  }
#define YY_BUF_SIZE

◆ while()

while ( )

Definition at line 569 of file ossimEquTokenizer.cpp.

References yy_bp, and yy_cp.

570  {
571  yy_cp = yy_c_buf_p;
572 
573  /* Support of yytext. */
574  *yy_cp = yy_hold_char;
575 
576  /* yy_bp points to the position in yy_ch_buf of the start of
577  * the current run.
578  */
579  yy_bp = yy_cp;
580 
581  yy_current_state = yy_start;
582 yy_match:
583  do
584  {
585  YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
586  if ( yy_accept[yy_current_state] )
587  {
588  yy_last_accepting_state = yy_current_state;
589  yy_last_accepting_cpos = yy_cp;
590  }
591 
592  // yy_chk size == 119
593  // yy_base size == 119
594 
595  while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
596  {
597  yy_current_state = (int) yy_def[yy_current_state];
598  if ( yy_current_state >= 119 )
599  {
600  yy_c = yy_meta[(unsigned int) yy_c];
601  }
602 
603  //---
604  // NOTE:
605  // Need to test this!
606  // Above condition yy_current_state >= 119 flaged by coverity scan
607  // as an array out of bounds read. Both yy_chk and yy_base have
608  // size of 119. Added break to fix.
609  // drb - 20150529
610  //---
611  if ( (yy_current_state >= 119) ||
612  ( (yy_base[yy_current_state] + yy_c) >= 119 ) )
613  {
614  break;
615  }
616  }
617 
618  yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
619  ++yy_cp;
620  }
621  while ( yy_base[yy_current_state] != 171 );
622 
623 yy_find_action:
624  yy_act = yy_accept[yy_current_state];
625  if ( yy_act == 0 )
626  { /* have to back up */
627  yy_cp = yy_last_accepting_cpos;
628  yy_current_state = yy_last_accepting_state;
629  yy_act = yy_accept[yy_current_state];
630  }
631 
633 
634 
635 do_action: /* This label is used only to access EOF actions. */
636 
637 
638  switch ( yy_act )
639  { /* beginning of action switch */
640  case 0: /* must back up */
641  /* undo the effects of YY_DO_BEFORE_ACTION */
642  *yy_cp = yy_hold_char;
643  yy_cp = yy_last_accepting_cpos;
644  yy_current_state = yy_last_accepting_state;
645  goto yy_find_action;
646 
647 case 1:
649 //#line 17 "ossimEquTokenizer.l"
650 /* skip blanks and tabs */
651  YY_BREAK
652 case 2:
654 //#line 19 "ossimEquTokenizer.l"
655 {
657  }
658  YY_BREAK
659 case 3:
661 //#line 22 "ossimEquTokenizer.l"
662 {
663  return OSSIM_EQU_TOKEN_COMMA;
664  }
665  YY_BREAK
666 case 4:
668 //#line 25 "ossimEquTokenizer.l"
669 {
670  return OSSIM_EQU_TOKEN_DIV;
671  }
672  YY_BREAK
673 case 5:
675 //#line 29 "ossimEquTokenizer.l"
676 {
677  return OSSIM_EQU_TOKEN_MULT;
678  }
679  YY_BREAK
680 case 6:
682 #line 33 "ossimEquTokenizer.l"
683 {
684  return OSSIM_EQU_TOKEN_OR_BAR;
685  }
686  YY_BREAK
687 case 7:
689 #line 37 "ossimEquTokenizer.l"
690 {
692  }
693  YY_BREAK
694 case 8:
696 #line 40 "ossimEquTokenizer.l"
697 {
698  return OSSIM_EQU_TOKEN_TILDE;
699  }
700  YY_BREAK
701 case 9:
703 #line 44 "ossimEquTokenizer.l"
704 {
705  return OSSIM_EQU_TOKEN_PLUS;
706  }
707  YY_BREAK
708 case 10:
710 #line 47 "ossimEquTokenizer.l"
711 {
712  return OSSIM_EQU_TOKEN_MINUS;
713  }
714  YY_BREAK
715 case 11:
717 #line 50 "ossimEquTokenizer.l"
718 {
719  return OSSIM_EQU_TOKEN_MOD;
720  }
721  YY_BREAK
722 case 12:
724 #line 53 "ossimEquTokenizer.l"
725 {
727  }
728  YY_BREAK
729 case 13:
731 #line 56 "ossimEquTokenizer.l"
732 {
734  }
735  YY_BREAK
736 case 14:
738 #line 59 "ossimEquTokenizer.l"
739 {
741  }
742  YY_BREAK
743 case 15:
745 #line 62 "ossimEquTokenizer.l"
746 {
748  }
749  YY_BREAK
750 case 16:
752 #line 65 "ossimEquTokenizer.l"
753 {
754  return OSSIM_EQU_TOKEN_POWER;
755  }
756  YY_BREAK
757 case 17:
759 #line 68 "ossimEquTokenizer.l"
760 {
761  return OSSIM_EQU_TOKEN_XOR;
762  }
763  YY_BREAK
764 case 18:
766 #line 72 "ossimEquTokenizer.l"
767 {
769  }
770  YY_BREAK
771 case 19:
773 #line 75 "ossimEquTokenizer.l"
774 {
775  return OSSIM_EQU_TOKEN_PI;
776  }
777  YY_BREAK
778 case 20:
780 #line 78 "ossimEquTokenizer.l"
781 {
782  return OSSIM_EQU_TOKEN_LOG;
783  }
784  YY_BREAK
785 case 21:
787 #line 81 "ossimEquTokenizer.l"
788 {
789  return OSSIM_EQU_TOKEN_LOG10;
790  }
791  YY_BREAK
792 case 22:
794 #line 84 "ossimEquTokenizer.l"
795 {
796  return OSSIM_EQU_TOKEN_EXP;
797  }
798  YY_BREAK
799 case 23:
801 #line 87 "ossimEquTokenizer.l"
802 {
803  return OSSIM_EQU_TOKEN_SIN;
804  }
805  YY_BREAK
806 case 24:
808 #line 90 "ossimEquTokenizer.l"
809 {
810  return OSSIM_EQU_TOKEN_SIND;
811  }
812  YY_BREAK
813 case 25:
815 #line 93 "ossimEquTokenizer.l"
816 {
817  return OSSIM_EQU_TOKEN_ASIN;
818  }
819  YY_BREAK
820 case 26:
822 #line 96 "ossimEquTokenizer.l"
823 {
824  return OSSIM_EQU_TOKEN_ASIND;
825  }
826  YY_BREAK
827 case 27:
829 #line 99 "ossimEquTokenizer.l"
830 {
831  return OSSIM_EQU_TOKEN_COS;
832  }
833  YY_BREAK
834 case 28:
836 #line 102 "ossimEquTokenizer.l"
837 {
838  return OSSIM_EQU_TOKEN_COSD;
839  }
840  YY_BREAK
841 case 29:
843 #line 105 "ossimEquTokenizer.l"
844 {
845  return OSSIM_EQU_TOKEN_ACOS;
846  }
847  YY_BREAK
848 case 30:
850 #line 108 "ossimEquTokenizer.l"
851 {
852  return OSSIM_EQU_TOKEN_ACOSD;
853  }
854  YY_BREAK
855 case 31:
857 #line 111 "ossimEquTokenizer.l"
858 {
859  return OSSIM_EQU_TOKEN_TAN;
860  }
861  YY_BREAK
862 case 32:
864 #line 114 "ossimEquTokenizer.l"
865 {
866  return OSSIM_EQU_TOKEN_TAND;
867  }
868  YY_BREAK
869 case 33:
871 #line 117 "ossimEquTokenizer.l"
872 {
873  return OSSIM_EQU_TOKEN_ATAN;
874  }
875  YY_BREAK
876 case 34:
878 #line 120 "ossimEquTokenizer.l"
879 {
880  return OSSIM_EQU_TOKEN_ATAND;
881  }
882  YY_BREAK
883 case 35:
885 #line 123 "ossimEquTokenizer.l"
886 {
887  return OSSIM_EQU_TOKEN_ABS;
888  }
889  YY_BREAK
890 case 36:
892 #line 126 "ossimEquTokenizer.l"
893 {
894  return OSSIM_EQU_TOKEN_SQRT;
895  }
896  YY_BREAK
897 case 37:
899 #line 129 "ossimEquTokenizer.l"
900 {
901  return OSSIM_EQU_TOKEN_MIN;
902  }
903  YY_BREAK
904 case 38:
906 #line 132 "ossimEquTokenizer.l"
907 {
908  return OSSIM_EQU_TOKEN_MAX;
909  }
910  YY_BREAK
911 case 39:
913 #line 135 "ossimEquTokenizer.l"
914 {
915  return OSSIM_EQU_TOKEN_CONV;
916  }
917  YY_BREAK
918 case 40:
920 #line 138 "ossimEquTokenizer.l"
921 {
922  return OSSIM_EQU_TOKEN_SHIFT;
923  }
924  YY_BREAK
925 case 41:
927 #line 141 "ossimEquTokenizer.l"
928 {
929  return OSSIM_EQU_TOKEN_BLURR;
930  }
931  YY_BREAK
932 case 42:
934 #line 144 "ossimEquTokenizer.l"
935 {
936  return OSSIM_EQU_TOKEN_BAND;
937  }
938  YY_BREAK
939 case 43:
941 #line 147 "ossimEquTokenizer.l"
942 {
944  }
945  YY_BREAK
946 case 44:
948 #line 150 "ossimEquTokenizer.l"
949 {
950  return OSSIM_EQU_TOKEN_CLIP;
951  }
952  YY_BREAK
953 case 45:
955 #line 153 "ossimEquTokenizer.l"
956 {
957  return OSSIM_EQU_TOKEN_CLAMP;
958  }
959  YY_BREAK
960 case 46:
962 #line 156 "ossimEquTokenizer.l"
963 {
964  return OSSIM_EQU_TOKEN_BEQUAL;
965 }
966  YY_BREAK
967 case 47:
969 #line 159 "ossimEquTokenizer.l"
970 {
972 }
973  YY_BREAK
974 case 48:
976 #line 162 "ossimEquTokenizer.l"
977 {
979 }
980  YY_BREAK
981 case 49:
983 #line 165 "ossimEquTokenizer.l"
984 {
985  return OSSIM_EQU_TOKEN_BLESS;
986 }
987  YY_BREAK
988 case 50:
990 #line 168 "ossimEquTokenizer.l"
991 {
993 }
994  YY_BREAK
995 case 51:
997 #line 171 "ossimEquTokenizer.l"
998 {
1000 }
1001  YY_BREAK
1002 case 52:
1004 #line 175 "ossimEquTokenizer.l"
1005 ECHO;
1006  YY_BREAK
1007 #line 986 "lex.ossimEquTokenizer.cc"
1008 case YY_STATE_EOF(INITIAL):
1009  yyterminate();
1010 
1011  case YY_END_OF_BUFFER:
1012  {
1013  /* Amount of text matched not including the EOB char. */
1014  int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1;
1015 
1016  /* Undo the effects of YY_DO_BEFORE_ACTION. */
1017  *yy_cp = yy_hold_char;
1019 
1020  if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW )
1021  {
1022  /* We're scanning a new file or input source. It's
1023  * possible that this happened because the user
1024  * just pointed yyin at a new source and called
1025  * yylex(). If so, then we have to assure
1026  * consistency between yy_current_buffer and our
1027  * globals. Here is the right place to do so, because
1028  * this is the first action (other than possibly a
1029  * back-up) that will match for the new input source.
1030  */
1031  yy_n_chars = yy_current_buffer->yy_n_chars;
1032  yy_current_buffer->yy_input_file = yyin;
1033  yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL;
1034  }
1035 
1036  /* Note that here we test for yy_c_buf_p "<=" to the position
1037  * of the first EOB in the buffer, since yy_c_buf_p will
1038  * already have been incremented past the NUL character
1039  * (since all states make transitions on EOB to the
1040  * end-of-buffer state). Contrast this with the test
1041  * in input().
1042  */
1043  if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] )
1044  { /* This was really a NUL. */
1045  yy_state_type yy_next_state;
1046 
1047  yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text;
1048 
1049  yy_current_state = yy_get_previous_state();
1050 
1051  /* Okay, we're now positioned to make the NUL
1052  * transition. We couldn't have
1053  * yy_get_previous_state() go ahead and do it
1054  * for us because it doesn't know how to deal
1055  * with the possibility of jamming (and we don't
1056  * want to build jamming into it because then it
1057  * will run more slowly).
1058  */
1059 
1060  yy_next_state = yy_try_NUL_trans( yy_current_state );
1061 
1063 
1064  if ( yy_next_state )
1065  {
1066  /* Consume the NUL. */
1067  yy_cp = ++yy_c_buf_p;
1068  yy_current_state = yy_next_state;
1069  goto yy_match;
1070  }
1071 
1072  else
1073  {
1074  yy_cp = yy_c_buf_p;
1075  goto yy_find_action;
1076  }
1077  }
1078 
1079  else switch ( yy_get_next_buffer() )
1080  {
1081  case EOB_ACT_END_OF_FILE:
1082  {
1083  yy_did_buffer_switch_on_eof = 0;
1084 
1085  if ( yywrap() )
1086  {
1087  /* Note: because we've taken care in
1088  * yy_get_next_buffer() to have set up
1089  * yytext, we can now set up
1090  * yy_c_buf_p so that if some total
1091  * hoser (like flex itself) wants to
1092  * call the scanner after we return the
1093  * YY_NULL, it'll still work - another
1094  * YY_NULL will get returned.
1095  */
1096  yy_c_buf_p = yytext_ptr + YY_MORE_ADJ;
1097 
1099  goto do_action;
1100  }
1101 
1102  else
1103  {
1104  if ( ! yy_did_buffer_switch_on_eof )
1105  YY_NEW_FILE;
1106  }
1107  break;
1108  }
1109 
1110  case EOB_ACT_CONTINUE_SCAN:
1111  yy_c_buf_p =
1112  yytext_ptr + yy_amount_of_matched_text;
1113 
1114  yy_current_state = yy_get_previous_state();
1115 
1116  yy_cp = yy_c_buf_p;
1118  goto yy_match;
1119 
1120  case EOB_ACT_LAST_MATCH:
1121  yy_c_buf_p =
1122  &yy_current_buffer->yy_ch_buf[yy_n_chars];
1123 
1124  yy_current_state = yy_get_previous_state();
1125 
1126  yy_cp = yy_c_buf_p;
1128  goto yy_find_action;
1129  }
1130  break;
1131  }
1132 
1133  default:
1135  "fatal flex scanner internal error--no action found" );
1136  } /* end of action switch */
1137  } /* end of scanning one token */
#define YY_END_OF_BUFFER
int yy_state_type
#define OSSIM_EQU_TOKEN_ACOS
#define OSSIM_EQU_TOKEN_COS
#define OSSIM_EQU_TOKEN_SQRT
#define OSSIM_EQU_TOKEN_BDIFFERENT
#define ECHO
#define OSSIM_EQU_TOKEN_BGREATER
#define OSSIM_EQU_TOKEN_BLURR
#define OSSIM_EQU_TOKEN_MINUS
#define OSSIM_EQU_TOKEN_PI
#define OSSIM_EQU_TOKEN_IMAGE_VARIABLE
#define YY_SC_TO_UI(c)
unsigned char YY_CHAR
#define YY_BUFFER_NEW
#define OSSIM_EQU_TOKEN_BLESSOREQUAL
#define OSSIM_EQU_TOKEN_MAX
#define INITIAL
#define OSSIM_EQU_TOKEN_MIN
#define OSSIM_EQU_TOKEN_CONV
#define YY_BUFFER_NORMAL
#define OSSIM_EQU_TOKEN_ASSIGN_BAND
#define OSSIM_EQU_TOKEN_LOG10
#define OSSIM_EQU_TOKEN_ASIN
#define OSSIM_EQU_TOKEN_CLAMP
#define OSSIM_EQU_TOKEN_LEFT_ARRAY_BRACKET
#define OSSIM_EQU_TOKEN_OR_BAR
#define EOB_ACT_END_OF_FILE
#define OSSIM_EQU_TOKEN_COMMA
#define OSSIM_EQU_TOKEN_BLESS
#define OSSIM_EQU_TOKEN_XOR
#define OSSIM_EQU_TOKEN_RIGHT_ARRAY_BRACKET
#define OSSIM_EQU_TOKEN_COSD
#define YY_START
#define OSSIM_EQU_TOKEN_ASIND
#define OSSIM_EQU_TOKEN_AMPERSAND
#define yyterminate()
#define OSSIM_EQU_TOKEN_ABS
#define OSSIM_EQU_TOKEN_SHIFT
#define OSSIM_EQU_TOKEN_SIND
#define OSSIM_EQU_TOKEN_CONSTANT
int yy_act
#define YY_RESTORE_YY_MORE_OFFSET
int yywrap()
#define OSSIM_EQU_TOKEN_BEQUAL
#define OSSIM_EQU_TOKEN_PLUS
#define OSSIM_EQU_TOKEN_ACOSD
#define YY_MORE_ADJ
#define YY_FATAL_ERROR(msg)
#define OSSIM_EQU_TOKEN_TAND
#define OSSIM_EQU_TOKEN_CLIP
#define YY_BREAK
#define EOB_ACT_LAST_MATCH
#define OSSIM_EQU_TOKEN_MOD
char * yy_bp
#define OSSIM_EQU_TOKEN_MULT
char * yy_cp
#define OSSIM_EQU_TOKEN_EXP
#define OSSIM_EQU_TOKEN_RIGHT_PAREN
#define YY_STATE_EOF(state)
#define OSSIM_EQU_TOKEN_ATAND
#define OSSIM_EQU_TOKEN_SIN
#define YY_RULE_SETUP
#define OSSIM_EQU_TOKEN_LEFT_PAREN
#define yytext_ptr
#define OSSIM_EQU_TOKEN_LOG
#define OSSIM_EQU_TOKEN_DIV
#define EOB_ACT_CONTINUE_SCAN
#define OSSIM_EQU_TOKEN_BGREATEROREQUAL
#define YY_DO_BEFORE_ACTION
#define OSSIM_EQU_TOKEN_TILDE
#define OSSIM_EQU_TOKEN_POWER
#define OSSIM_EQU_TOKEN_TAN
#define OSSIM_EQU_TOKEN_ATAN
#define YY_NEW_FILE
#define OSSIM_EQU_TOKEN_BAND

◆ YY_PROTO()

int yywrap YY_PROTO ( (void)  )

◆ yywrap()

int yywrap ( )

Definition at line 1814 of file ossimEquTokenizer.cpp.

Referenced by yyFlexLexer::yyinput().

1815 {
1816  return 1;
1817 }

Variable Documentation

◆ size

yy_size_t size

Definition at line 1782 of file ossimEquTokenizer.cpp.

Referenced by ossimImageChain::add(), ossimImageChain::addLast(), ossimHsiRemapper::allocate(), ossimFilterTable::allocateWeights(), ossimEquationCombiner::applyOp(), ossimPolygon::area(), ossimEquationCombiner::assignValue(), ossimImageSharpenFilter::buildConvolutionMatrix(), ossimGeoPdfReader::buildFrameEntryArray(), ossimDiscreteConvolutionKernel::buildSymmetric(), ossimCastTileSourceFilter::castInputToOutput(), ossimBandMergeSource::computeNumberOfInputBands(), ossimImageChain::connectInputEvent(), ossim::convertHtmlSpecialCharactersToNormalCharacter(), ossimNitfCommon::convertToDoubleString(), ossimNitfCommon::convertToIntString(), ossimS16ImageData::convertToNormalizedDouble(), ossimU11ImageData::convertToNormalizedDouble(), ossimU12ImageData::convertToNormalizedDouble(), ossimU13ImageData::convertToNormalizedDouble(), ossimU14ImageData::convertToNormalizedDouble(), ossimU15ImageData::convertToNormalizedDouble(), ossimU8ImageData::convertToNormalizedDouble(), ossimU16ImageData::convertToNormalizedDouble(), ossimS16ImageData::convertToNormalizedFloat(), ossimU11ImageData::convertToNormalizedFloat(), ossimU12ImageData::convertToNormalizedFloat(), ossimU13ImageData::convertToNormalizedFloat(), ossimU14ImageData::convertToNormalizedFloat(), ossimU15ImageData::convertToNormalizedFloat(), ossimU8ImageData::convertToNormalizedFloat(), ossimU16ImageData::convertToNormalizedFloat(), ossimNitfCommon::convertToScientificString(), ossimNitfCommon::convertToUIntString(), ossimS16ImageData::copyNormalizedBufferToTile(), ossimU11ImageData::copyNormalizedBufferToTile(), ossimU12ImageData::copyNormalizedBufferToTile(), ossimU13ImageData::copyNormalizedBufferToTile(), ossimU14ImageData::copyNormalizedBufferToTile(), ossimU15ImageData::copyNormalizedBufferToTile(), ossimU16ImageData::copyNormalizedBufferToTile(), ossimU8ImageData::copyNormalizedBufferToTile(), ossimU11ImageData::copyTileToNormalizedBuffer(), ossimU12ImageData::copyTileToNormalizedBuffer(), ossimU15ImageData::copyTileToNormalizedBuffer(), ossimU13ImageData::copyTileToNormalizedBuffer(), ossimU14ImageData::copyTileToNormalizedBuffer(), ossimU8ImageData::copyTileToNormalizedBuffer(), ossimU16ImageData::copyTileToNormalizedBuffer(), ossimS16ImageData::copyTileToNormalizedBuffer(), ossimHdf5GridModel::crossesDateline(), ossimCurlHttpRequest::curlWriteResponseBody(), ossimCurlHttpRequest::curlWriteResponseHeader(), ossimImageGeometry::decimationFactor(), decodeSexagesimalDms(), ossimImageChain::deleteFirst(), ossimImageChain::deleteLast(), ossimMatrixProperty::density(), ossimImageChain::disconnectInputEvent(), ossimHdf5Info::dumpCompound(), ossimEbcdicToAscii::ebcdicToAscii(), ossimElevRemapper::elevRemap(), ossimPointBlock::empty(), ossimNBandLutDataObject::findIndex(), ossimFgdcTxtDoc::findKey(), ossimNullPixelFlip::flipPixels(), ossimGpkgWriter::getBatchSize(), ossimImageChain::getBoundingRect(), ossimImageChain::getConnectableObject(), ossimXmpInfo::getDate(), ossimImageChain::getDecimationFactor(), ossimImageChain::getDecimationFactors(), ossimImageChain::getFirstObject(), ossimImageChain::getFirstSource(), ossimGeneralRasterTileSource::getHdrInfo(), ossimImageChain::getImageGeometry(), ossimFgdcXmlDoc::getImageSize(), ossimChipperUtil::getIrect(), ossimImageChain::getLastObject(), ossimImageChain::getLastSource(), ossimGpkgTileMatrixRecord::getMatrixSize(), ossimImageChain::getMaxPixelValue(), ossimImageChain::getMinPixelValue(), ossimImageCombiner::getNextNormTile(), ossimOrthoImageMosaic::getNextTile(), ossimImageCombiner::getNextTile(), ossimImageChain::getNullPixelValue(), ossimImageChain::getNumberOfDecimationLevels(), ossimImageChain::getNumberOfInputBands(), ossimImageChain::getOutputBandList(), ossimImageChain::getOutputScalarType(), ossimXmpInfo::getProjection(), ossimHdf5::getScalarType(), ossim_hdf5::getScalarType(), ossimColorNormalizedFusion::getTile(), ossimBlendMosaic::getTile(), ossimFeatherMosaic::getTile(), ossimImageMosaic::getTile(), ossimElevationMosaic::getTile(), ossimMaxMosaic::getTile(), ossimImageChain::getTile(), ossimImageChain::getTileHeight(), ossimCacheTileSource::getTileSize(), ossimNitfWriter::getTileSize(), ossimGpkgTileMatrixRecord::getTileSize(), ossimImageChain::getTileWidth(), ossimImageChain::getValidImageVertices(), ossimGeneralRasterTileSource::getXmlInfo(), ossimApplanixEOFile::indexRecordIds(), ossimAtCorrRemapper::initialize(), ossimImageCombiner::initialize(), ossimActiveEdgeTable::initializeActiveList(), ossimOpjNitfReader::initializeCompressedBuf(), ossimGeneralRasterInfo::initializeFromXml(), ossimAuxXmlSupportData::initializeProjection(), ossimImageViewProjectionTransform::initializeViewSize(), ossimViewshedTool::initProcessingChain(), ossimImageChain::insertLeft(), ossimImageChain::insertRight(), ossimRpfTocEntry::isEmpty(), yyFlexLexer::LexerOutput(), ossimVpfAnnotationSource::loadState(), ossimVpfAnnotationLibraryInfo::loadState(), ossimMultiBandHistogram::loadState(), ossimVpfAnnotationCoverageInfo::loadState(), ossimHistogram::loadState(), ossimActiveEdgeTable::mergeCurrentScanLine(), ossimMatrixProperty::normalize(), ossimBitMaskTileSource::open(), ossimImageHandlerRegistry::openBySuffix(), operator<<(), ossimRpfCompressionOffsetTableData::operator=(), ossimNitfVqCompressionOffsetTableData::operator=(), ossimPolynom< ossim_float64, 3 >::operator==(), ossimApplanixEORecord::ossimApplanixEORecord(), ossimBilSplitter::ossimBilSplitter(), ossimHistogram::ossimHistogram(), ossimNitfVqCompressionOffsetTableData::ossimNitfVqCompressionOffsetTableData(), ossimRangeDome::ossimRangeDome(), ossimPdalReader::parsePointView(), ossimRpfCompressionSection::parseStream(), ossimNitfEngrdaTag::parseStream(), ossimXmpInfo::print(), ossimRpfReplaceUpdateTable::print(), ossimObservationSet::print(), ossimCoarseGridModel::print(), ossimHdf5Info::print(), ossimNitfJ2klraTag::print(), ossim_hdf5::printAttribute(), ossim_hdf5::printCompound(), ossimPolynom< ossim_float64, 3 >::printNice(), ossimImageChain::propagateEventToInputs(), ossimImageChain::propagateEventToOutputs(), ossimImageChain::removeChild(), ossimAnnotationMultiEllipseObject::resize(), ossimAtCorrGridRemapper::saveState(), ossimSensorModel::setImageSize(), ossimImageGeometry::setImageSize(), ossimBandClipFilter::setNumberOfValues(), ossimGeoAnnotationFontObject::setPointSize(), ossimAnnotationFontObject::setPointSize(), ossimApplanixEORecord::setSize(), ossimRectilinearDataObject::setSpatialExtents(), ossimImageStatisticsSource::setStatsSize(), ossimCacheTileSource::setTileSize(), ossimEndian::swap(), ossimEndian::swapEightBytes(), ossimEndian::swapFourBytes(), ossimEndian::swapTwoBytes(), ossim::toSimpleStringList(), ossim::toSimpleVector(), ossimS16ImageData::unnormalizeInput(), ossimU11ImageData::unnormalizeInput(), ossimU15ImageData::unnormalizeInput(), ossimU13ImageData::unnormalizeInput(), ossimU12ImageData::unnormalizeInput(), ossimU14ImageData::unnormalizeInput(), ossimU8ImageData::unnormalizeInput(), ossimU16ImageData::unnormalizeInput(), ossimGeoTiff::usingModelTransform(), ossimMatrixProperty::valueToString(), ossimNitfJ2klraTag::writeStream(), and ossimMatrixProperty::zero().

◆ yy_act

int yy_act

Definition at line 538 of file ossimEquTokenizer.cpp.

◆ yy_bp

char * yy_bp = NULL

Definition at line 537 of file ossimEquTokenizer.cpp.

Referenced by while(), and yyFlexLexer::yyunput().

◆ yy_cp

char* yy_cp = NULL

◆ YY_DECL

YY_DECL
Initial value:
{
yy_state_type yy_current_state
int yy_state_type

Definition at line 535 of file ossimEquTokenizer.cpp.

◆ yyleng

int yyleng

Referenced by FlexLexer::YYLeng().