NAME
dotImport.cpp -
SYNOPSIS
#include <string.h>
#include <errno.h>
#include <tulip/TulipPlugin.h>
#include <tulip/hash_string.h>
#include <dotImportCLUT.h>
#include ’dotImportParser.h’
#include <stdio.h>
#include <unistd.h>
Classes
class DotImport
DotImport.cpp - Import a graph coded in dot format.
Defines
#define YYBISON 1
#define YYSKELETON_NAME ’yacc.c’
#define YYPURE 0
#define YYLSP_NEEDED 0
#define NUMBER 258
#define IDENT 259
#define STRING 260
#define _STRICT 261
#define _DIGRAPH 262
#define _GRAPH 263
#define _NODE 264
#define _EDGE 265
#define _SUBGRAPH 266
#define _EDGEOP 267
#define TLP_LAYOUT_PROXY_NAME ’viewLayout’
#define TLP_LABEL_PROXY_NAME ’viewLabel’
#define TLP_EXTLABEL_PROXY_NAME ’externLabel’
#define TLP_HEAD_LABEL_PROXY_NAME ’headLabel’
#define TLP_TAIL_LABEL_PROXY_NAME ’tailLabel’
#define TLP_COMMENT_PROXY_NAME ’comment’
#define TLP_URL_PROXY_NAME ’URL’
#define TLP_SIZE_PROXY_NAME ’viewSize’
#define TLP_SHAPE_PROXY_NAME ’viewShape’
#define TLP_COLOR_PROXY_NAME ’viewColor’
#define TLP_BORDERCOLOR_PROXY_NAME ’viewBorderColor’
#define TLP_FONTCOLOR_PROXY_NAME ’viewLabelColor’
#define DEFAULT_SHAPE 1
#define YYSTYPE DOT_YYType
#define YYINITDEPTH 2048
#define YYMAXDEPTH YYINITDEPTH
#define YYDEBUG 0
#define YYERROR_VERBOSE 0
#define YYFREE free
#define YYMALLOC malloc
#define YYSTACK_ALLOC YYMALLOC
#define YYSTACK_FREE YYFREE
#define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
#define YYSTACK_BYTES(N)
#define YYCOPY(To, From, Count)
#define YYSTACK_RELOCATE(Stack)
#define YYFINAL 9
#define YYLAST 132
#define YYNTOKENS 25
#define YYNNTS 27
#define YYNRULES 62
#define YYNSTATES 92
#define YYUNDEFTOK 2
#define YYMAXUTOK 267
#define YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ?
yytranslate[YYX] : YYUNDEFTOK)
#define YYPACT_NINF -50
#define YYTABLE_NINF -6
#define YYSIZE_T unsigned int
#define yyerrok (yyerrstatus = 0)
#define yyclearin (yychar = YYEMPTY)
#define YYEMPTY (-2)
#define YYEOF 0
#define YYACCEPT goto yyacceptlab
#define YYABORT goto yyabortlab
#define YYERROR goto yyerrorlab
#define YYFAIL goto yyerrlab
#define YYRECOVERING() (!!yyerrstatus)
#define YYBACKUP(Token, Value)
#define YYTERROR 1
#define YYERRCODE 256
#define YYRHSLOC(Rhs, K) ((Rhs)[K])
#define YYLLOC_DEFAULT(Current, Rhs, N)
#define YY_LOCATION_PRINT(File, Loc) ((void) 0)
#define YYLEX yylex ()
#define YYDPRINTF(Args)
#define YY_SYMBOL_PRINT(Title, Type, Value, Location)
#define YY_STACK_PRINT(Bottom, Top)
#define YY_REDUCE_PRINT(Rule)
#define YYPOPSTACK (yyvsp--, yyssp--)
#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_MAY_BE_UNUSED
#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 yywrap() 1
#define YY_SKIP_YYWRAP
#define yytext_ptr yytext
#define YY_DO_BEFORE_ACTION
#define YY_NUM_RULES 31
#define YY_END_OF_BUFFER 32
#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_UNPUT
#define comment 1
#define qstring 2
#define hstring 3
#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 YY_INPUT(buf, result, max_size)
#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)
Enumerations
enum yytokentype { NUMBER = 258, IDENT = 259, STRING = 260, _STRICT
= 261, _DIGRAPH = 262, _GRAPH = 263, _NODE = 264, _EDGE = 265,
_SUBGRAPH = 266, _EDGEOP = 267 }
Define Documentation
#define _DIGRAPH 262
#define _EDGE 265
#define _EDGEOP 267
#define _GRAPH 263
#define _NODE 264
#define _STRICT 261
#define _SUBGRAPH 266
#define BEGIN yy_start = 1 + 2 *
#define comment 1
#define DEFAULT_SHAPE 1
#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 Authors: David Auber, Patrick Mary, Morgan Mathiaut
from the LaBRI Visualization Team Email : auber@tulip-software.org Last
modification : 13/03/2009 This program is free software; you can
redistribute it and/or modify it under the terms of the GNU General
Public License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
#define hstring 3
#define IDENT 259
#define INITIAL 0
#define NUMBER 258
#define qstring 2
#define REJECT reject_used_but_not_detected
#define STRING 260
#define TLP_BORDERCOLOR_PROXY_NAME ’viewBorderColor’
#define TLP_COLOR_PROXY_NAME ’viewColor’
#define TLP_COMMENT_PROXY_NAME ’comment’
#define TLP_EXTLABEL_PROXY_NAME ’externLabel’
#define TLP_FONTCOLOR_PROXY_NAME ’viewLabelColor’
#define TLP_HEAD_LABEL_PROXY_NAME ’headLabel’
#define TLP_LABEL_PROXY_NAME ’viewLabel’
#define TLP_LAYOUT_PROXY_NAME ’viewLayout’
#define TLP_SHAPE_PROXY_NAME ’viewShape’
#define TLP_SIZE_PROXY_NAME ’viewSize’
#define TLP_TAIL_LABEL_PROXY_NAME ’tailLabel’
#define TLP_URL_PROXY_NAME ’URL’
#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 = ’ ’; yy_c_buf_p = yy_cp;
#define YY_END_OF_BUFFER 32
#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(buf, result, max_size) Value:
if ( yy_current_buffer->yy_is_interactive ) { int c = ’*’, n; for ( n = 0; n < max_size && (c = getc( yyin )) != EOF && c != ’0; ++n ) buf[n] = (char) c; if ( c == ’0 ) buf[n++] = (char) c; if ( c == EOF && ferror( yyin ) ) YY_FATAL_ERROR( ’input in flex scanner failed’ ); result = n; } else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) && ferror( yyin ) ) YY_FATAL_ERROR( ’input in flex scanner failed’ );
#define YY_LOCATION_PRINT(File, Loc) ((void) 0)
#define YY_MAY_BE_UNUSED
#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 31
#define YY_PROTO(proto) ()
#define YY_READ_BUF_SIZE 8192
#define YY_REDUCE_PRINT(Rule)
#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_STACK_PRINT(Bottom, Top)
#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_SYMBOL_PRINT(Title, Type, Value, Location)
#define YY_USER_ACTION
#define YYABORT goto yyabortlab
#define YYACCEPT goto yyacceptlab
#define YYBACKUP(Token, Value) Value:
do if (yychar == YYEMPTY && yylen == 1) { yychar = (Token); yylval = (Value); yytoken = YYTRANSLATE (yychar); YYPOPSTACK; goto yybackup; } else { yyerror (’syntax error: cannot back up’); YYERROR; } while (0)
#define YYBISON 1 Authors: David Auber, Patrick Mary, Morgan Mathiaut
from the LaBRI Visualization Team Email : auber@tulip-software.org Last
modification : 13/03/2009 This program is free software; you can
redistribute it and/or modify it under the terms of the GNU General
Public License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
#define yyclearin (yychar = YYEMPTY)
#define yyconst
#define YYCOPY(To, From, Count) Value:
do { register YYSIZE_T yyi; for (yyi = 0; yyi < (Count); yyi++) (To)[yyi] = (From)[yyi]; } while (0)
#define YYDEBUG 0
#define YYDPRINTF(Args)
#define YYEMPTY (-2)
#define YYEOF 0
#define YYERRCODE 256
#define yyerrok (yyerrstatus = 0)
#define YYERROR goto yyerrorlab
#define YYERROR_VERBOSE 0
#define YYFAIL goto yyerrlab
#define YYFINAL 9
#define YYFREE free
#define YYINITDEPTH 2048
#define YYLAST 132
#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 = ’ ’; 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 YYLEX yylex ()
#define YYLLOC_DEFAULT(Current, Rhs, N) Value:
do if (N) { (Current).first_line = YYRHSLOC (Rhs, 1).first_line; (Current).first_column = YYRHSLOC (Rhs, 1).first_column; (Current).last_line = YYRHSLOC (Rhs, N).last_line; (Current).last_column = YYRHSLOC (Rhs, N).last_column; } else { (Current).first_line = (Current).last_line = YYRHSLOC (Rhs, 0).last_line; (Current).first_column = (Current).last_column = YYRHSLOC (Rhs, 0).last_column; } while (0)
#define YYLSP_NEEDED 0
#define YYMALLOC malloc
#define YYMAXDEPTH YYINITDEPTH
#define YYMAXUTOK 267
#define yymore() yymore_used_but_not_detected
#define YYNNTS 27
#define YYNRULES 62
#define YYNSTATES 92
#define YYNTOKENS 25
#define YYPACT_NINF -50
#define YYPOPSTACK (yyvsp--, yyssp--)
#define YYPURE 0
#define YYRECOVERING() (!!yyerrstatus)
#define YYRHSLOC(Rhs, K) ((Rhs)[K])
#define YYSIZE_T unsigned int
#define YYSKELETON_NAME ’yacc.c’
#define YYSTACK_ALLOC YYMALLOC
#define YYSTACK_BYTES(N) Value:
((N) * (sizeof (short int) + sizeof (YYSTYPE)) + YYSTACK_GAP_MAXIMUM)
#define YYSTACK_FREE YYFREE
#define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
#define YYSTACK_RELOCATE(Stack) Value:
do { YYSIZE_T yynewbytes; YYCOPY (&yyptr->Stack, Stack, yysize); Stack = &yyptr->Stack; yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; yyptr += yynewbytes / sizeof (*yyptr); } while (0)
#define YYSTATE YY_START
#define YYSTYPE DOT_YYType
#define YYTABLE_NINF -6
#define yyterminate() return YY_NULL
#define YYTERROR 1
#define yytext_ptr yytext
#define YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ?
yytranslate[YYX] : YYUNDEFTOK)
#define YYUNDEFTOK 2
#define yywrap() 1
Enumeration Type Documentation
enum yytokentype
Enumerator:
NUMBER
IDENT
STRING
_STRICT
_DIGRAPH
_GRAPH
_NODE
_EDGE
_SUBGRAPH
_EDGEOP
Author
Generated automatically by Doxygen for Tulip Plugins Library from the
source code.