navit 0.5.3-trunk
Loading...
Searching...
No Matches
vehicleprofile.h File Reference
#include "callback.h"
#include "navit.h"

Go to the source code of this file.

Data Structures

struct  vehicleprofile
 

Functions

struct vehicleprofilevehicleprofile_new (struct attr *parent, struct attr **attrs)
 
struct attr_itervehicleprofile_attr_iter_new (void *unused)
 
void vehicleprofile_attr_iter_destroy (struct attr_iter *iter)
 
int vehicleprofile_get_attr (struct vehicleprofile *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter)
 
int vehicleprofile_set_attr (struct vehicleprofile *this_, struct attr *attr)
 
int vehicleprofile_add_attr (struct vehicleprofile *this_, struct attr *attr)
 
int vehicleprofile_remove_attr (struct vehicleprofile *this_, struct attr *attr)
 
struct roadprofilevehicleprofile_get_roadprofile (struct vehicleprofile *this_, enum item_type type)
 
char * vehicleprofile_get_name (struct vehicleprofile *this_)
 Returns the vehicle profile's name.
 

Function Documentation

◆ vehicleprofile_add_attr()

int vehicleprofile_add_attr ( struct vehicleprofile this_,
struct attr attr 
)

◆ vehicleprofile_attr_iter_destroy()

void vehicleprofile_attr_iter_destroy ( struct attr_iter iter)

◆ vehicleprofile_attr_iter_new()

struct attr_iter * vehicleprofile_attr_iter_new ( void *  unused)

◆ vehicleprofile_get_attr()

int vehicleprofile_get_attr ( struct vehicleprofile this_,
enum attr_type  type,
struct attr attr,
struct attr_iter iter 
)

◆ vehicleprofile_get_name()

char * vehicleprofile_get_name ( struct vehicleprofile this_)

Returns the vehicle profile's name.

References vehicleprofile::name.

◆ vehicleprofile_get_roadprofile()

struct roadprofile * vehicleprofile_get_roadprofile ( struct vehicleprofile this_,
enum item_type  type 
)

◆ vehicleprofile_new()

◆ vehicleprofile_remove_attr()

int vehicleprofile_remove_attr ( struct vehicleprofile this_,
struct attr attr 
)

◆ vehicleprofile_set_attr()

int vehicleprofile_set_attr ( struct vehicleprofile this_,
struct attr attr 
)