navit  0.5.3-trunk
roadprofile.h
Go to the documentation of this file.
1 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 struct roadprofile {
26  int speed;
28  int maxspeed;
29 };
30 
31 struct roadprofile * roadprofile_new(struct attr *parent, struct attr **attrs);
32 int roadprofile_get_attr(struct roadprofile *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter);
33 int roadprofile_set_attr(struct roadprofile *this_, struct attr *attr);
34 int roadprofile_add_attr(struct roadprofile *this_, struct attr *attr);
35 int roadprofile_remove_attr(struct roadprofile *this_, struct attr *attr);
38 #ifdef __cplusplus
39 }
40 #endif
int roadprofile_get_attr(struct roadprofile *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter)
Definition: roadprofile.c:56
attr_type
Definition: attr.h:34
Definition: gpx2navit_txt.h:51
int maxspeed
Definition: roadprofile.h:28
#define NAVIT_OBJECT
Definition: xmlconfig.h:119
struct roadprofile * roadprofile_new(struct attr *parent, struct attr **attrs)
Definition: roadprofile.c:43
Definition: roadprofile.h:24
NAVIT_OBJECT int speed
Definition: roadprofile.h:26
Definition: config_.c:47
struct attr_iter * roadprofile_attr_iter_new(void)
Definition: roadprofile.c:77
Definition: attr.h:157
int route_weight
Definition: roadprofile.h:27
int roadprofile_set_attr(struct roadprofile *this_, struct attr *attr)
Definition: roadprofile.c:60
void roadprofile_attr_iter_destroy(struct attr_iter *iter)
Definition: roadprofile.c:81
int roadprofile_remove_attr(struct roadprofile *this_, struct attr *attr)
Definition: roadprofile.c:71
int roadprofile_add_attr(struct roadprofile *this_, struct attr *attr)
Definition: roadprofile.c:66
char type[3]
Definition: garmin_img.c:123
void * iter
Definition: config_.c:48