TAO_CosTrader  2.1.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Typedefs | Functions | Variables
Constraint_l.cpp File Reference
#include "ace/os_include/os_stdio.h"
#include "ace/OS_NS_unistd.h"
#include "orbsvcs/Trader/Constraint_Interpreter.h"
#include "orbsvcs/Trader/Constraint_Nodes.h"
#include "orbsvcs/Trader/Constraint_Tokens.h"

Classes

struct  yy_buffer_state

Macros

#define YY_NO_UNPUT
#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 yytext_ptr   yytext
#define YY_DO_BEFORE_ACTION
#define YY_NUM_RULES   32
#define YY_END_OF_BUFFER   33
#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 TAO_YY_LEX_DEBUG
#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 TAO_TRADER_ECHO   { size_t __dum_ret = fwrite( yytext, yyleng, 1, yyout ); (void) __dum_ret; }
#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   ACE_NOTREACHED (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
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))
static void *yy_flex_alloc YY_PROTO ((yy_size_t))
static void *yy_flex_realloc YY_PROTO ((void *, yy_size_t))
static void yy_flex_free YY_PROTO ((void *))
static yy_state_type
yy_try_NUL_trans 
YY_PROTO ((yy_state_type current_state))
static void yy_fatal_error YY_PROTO ((yyconst char msg[]))
static TAO_Literal_Constraintextract_string (const char *)
static CORBA::LongLong trader_strtoll (const char *str, unsigned int base)
static CORBA::ULongLong trader_strtoull (const char *str, unsigned int base)

Variables

int yyleng
FILE * yyin = (FILE *) 0
FILE * yyout = (FILE *) 0
static YY_BUFFER_STATE yy_current_buffer = 0
static char yy_hold_char
static int yy_n_chars
static char * yy_c_buf_p = (char *) 0
static int yy_init = 1
static int yy_start = 0
static int yy_did_buffer_switch_on_eof
char * yytext
static yyconst short int yy_accept [81]
static yyconst int yy_ec [256]
static yyconst int yy_meta [42]
static yyconst short int yy_base [83]
static yyconst short int yy_def [83]
static yyconst short int yy_nxt [151]
static yyconst short int yy_chk [151]
static yy_state_type yy_last_accepting_state
static char * yy_last_accepting_cpos
int size
FILE * file
int len

Detailed Description

Id:
Constraint_l.cpp 93659 2011-03-28 11:28:59Z johnnyw
Author:
Seth Widoff sbw1@.nosp@m.cs.w.nosp@m.ustl..nosp@m.edu

Macro Definition Documentation

#define BEGIN   yy_start = 1 + 2 *
#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   reject_used_but_not_detected
#define TAO_TRADER_ECHO   { size_t __dum_ret = fwrite( yytext, yyleng, 1, yyout ); (void) __dum_ret; }
#define TAO_YY_LEX_DEBUG
#define unput (   c)    yyunput( c, yytext_ptr )
#define YY_AT_BOL ( )    (yy_current_buffer->yy_at_bol)
#define YY_BREAK   ACE_NOTREACHED (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   33
#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_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_NO_UNPUT
#define YY_NULL   0
#define YY_NUM_RULES   32
#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_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 yyconst
#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 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 yymore ( )    yymore_used_but_not_detected
#define YYSTATE   YY_START
#define yyterminate ( )    return YY_NULL
#define yytext_ptr   yytext

Typedef Documentation

typedef unsigned char YY_CHAR
typedef unsigned int yy_size_t
typedef int yy_state_type

Function Documentation

