| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

Classes | Defines | Typedefs | Functions | Variables
E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/lexTemporal.cpp File Reference
`#include <stdio.h>`
`#include <errno.h>`
`#include <string.h>`
`#include "yyTemporal.h"`
`#include <unistd.h>`

## Classes

struct | yy_buffer_state

## Defines

#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_FLUSH_BUFFER yy_flush_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 | YY_USES_REJECT
#define | yywrap() 1
#define | YY_SKIP_YYWRAP
#define | yytext_ptr yytext
#define | YY_DO_BEFORE_ACTION
#define | YY_NUM_RULES 35
#define | YY_END_OF_BUFFER 36
#define | REJECT
#define | yymore() yymore_used_but_not_detected
#define | YY_MORE_ADJ 0
#define | YY_RESTORE_YY_MORE_OFFSET
#define | INITIAL 0
#define | YY_INPUT(buffer, result, size) (result=my_yyinput(buffer,size))
#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 (void) fwrite( yytext, yyleng, 1, yyout )
#define | yyterminate() return YY_NULL
#define | YY_START_STACK_INCR 25
#define | YY_FATAL_ERROR(msg) yy_fatal_error( msg )
#define | YY_DECL int yylex YY_PROTO(( void ))
#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_state * | YY_BUFFER_STATE
typedef unsigned int | yy_size_t
typedef unsigned char | YY_CHAR
typedef int | yy_state_type

## Functions

void yyrestart | YY_PROTO ((FILE *input_file))
void yy_switch_to_buffer | YY_PROTO ((YY_BUFFER_STATE new_buffer))
void yy_load_buffer_state | YY_PROTO ((void))
YY_BUFFER_STATE yy_create_buffer | YY_PROTO ((FILE *file, int size))
void yy_delete_buffer | YY_PROTO ((YY_BUFFER_STATE b))
void yy_init_buffer | YY_PROTO ((YY_BUFFER_STATE b, FILE *file))
YY_BUFFER_STATE yy_scan_buffer | YY_PROTO ((char *base, yy_size_t size))
YY_BUFFER_STATE yy_scan_string | YY_PROTO ((yyconst char *yy_str))
YY_BUFFER_STATE yy_scan_bytes | YY_PROTO ((yyconst char *bytes, int len))
int | my_yyinput (char *buf, int max_size)
void | initLexOut ()
| if (yy_init)
| while (1)

## Variables

int | yyleng
FILE * | yyin = (FILE *) 0
FILE * | yyout = (FILE *) 0
int | yylineno = 1
char * | yytext
static yy_state_type * | yy_state_ptr
const char * | myinputptr
long | myinputlim
int | lineno
char | lexOut [1000]
char | sqlOutLex [1000]
YY_DECL register yy_state_type | yy_current_state
register char * | yy_cp
register char * | yy_bp
register int | yy_act
int | size
FILE * | file
int | len

## Define Documentation

#define BEGIN yy_start = 1 + 2 *

#define ECHO (void) fwrite( yytext, yyleng, 1, yyout )

#define EOB_ACT_CONTINUE_SCAN 0

#define EOB_ACT_END_OF_FILE 1

#define EOB_ACT_LAST_MATCH 2

#define FLEX_SCANNER

#define INITIAL 0

#define REJECT

Value:

    { \
    *yy_cp = yy_hold_char; /* undo effects of setting up yytext */ \
    yy_cp = yy_full_match; /* restore poss. backed-over text */ \
    ++yy_lp; \
    goto find_rule; \
    }

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

#define YY_AT_BOL | ( |  | ) | (yy_current_buffer->yy_at_bol)

#define YY_BREAK break;

#define YY_BUF_SIZE 16384

#define YY_BUFFER_EOF_PENDING 2

#define YY_BUFFER_NEW 0

#define YY_BUFFER_NORMAL 1

#define YY_CURRENT_BUFFER yy_current_buffer

