TAO_CosTrader  2.2.2
 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)
 
 if (yy_init)
 
 while (1)
 
static int yy_get_next_buffer ()
 
static yy_state_type yy_get_previous_state ()
 
static yy_state_type yy_try_NUL_trans (yy_current_state) yy_state_type yy_current_state
 
 if (yy_accept[yy_current_state])
 
 while (yy_chk[yy_base[yy_current_state]+yy_c]!=yy_current_state)
 
static int input ()
 
void yyrestart (input_file) FILE *input_file
 
 yy_init_buffer (yy_current_buffer, input_file)
 
 yy_load_buffer_state ()
 
void yy_switch_to_buffer (new_buffer) YY_BUFFER_STATE new _buffer
 
 if (yy_current_buffer)
 
 if (!b) YY_FATAL_ERROR("out of dynamic memory in yy_create_buffer()")
 
 if (!b->yy_ch_buf) YY_FATAL_ERROR("out of dynamic memory in yy_create_buffer()")
 
 yy_init_buffer (b, file)
 
void yy_delete_buffer (b) YY_BUFFER_STATE b
 
 if (b==yy_current_buffer) yy_current_buffer
 
 if (b->yy_is_our_buffer) yy_flex_free((void *) b-> yy_ch_buf)
 
 yy_flex_free ((void *) b)
 
void yy_flush_buffer (b) YY_BUFFER_STATE b
 
 if (size< 2||base[size-2]!=YY_END_OF_BUFFER_CHAR||base[size-1]!=YY_END_OF_BUFFER_CHAR) return 0
 
 yy_switch_to_buffer (b)
 
 for (len=0;yy_str[len];++len)
 
return yy_scan_bytes (yy_str, len)
 
 for (i=0;i< len;++i) buf[i]
 
static void yy_fatal_error (msg) char msg[]
 
static void * yy_flex_alloc (size) yy_size_t size
 
static void * yy_flex_realloc (ptr, size) void *ptr
 
static void yy_flex_free (ptr) void *ptr
 
int yywrap (void)
 

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 = 0
 
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 = 1
 
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
 
 YY_DECL
 
register char * yy_cp = 0
 
register char * yy_bp = 0
 
register int yy_act
 
register YY_CHAR yy_c = 1
 
 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]
 
 yy_is_jam = (yy_current_state == 80)
 
YY_BUFFER_STATE yy_create_buffer (file, size) FILE *file
 
int size
 
 b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) )
 
b yy_buf_size = size
 
b yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 )
 
b yy_is_our_buffer = 1
 
FILE * file
 
b yy_input_file = file
 
b yy_fill_buffer = 1
 
b yy_is_interactive = file ? (ACE_OS::isatty( ACE_OS::fileno(file) ) > 0) : 0
 
b yy_buf_pos = &b->yy_ch_buf[0]
 
b yy_at_bol = 1
 
b yy_buffer_status = YY_BUFFER_NEW
 
YY_BUFFER_STATE yy_scan_buffer (base, size) char *base
 
YY_BUFFER_STATE yy_scan_string (yy_str) yyconst char *yy_str
 
YY_BUFFER_STATE yy_scan_bytes (bytes, len) yyconst char *bytes
 
int len
 
char * buf
 
yy_size_t n = len + 2
 
int i
 

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:
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_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

TAO_Literal_Constraint * extract_string ( const char *  total)
static
Initial value:
{
ACE_OS::free( ptr )
for ( len  = 0;yy_str[len];++len)
for ( )
if ( yy_init  )
if ( yy_accept  [yy_current_state])
if ( b)
if ( !b->  yy_ch_buf)
if ( b  = =yy_current_buffer)
if ( b->  yy_is_our_buffer) -> yy_ch_buf)
if ( )
static int input ( )
static
CORBA::LongLong trader_strtoll ( const char *  str,
unsigned int  base 
)
static
CORBA::ULongLong trader_strtoull ( const char *  str,
unsigned int  base 
)
static
while ( )
while ( yy_chk+yy_c]!  [yy_base[yy_current_state] = yy_current_state)
void yy_delete_buffer ( b  )
static void yy_fatal_error ( msg  )
static
static void* yy_flex_alloc ( size  )
static
yy_flex_free ( (void *)  b)
static void yy_flex_free ( ptr  )
static
static void* yy_flex_realloc ( ptr  ,
size   
)
static
void yy_flush_buffer ( b  )
static int yy_get_next_buffer ( )
static
static yy_state_type yy_get_previous_state ( )
static
yy_init_buffer ( yy_current_buffer  ,
input_file   
)
void yy_init_buffer ( b  ,
file   
)
void yy_load_buffer_state ( )
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
return yy_scan_bytes ( yy_str  ,
len   
)
void yy_switch_to_buffer ( new_buffer  )
new
yy_switch_to_buffer ( b  )
static yy_state_type yy_try_NUL_trans ( yy_current_state  )
static
void yyrestart ( input_file  )
int yywrap ( void  )

Variable Documentation

return b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) )
buf[len]
Initial value:
FILE* file
int i
int len
n = len + 2
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
}
register int yy_act
b yy_at_bol = 1
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
}
register char * yy_bp = 0
b yy_buf_pos = &b->yy_ch_buf[0]
b yy_buf_size = size
b yy_buffer_status = YY_BUFFER_NEW
register YY_CHAR yy_c = 1
char* yy_c_buf_p = (char *) 0
static
b yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 )
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
}
register char * yy_cp = 0
YY_BUFFER_STATE yy_create_buffer(file, size) FILE *file
yy_current_buffer = 0
static
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]
YY_DECL
Initial value:
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
}
yy_did_buffer_switch_on_eof = 1
static
yyconst int yy_ec[256]
static
b yy_fill_buffer = 1
char yy_hold_char
static
int yy_init = 1
static
b yy_input_file = file
b yy_is_interactive = file ? (ACE_OS::isatty( ACE_OS::fileno(file) ) > 0) : 0
return yy_is_jam = (yy_current_state == 80)
b yy_is_our_buffer = 1
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
}
b yy_n_chars = 0
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
}
YY_BUFFER_STATE yy_scan_buffer(base, size) char *base
YY_BUFFER_STATE yy_scan_bytes(bytes, len) yyconst char *bytes
YY_BUFFER_STATE yy_scan_string(yy_str) yyconst char *yy_str
int yy_start = 0
static
FILE * yyin = (FILE *) 0
int yyleng
FILE * yyout = (FILE *) 0
char * yytext