static TAO_Literal_Constraint* extract_string ( const char *  )
static
static CORBA::LongLong trader_strtoll ( const char *  str,
unsigned int  base 
)
static
static CORBA::ULongLong trader_strtoull ( const char *  str,
unsigned int  base 
)
static
void yyrestart YY_PROTO ( (FILE *input_file)  )
void yy_switch_to_buffer YY_PROTO ( (YY_BUFFER_STATE new_buffer)  )
static int input YY_PROTO ( (void)  )
YY_BUFFER_STATE yy_create_buffer YY_PROTO ( (FILE *file, int size )
void yy_flush_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 )
static void* yy_flex_alloc YY_PROTO ( (yy_size_t )
static
static void* yy_flex_realloc YY_PROTO ( (void *, yy_size_t )
static
static void yy_flex_free YY_PROTO ( (void *)  )
static
static yy_state_type yy_try_NUL_trans YY_PROTO ( (yy_state_type current_state)  )
static
static void yy_fatal_error YY_PROTO ( (yyconst char msg[])  )
static

Variable Documentation

FILE* file
int len
yy_size_t size
yyconst short int yy_accept[81]
static
Initial value:
{ 0,
0, 0, 33, 31, 30, 31, 31, 22, 23, 14,
12, 13, 31, 15, 26, 16, 31, 18, 29, 29,
29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
11, 21, 0, 28, 0, 0, 26, 27, 17, 20,
19, 29, 29, 29, 29, 29, 29, 10, 29, 29,
29, 9, 29, 29, 0, 0, 29, 29, 8, 29,
29, 2, 1, 7, 29, 29, 0, 27, 29, 24,
29, 29, 29, 5, 25, 6, 3, 29, 4, 0
}
yyconst short int yy_base[83]
static
Initial value:
{ 0,
0, 0, 108, 109, 109, 93, 38, 109, 109, 109,
33, 34, 94, 109, 37, 91, 90, 89, 0, 86,
80, 66, 59, 66, 63, 21, 61, 59, 67, 61,
109, 109, 46, 109, 47, 80, 42, 44, 109, 109,
109, 0, 71, 66, 61, 56, 51, 0, 46, 51,
46, 0, 49, 44, 51, 49, 59, 62, 0, 42,
38, 0, 0, 0, 46, 39, 57, 56, 49, 0,
28, 27, 29, 0, 0, 0, 0, 27, 0, 109,
76, 57
}
char* yy_c_buf_p = (char *) 0
static
yyconst short int yy_chk[151]
static
Initial value:
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 7, 11, 12, 11, 12, 15, 26, 15, 33,
35, 37, 26, 37, 55, 38, 56, 56, 82, 78,
56, 38, 7, 73, 72, 71, 69, 68, 67, 66,
33, 35, 38, 65, 61, 55, 81, 81, 60, 58,
57, 54, 53, 51, 50, 49, 47, 46, 45, 44,
43, 36, 30, 29, 28, 27, 25, 24, 23, 22,
21, 20, 18, 17, 16, 13, 6, 3, 80, 80,
80, 80, 80, 80, 80, 80, 80, 80, 80, 80,
80, 80, 80, 80, 80, 80, 80, 80, 80, 80,
80, 80, 80, 80, 80, 80, 80, 80, 80, 80,
80, 80, 80, 80, 80, 80, 80, 80, 80, 80
}
YY_BUFFER_STATE yy_current_buffer = 0
static
yyconst short int yy_def[83]
static
Initial value:
{ 0,
80, 1, 80, 80, 80, 80, 81, 80, 80, 80,
80, 80, 80, 80, 80, 80, 80, 80, 82, 82,
82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
80, 80, 81, 80, 80, 80, 80, 80, 80, 80,
80, 82, 82, 82, 82, 82, 82, 82, 82, 82,
82, 82, 82, 82, 81, 80, 82, 82, 82, 82,
82, 82, 82, 82, 82, 82, 80, 80, 82, 82,
82, 82, 82, 82, 82, 82, 82, 82, 82, 0,
80, 80
}
int yy_did_buffer_switch_on_eof
static
yyconst int yy_ec[256]
static
char yy_hold_char
static
int yy_init = 1
static
char* yy_last_accepting_cpos
static
yy_state_type yy_last_accepting_state
static
yyconst int yy_meta[42]
static
Initial value:
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 2, 1, 1, 1, 2, 2, 2, 2, 2,
2, 2, 2, 2, 1, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
1
}
int yy_n_chars
static
yyconst short int yy_nxt[151]
static
Initial value:
{ 0,
4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
14, 15, 16, 17, 18, 19, 19, 19, 20, 19,
19, 19, 21, 19, 4, 4, 22, 19, 23, 24,
19, 25, 26, 27, 28, 29, 19, 19, 30, 19,
31, 34, 36, 36, 37, 37, 36, 49, 37, 34,
55, 36, 50, 37, 34, 38, 67, 67, 42, 79,
68, 56, 35, 78, 77, 76, 75, 68, 68, 74,
35, 55, 56, 73, 72, 35, 33, 33, 71, 70,
69, 66, 65, 64, 63, 62, 61, 60, 59, 58,
57, 38, 54, 53, 52, 51, 48, 47, 46, 45,
44, 43, 41, 40, 39, 38, 32, 80, 3, 80,
80, 80, 80, 80, 80, 80, 80, 80, 80, 80,
80, 80, 80, 80, 80, 80, 80, 80, 80, 80,
80, 80, 80, 80, 80, 80, 80, 80, 80, 80,
80, 80, 80, 80, 80, 80, 80, 80, 80, 80
}
int yy_start = 0
static
FILE * yyin = (FILE *) 0
int yyleng
FILE * yyout = (FILE *) 0
char * yytext