dotImport.cpp File Reference
#include <fstream>
#include <sstream>
#include <math.h>
#include <tulip/TulipPlugin.h>
#include <tulip/hash_string.h>
#include <vector>
#include <string>
#include <ext/hash_map>
#include <dotImportCLUT.h>
#include "dotImportParser.h"
#include "dotImportLexer.h"
Include dependency graph for dotImport.cpp:
Classes
Typedefs
Enumerations
Functions
Variables
- char * yytext
- int yylen
- ShapeAttr ShapeAttrA []
- struct {
- DOT_YY ()
- node bindNode (const std::string &inId, bool &inCreated)
- EdgeA bindEdge (const std::string &inOp, const NodeA &inA, const NodeA &inB)
- EdgeA bindEdge (const std::string &inOp, const NodeA &inA, const node &inB)
- EdgeA bindEdge (const std::string &inOp, const node &inA, const NodeA &inB)
- EdgeA bindEdge (const std::string &inOp, const node &inA, const node &inB)
- void SetupNode (const NodeA &inA, const DOT_ATTR &inAttr)
- void SetupEdge (const EdgeA &inA, const DOT_ATTR &inAttr)
- } dotyy
- static const unsigned char yytranslate []
- static const unsigned char yyr1 []
- static const unsigned char yyr2 []
- static const unsigned char yydefact []
- static const yysigned_char yydefgoto []
- static const yysigned_char yypact []
- static const yysigned_char yypgoto []
- static const yysigned_char yytable []
- static const yysigned_char yycheck []
- static const unsigned char yystos []
- int yytype
- YYSTYPE * yyvaluep
- int yychar
- YYSTYPE yylval
- int yynerrs
- int yyleng
- FILE * yyin
- FILE * yyout
- static YY_BUFFER_STATE yy_current_buffer = 0
- static char yy_hold_char
- static int yy_n_chars
- int yyleng
- 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
- FILE * yyin = (FILE *) 0
- FILE * yyout = (FILE *) 0
- char * yytext
- static yyconst short int yy_accept [94]
- static yyconst int yy_ec [256]
- static yyconst int yy_meta [33]
- static yyconst short int yy_base [106]
- static yyconst short int yy_def [106]
- static yyconst short int yy_nxt [224]
- static yyconst short int yy_chk [224]
- static yy_state_type yy_last_accepting_state
- static char * yy_last_accepting_cpos
- char * yytext
- int line_num = 1
- int html_nest = 0
- int size
- FILE * file
- yy_size_t size
- int len
- yy_size_t size
- const char * paramHelp []
Typedef Documentation
typedef std::vector<edge> EdgeA [static] |
|
typedef std::vector<node> NodeA [static] |
|
typedef stdext::hash_map<std::string,node> NodeMap [static] |
|
typedef unsigned char YY_CHAR [static] |
|
Enumeration Type Documentation
|
- Enumerator:
-
NUMBER |
|
IDENT |
|
STRING |
|
_STRICT |
|
_DIGRAPH |
|
_GRAPH |
|
_NODE |
|
_EDGE |
|
_SUBGRAPH |
|
_EDGEOP |
|
|
Function Documentation
template<typename T> |
std::vector<T>& @0::operator+= |
( |
std::vector< T > & |
inA, |
|
|
const std::vector< T > & |
inB |
|
) |
[inline, static] |
|
static int input @0::YY_PROTO |
( |
(void) |
|
) |
[static] |
|
static void yy_fatal_error @0::YY_PROTO |
( |
(yyconst char msg[]) |
|
) |
[static] |
|
static int yy_get_next_buffer @0::YY_PROTO |
( |
(void) |
|
) |
[static] |
|
static yy_state_type yy_get_previous_state @0::YY_PROTO |
( |
(void) |
|
) |
[static] |
|
static void yy_flex_free @0::YY_PROTO |
( |
(void *) |
|
) |
[static] |
|
static void* yy_flex_realloc @0::YY_PROTO |
( |
(void *, yy_size_t) |
|
) |
[static] |
|
static void* yy_flex_alloc @0::YY_PROTO |
( |
(yy_size_t) |
|
) |
[static] |
|
YY_BUFFER_STATE yy_scan_string @0::YY_PROTO |
( |
(yyconst char *yy_str) |
|
) |
[static] |
|
void yy_load_buffer_state @0::YY_PROTO |
( |
(void) |
|
) |
[static] |
|
void yy_switch_to_buffer @0::YY_PROTO |
( |
(YY_BUFFER_STATE new_buffer) |
|
) |
[static] |
|
void yyrestart @0::YY_PROTO |
( |
(FILE *input_file) |
|
) |
[static] |
|
static void @0::yydestruct |
( |
yymsg |
, |
|
|
yytype |
, |
|
|
yyvaluep |
|
|
) |
const [static] |
|
void @0::yyerror |
( |
char const * |
|
) |
[static] |
|
int @0::yylex |
( |
void |
|
) |
[static] |
|
int @0::yyparse |
( |
|
) |
[static] |
|
Variable Documentation
|
Initial value: {
HTML_HELP_OPEN()
HTML_HELP_DEF( "type", "pathname" )
HTML_HELP_BODY()
"This parameter defines the file pathname to import."
HTML_HELP_CLOSE(),
}
|
|
Initial value: {
"box", 0,
"boxoutlined", 1,
"sphere", 2,
"cone", 3,
"square", 4,
"teapot", 5,
"cyclinder", 6,
"billboard", 7,
"circle", 2,
"ellipse", 2,
}
|
|
Initial value:
{ 0,
0, 0, 4, 4, 21, 21, 29, 29, 32, 30,
1, 2, 18, 8, 30, 30, 30, 30, 16, 23,
17, 17, 17, 17, 17, 17, 4, 5, 21, 19,
31, 29, 25, 24, 31, 1, 8, 0, 16, 15,
16, 3, 7, 16, 0, 17, 17, 17, 17, 17,
17, 17, 4, 5, 5, 6, 21, 22, 20, 29,
29, 28, 26, 27, 0, 7, 0, 16, 17, 17,
17, 17, 17, 17, 0, 16, 17, 13, 17, 12,
17, 17, 17, 11, 17, 17, 17, 9, 17, 10,
17, 14, 0
}
|
yyconst short int yy_base[106] [static] |
|
|
Initial value:
{ 0,
0, 0, 30, 31, 31, 34, 27, 29, 190, 191,
187, 191, 191, 0, 35, 40, 177, 46, 46, 191,
0, 162, 165, 156, 157, 27, 0, 54, 0, 191,
180, 0, 191, 191, 59, 180, 0, 170, 54, 191,
55, 191, 0, 63, 72, 0, 157, 156, 160, 156,
147, 156, 0, 76, 78, 191, 0, 191, 191, 0,
191, 191, 191, 191, 82, 0, 163, 162, 143, 149,
142, 147, 143, 139, 127, 119, 107, 0, 99, 0,
96, 63, 63, 0, 56, 63, 51, 0, 45, 0,
43, 0, 191, 93, 100, 107, 114, 49, 121, 128,
135, 141, 148, 153, 160
}
|
yyconst short int yy_chk[224] [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, 3, 4, 5, 3, 4, 6, 7, 7,
8, 8, 7, 15, 8, 15, 5, 16, 16, 6,
16, 18, 16, 98, 19, 18, 19, 26, 26, 28,
19, 35, 39, 28, 39, 41, 91, 19, 39, 41,
35, 35, 89, 44, 87, 39, 41, 44, 45, 45,
86, 54, 45, 55, 44, 54, 85, 55, 65, 65,
83, 82, 65, 94, 94, 94, 94, 94, 94, 94,
95, 95, 95, 95, 95, 95, 95, 96, 96, 96,
96, 96, 96, 96, 97, 81, 97, 97, 97, 97,
97, 99, 79, 99, 77, 99, 99, 99, 100, 76,
100, 100, 100, 100, 100, 101, 101, 75, 101, 101,
101, 102, 102, 102, 102, 102, 102, 102, 103, 103,
103, 103, 103, 104, 104, 104, 104, 104, 104, 104,
105, 74, 105, 105, 105, 105, 105, 73, 72, 71,
70, 69, 68, 67, 52, 51, 50, 49, 48, 47,
38, 36, 31, 25, 24, 23, 22, 17, 11, 9,
93, 93, 93, 93, 93, 93, 93, 93, 93, 93,
93, 93, 93, 93, 93, 93, 93, 93, 93, 93,
93, 93, 93, 93, 93, 93, 93, 93, 93, 93,
93, 93, 93
}
|
yyconst short int yy_def[106] [static] |
|
|
Initial value:
{ 0,
93, 1, 94, 94, 95, 95, 96, 96, 93, 93,
93, 93, 93, 97, 93, 93, 93, 93, 93, 93,
98, 98, 98, 98, 98, 98, 99, 100, 101, 93,
102, 103, 93, 93, 104, 93, 97, 93, 93, 93,
93, 93, 105, 93, 93, 98, 98, 98, 98, 98,
98, 98, 99, 100, 100, 93, 101, 93, 93, 103,
93, 93, 93, 93, 93, 105, 93, 93, 98, 98,
98, 98, 98, 98, 93, 93, 98, 98, 98, 98,
98, 98, 98, 98, 98, 98, 98, 98, 98, 98,
98, 98, 0, 93, 93, 93, 93, 93, 93, 93,
93, 93, 93, 93, 93
}
|
yyconst int yy_ec[256] [static] |
|
|
Initial value:
{ 0,
1, 1, 2, 3, 1, 4, 1, 1, 1, 1,
5, 6, 6, 5, 5, 7, 5, 5, 5, 5,
5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
5, 5
}
|
yyconst short int yy_nxt[224] [static] |
|
|
Initial value:
{ 0,
10, 11, 12, 13, 14, 10, 15, 16, 17, 18,
19, 20, 10, 21, 21, 10, 21, 21, 21, 21,
22, 23, 24, 21, 21, 25, 21, 21, 21, 26,
21, 21, 12, 12, 30, 28, 28, 30, 33, 34,
33, 34, 35, 38, 35, 39, 31, 40, 38, 31,
39, 42, 40, 46, 44, 43, 39, 51, 52, 55,
45, 62, 44, 56, 39, 41, 92, 45, 45, 65,
63, 64, 91, 41, 90, 45, 65, 45, 67, 67,
89, 93, 68, 55, 45, 93, 88, 56, 75, 75,
87, 86, 76, 27, 27, 27, 27, 27, 27, 27,
29, 29, 29, 29, 29, 29, 29, 32, 32, 32,
32, 32, 32, 32, 37, 85, 37, 37, 37, 37,
37, 53, 84, 53, 83, 53, 53, 53, 54, 76,
54, 54, 54, 54, 54, 57, 57, 76, 57, 57,
57, 58, 58, 58, 58, 58, 58, 58, 60, 60,
60, 60, 60, 61, 61, 61, 61, 61, 61, 61,
66, 82, 66, 66, 66, 66, 66, 81, 80, 79,
78, 77, 68, 68, 74, 73, 72, 71, 70, 69,
41, 36, 59, 50, 49, 48, 47, 41, 36, 93,
9, 93, 93, 93, 93, 93, 93, 93, 93, 93,
93, 93, 93, 93, 93, 93, 93, 93, 93, 93,
93, 93, 93, 93, 93, 93, 93, 93, 93, 93,
93, 93, 93
}
|
|
Initial value:
{
6, 38, 46, 46, 25, 54, 3, 4, 5, 20,
54, 54, 23, 7, 8, 3, 4, 5, 24, 64,
0, 42, 22, 23, 21, 13, 13, 5, 73, 24,
16, 80, 38, 82, 55, 19, 80, 80, 82, 82,
46, 78, 12, 49, 50, 12, 18, 47, 54, 13,
56, 1, 23, 3, 4, 5, 17, 20, 8, 9,
10, 11, 68, 13, 14, 3, 4, 5, 3, 4,
5, 15, 78, 11, 80, 13, 82, 1, 12, 3,
4, 5, 12, 89, 8, 9, 10, 11, 15, 13,
14, 1, 52, 3, 4, 5, 22, 78, 8, 9,
10, 11, 53, 13, 14, 1, 17, 3, 4, 5,
-1, -1, 8, 9, 10, 11, -1, 13, 14, 0,
1, -1, 3, 4, 5, 6, 7, 8, -1, -1,
-1, -1, 13
}
|
|
Initial value:
{
0, 3, 0, 6, 7, 0, 10, 8, 9, 1,
59, 58, 61, 0, 11, 60, 27, 0, 0, 62,
31, 0, 0, 0, 0, 27, 4, 26, 34, 28,
29, 17, 38, 32, 33, 35, 56, 37, 12, 23,
24, 25, 27, 57, 0, 30, 0, 19, 46, 0,
0, 36, 39, 40, 0, 27, 0, 0, 21, 14,
22, 0, 55, 49, 17, 50, 37, 18, 0, 43,
45, 42, 41, 17, 0, 20, 16, 15, 12, 54,
0, 47, 0, 0, 48, 53, 13, 51, 52, 0,
0, 44
}
|
|
Initial value:
{
-1, 5, 6, 13, 57, 78, 39, 47, 48, 27,
59, 28, 18, 29, 30, 31, 32, 51, 52, 53,
33, 34, 64, 35, 36, 37, 15
}
|
FILE* yyin = (FILE *) 0 [static] |
|
FILE * yyout = (FILE *) 0 [static] |
|
|
Initial value:
{
119, -50, 6, -50, -50, 20, 65, -50, -50, -50,
-50, -50, -50, 13, -50, 5, -50, 22, 50, 5,
-50, 14, 14, 14, 12, -50, -50, -50, -50, -50,
16, 30, -11, -50, -50, 33, 36, 28, 65, -50,
-50, -50, -50, -50, 76, -50, 62, 14, -50, 3,
65, -50, 29, 37, 62, -50, 65, 39, -50, 56,
28, 90, -50, 66, -50, 70, -50, -50, 65, -50,
-50, -50, -50, -50, 104, -50, -50, -50, 65, -50,
62, -50, 62, 73, -50, -50, -50, -50, -50, 65,
74, -50
}
|
|
Initial value:
{
-50, -50, -50, -50, 19, -50, 0, -50, -45, -37,
-50, -50, -21, -50, -50, -44, -50, -50, 49, 40,
-50, -50, -49, -43, -50, -6, 89
}
|
const unsigned char yyr1[] [static] |
|
|
Initial value:
{
0, 25, 26, 26, 26, 27, 27, 27, 27, 27,
28, 28, 29, 29, 30, 30, 31, 32, 32, 33,
34, 35, 35, 36, 36, 36, 36, 37, 37, 38,
38, 38, 39, 39, 39, 39, 40, 41, 42, 42,
42, 42, 42, 43, 43, 44, 45, 46, 46, 47,
47, 47, 47, 48, 48, 48, 48, 49, 50, 50,
50, 51, 51
}
|
const unsigned char yyr2[] [static] |
|
|
Initial value:
{
0, 2, 0, 1, 5, 0, 1, 1, 2, 2,
0, 1, 0, 3, 0, 1, 3, 0, 2, 1,
3, 1, 1, 2, 2, 2, 1, 0, 2, 1,
2, 1, 1, 1, 1, 1, 2, 1, 0, 1,
1, 2, 2, 2, 6, 2, 2, 4, 4, 1,
1, 3, 3, 4, 4, 3, 1, 2, 1, 1,
1, 1, 3
}
|
const unsigned char yystos[] [static] |
|
|
Initial value:
{
0, 1, 6, 7, 8, 26, 27, 7, 8, 0,
3, 4, 5, 28, 50, 51, 13, 24, 37, 51,
1, 8, 9, 10, 11, 13, 14, 34, 36, 38,
39, 40, 41, 45, 46, 48, 49, 50, 16, 31,
31, 31, 13, 50, 37, 19, 12, 32, 33, 20,
23, 42, 43, 44, 12, 13, 18, 29, 34, 35,
50, 37, 14, 40, 47, 48, 50, 31, 21, 50,
50, 44, 43, 47, 37, 50, 17, 15, 30, 14,
12, 33, 12, 50, 33, 14, 29, 47, 47, 15,
50, 22
}
|
|
Initial value:
{
14, 58, 63, 65, 44, 73, 10, 11, 12, 49,
63, 65, 50, 7, 8, 10, 11, 12, 43, 81,
9, 61, 40, 41, 68, 42, 16, 12, 84, 17,
38, 87, 60, 88, 74, 45, 63, 65, 63, 65,
66, 58, 46, 69, 70, 54, 56, 67, 66, 55,
75, 20, 50, 10, 11, 12, 76, 49, 21, 22,
23, 24, 83, 25, 26, 10, 11, 12, 10, 11,
12, 77, 60, 24, 66, 25, 66, 20, 80, 10,
11, 12, 82, 90, 21, 22, 23, 24, 89, 25,
62, 20, 71, 10, 11, 12, 91, 86, 21, 22,
23, 24, 72, 25, 79, 20, 19, 10, 11, 12,
0, 0, 21, 22, 23, 24, 0, 25, 85, -2,
1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