navit  0.5.1-trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups
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:60
attr_type
Definition: attr.h:34
tuple iter
Definition: eval.py:8
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:45
Definition: roadprofile.h:24
NAVIT_OBJECT int speed
Definition: roadprofile.h:26
Definition: config_.c:48
struct attr_iter * roadprofile_attr_iter_new(void)
Definition: roadprofile.c:88
Definition: attr.h:156
int route_weight
Definition: roadprofile.h:27
int roadprofile_set_attr(struct roadprofile *this_, struct attr *attr)
Definition: roadprofile.c:66
void roadprofile_attr_iter_destroy(struct attr_iter *iter)
Definition: roadprofile.c:94
int roadprofile_remove_attr(struct roadprofile *this_, struct attr *attr)
Definition: roadprofile.c:81
int roadprofile_add_attr(struct roadprofile *this_, struct attr *attr)
Definition: roadprofile.c:74
char type[3]
Definition: garmin_img.c:130