diff options
author | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2014-05-29 13:35:39 +0000 |
---|---|---|
committer | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2014-05-29 13:35:39 +0000 |
commit | 4fed9438255db32f7049f77c2eb9a192d371ee3d (patch) | |
tree | ea222ae78f518be2edad7ddd71a459d007446005 /navit/item.h | |
parent | e97c3daba316bccdf74b2b77a7c95e3a69b91cf6 (diff) | |
download | navit-4fed9438255db32f7049f77c2eb9a192d371ee3d.tar.gz |
Refactor:core:Add some Doxygen comments.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5781 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/item.h')
-rw-r--r-- | navit/item.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/navit/item.h b/navit/item.h index 574ac5a5c..bc4435f44 100644 --- a/navit/item.h +++ b/navit/item.h @@ -89,13 +89,16 @@ struct item_id { #define ITEM_ID_FMT "(0x%x,0x%x)" #define ITEM_ID_ARGS(x) (x).id_hi,(x).id_lo +/** + * Represents an object on a map, such as a POI, a building, a way or a boundary. + */ struct item { - enum item_type type; - int id_hi; - int id_lo; - struct map *map; - struct item_methods *meth; - void *priv_data; + enum item_type type; /**< Type of the item.*/ + int id_hi; /**< First part of the ID of the item (item IDs have two parts).*/ + int id_lo; /**< Second part of the ID of the item.*/ + struct map *map; /**< The map this items belongs to.*/ + struct item_methods *meth; /**< Methods to manipulate this item.*/ + void *priv_data; /**< Private item data, only used by the map plugin which supplied this item.*/ }; extern struct item_range { |