#define YY_DECL int yylex YY_PROTO(( void ))

#define YY_DO_BEFORE_ACTION

Value:

    yytext_ptr = yy_bp; \
               yyleng = (int) (yy_cp - yy_bp); \
               yy_hold_char = *yy_cp; \
               *yy_cp = '\0'; \
               yy_c_buf_p = yy_cp;

#define YY_END_OF_BUFFER 36

#define YY_END_OF_BUFFER_CHAR 0

#define YY_EXIT_FAILURE 2

#define YY_FATAL_ERROR | ( |  | msg | ) | yy_fatal_error( msg )

#define YY_FLEX_MAJOR_VERSION 2

#define YY_FLEX_MINOR_VERSION 5

#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer )

#define YY_INPUT | ( |  | buffer,
|  |  | result,
|  |  | size
| ) |  | (result=my_yyinput(buffer,size))

#define YY_MORE_ADJ 0

#define yy_new_buffer yy_create_buffer

#define YY_NEW_FILE yyrestart( yyin )

#define YY_NO_POP_STATE 1

#define YY_NO_PUSH_STATE 1

#define YY_NO_TOP_STATE 1

#define YY_NULL 0

#define YY_NUM_RULES 35

#define YY_PROTO | ( |  | proto | ) | ()

#define YY_READ_BUF_SIZE 8192

#define YY_RESTORE_YY_MORE_OFFSET

#define YY_RULE_SETUP YY_USER_ACTION

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

#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_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_SKIP_YYWRAP

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

#define YY_START_STACK_INCR 25

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

#define YY_USER_ACTION

#define YY_USES_REJECT

#define yyconst

#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 )

#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 )

#define yymore | ( |  | ) | yymore_used_but_not_detected

#define YYSTATE YY_START

#define yyterminate | ( |  | ) | return YY_NULL

#define yytext_ptr yytext

#define yywrap | ( |  | ) | 1

## Typedef Documentation

typedef struct yy_buffer_state* YY_BUFFER_STATE

typedef unsigned char YY_CHAR

typedef unsigned int yy_size_t

typedef int yy_state_type

## Function Documentation

if | ( | yy_init |  | ) |

void initLexOut | ( |  | ) |

int my_yyinput | ( | char * | buf,
|  | int | max_size
| ) |  |

while | ( | 1 |  | ) |

Examples:
  TePDIOFMatching_test.cpp.

void yy_flush_buffer YY_PROTO | ( | (YY_BUFFER_STATE b) |  | ) |

YY_BUFFER_STATE yy_scan_buffer YY_PROTO | ( | (char *base, yy_size_t size) |  | ) |

YY_BUFFER_STATE yy_scan_bytes YY_PROTO | ( | (yyconst char *bytes, int len) |  | ) |

YY_BUFFER_STATE yy_create_buffer YY_PROTO | ( | (FILE *file, int size) |  | ) |

static int input YY_PROTO | ( | (void) |  | ) |

void yy_init_buffer YY_PROTO | ( | (YY_BUFFER_STATE b, FILE *file) |  | ) |

void yy_switch_to_buffer YY_PROTO | ( | (YY_BUFFER_STATE new_buffer) |  | ) |

YY_BUFFER_STATE yy_scan_string YY_PROTO | ( | (yyconst char *yy_str) |  | ) |

void yyrestart YY_PROTO | ( | (FILE *input_file) |  | ) |

## Variable Documentation

FILE* file

int len

char lexOut[1000]

int lineno

long myinputlim

const char* myinputptr

yy_size_t size

char sqlOutLex[1000]

register int yy_act

register char * yy_bp

register char* yy_cp

YY_DECL register yy_state_type yy_current_state

yy_state_type * yy_state_ptr

FILE * yyin = (FILE *) 0

int yyleng

int yylineno = 1

FILE * yyout = (FILE *) 0

char * yytext

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines