#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include "cflow2vcg.h"
#include "write_vcg.h"
#include "cflow_struct.h"
#include "read_sun.h"
#include "read_free.h"
Include dependency graph for cflow2vcg.c:
Go to the source code of this file.
Defines | |
#define | NBMAX 512 |
#define | PROFONDEUR 30 |
#define | NOEUD_INT 1 |
#define | NOEUD_EXT 2 |
#define | afficher_noeud_int(label, numlig, type, fichier, ligne) afficher_noeud((label),(numlig),type,fichier,ligne) |
#define | afficher_noeud_ext(label, numlig) afficher_noeud((label),(numlig),"","",0) |
Enumerations | |
enum | INPUT_TYPE { INPUT_SUN, INPUT_FREE, INPUT_AUTO } |
Functions | |
void | positionner_niveau (int numlig, int niveau) |
int | niveau_pere () |
void | tab_dyn_ajouter_elem (int nouveau, int taille_realloc, int **p_tab, int *p_nb) |
int | int_compare (const void *elem1, const void *elem2) |
void * | rechercher_parmi_interne (int noeud) |
void | usage (FILE *out, const char *progname) |
void | version (FILE *out) |
int | scan_line (const char *line, LINE_INFO *line_info) |
INPUT_TYPE | get_input_type (const char *s_type) |
int | main (int argc, char *argv[]) |
Variables | |
int | niveau_courant = 0 |
int | tab_niveaux [PROFONDEUR] |
int * | tab_noeud_int |
Tableau des noeuds internes. More... | |
int | nb_noeud_int |
Nombre de noeuds internes stockes. More... | |
int * | tab_noeud_ext |
Tableau des noeuds externes. More... | |
int | nb_noeud_ext |
Nombre de noeuds externes stockes. More... | |
int | classe_inv = CLASS_NULL |
Selection de la classe invisible. More... | |
INPUT_TYPE | input_type |
|
Definition at line 128 of file cflow2vcg.c. Referenced by main(). |
|
Definition at line 126 of file cflow2vcg.c. Referenced by main(). |
|
Definition at line 32 of file cflow2vcg.c. Referenced by main(). |
|
Definition at line 40 of file cflow2vcg.c. |
|
Definition at line 39 of file cflow2vcg.c. |
|
Definition at line 33 of file cflow2vcg.c. |
|
Definition at line 42 of file cflow2vcg.c. Referenced by get_input_type(). |
|
Definition at line 202 of file cflow2vcg.c. References INPUT_AUTO, INPUT_FREE, INPUT_SUN, and INPUT_TYPE. Referenced by main(). |
|
Fonction de comparaison d'entier pour bsearch Definition at line 102 of file cflow2vcg.c. Referenced by rechercher_parmi_interne(). |
|
Definition at line 212 of file cflow2vcg.c. References afficher_arc(), afficher_entete(), afficher_noeud_ext, afficher_noeud_int, afficher_pied(), CLASS_EXT, CLASS_INT, classe_inv, LINE_INFO::depth, EXTERNAL, LINE_INFO::fct, LINE_INFO::fct_type, get_input_type(), LINE_INFO::id, INPUT_AUTO, input_type, INTERNAL, LINE_INFO::line_src, nb_noeud_ext, nb_noeud_int, NBMAX, niveau_pere(), positionner_niveau(), scan_line(), LINE_INFO::src, tab_dyn_ajouter_elem(), tab_noeud_ext, tab_noeud_int, LINE_INFO::type, usage(), and version(). |
|
Definition at line 69 of file cflow2vcg.c. References niveau_courant, and tab_niveaux. Referenced by main(). |
|
Definition at line 63 of file cflow2vcg.c. References niveau_courant, and tab_niveaux. Referenced by main(). |
|
Definition at line 121 of file cflow2vcg.c. References int_compare(), nb_noeud_int, and tab_noeud_int. Referenced by afficher_arc(). |
|
Definition at line 171 of file cflow2vcg.c. References INPUT_AUTO, INPUT_FREE, INPUT_SUN, input_type, scan_free(), and scan_sun(). Referenced by main(). |
|
Ajout d'un element en redimensionnant le tableau si necessaire Definition at line 78 of file cflow2vcg.c. Referenced by main(). |
|
Definition at line 131 of file cflow2vcg.c. Referenced by main(). |
|
Definition at line 150 of file cflow2vcg.c. Referenced by main(). |
|
Selection de la classe invisible. Classe invisible Definition at line 58 of file cflow2vcg.c. Referenced by main(). |
|
Definition at line 61 of file cflow2vcg.c. |
|
Nombre de noeuds externes stockes.
Definition at line 55 of file cflow2vcg.c. Referenced by main(). |
|
Nombre de noeuds internes stockes.
Definition at line 52 of file cflow2vcg.c. Referenced by main(), and rechercher_parmi_interne(). |
|
Definition at line 48 of file cflow2vcg.c. Referenced by niveau_pere(), and positionner_niveau(). |
|
Definition at line 49 of file cflow2vcg.c. Referenced by niveau_pere(), and positionner_niveau(). |
|
Tableau des noeuds externes.
Definition at line 54 of file cflow2vcg.c. Referenced by main(). |
|
Tableau des noeuds internes.
Definition at line 51 of file cflow2vcg.c. Referenced by main(), and rechercher_parmi_interne(). |