navit  0.5.3-trunk
gar2navit.h File Reference

Go to the source code of this file.

Data Structures

struct  gar2navit
 
struct  gar2nav_conv
 

Macros

#define GROUP_RGN1   0
 
#define GROUP_RGN2   1
 
#define G2N_POINT   1
 
#define G2N_POLYLINE   2
 
#define G2N_POLYGONE   3
 
#define G2N_KIND_MASK   0xF0000000
 
#define G2N_KIND_SHIFT   28
 
#define G2N_RGN1   (GROUP_RGN1<<29)
 
#define G2N_RGN2   (GROUP_RGN2<<29)
 

Functions

struct gar2nav_convg2n_conv_load (char *file)
 
enum item_type g2n_get_type (struct gar2nav_conv *c, unsigned int type, unsigned short id)
 
char * g2n_get_descr (struct gar2nav_conv *c, int type, unsigned short id)
 
struct gar2nav_convg2n_default_conv (void)
 

Macro Definition Documentation

◆ G2N_KIND_MASK

#define G2N_KIND_MASK   0xF0000000

◆ G2N_KIND_SHIFT

#define G2N_KIND_SHIFT   28

◆ G2N_POINT

#define G2N_POINT   1

◆ G2N_POLYGONE

#define G2N_POLYGONE   3

◆ G2N_POLYLINE

#define G2N_POLYLINE   2

◆ G2N_RGN1

#define G2N_RGN1   (GROUP_RGN1<<29)

◆ G2N_RGN2

#define G2N_RGN2   (GROUP_RGN2<<29)

◆ GROUP_RGN1

#define GROUP_RGN1   0

◆ GROUP_RGN2

#define GROUP_RGN2   1

Function Documentation

◆ g2n_conv_load()

struct gar2nav_conv* g2n_conv_load ( char *  file)

References c, dlog, and load_types_file().

Referenced by gmap_new().

◆ g2n_default_conv()

struct gar2nav_conv* g2n_default_conv ( void  )

Referenced by gmap_new().

◆ g2n_get_descr()

char* g2n_get_descr ( struct gar2nav_conv c,
int  type,
unsigned short  id 
)

◆ g2n_get_type()

enum item_type g2n_get_type ( struct gar2nav_conv c,
unsigned int  type,
unsigned short  id 
)