summaryrefslogtreecommitdiff
path: root/map_8c.html
diff options
context:
space:
mode:
authorCircle CI <circleci@navit-project.org>2017-10-30 00:23:00 +0000
committerCircle CI <circleci@navit-project.org>2017-10-30 00:23:00 +0000
commit82b0529430d6bbfa9d1ebe3c8706c2a37a033b12 (patch)
treea7d8c6e13a25a4add493f7ab74bbd45530d5bfb5 /map_8c.html
parent3d234b7049c094314ae60de2779cd6672a04d90c (diff)
downloadnavit-82b0529430d6bbfa9d1ebe3c8706c2a37a033b12.tar.gz
Update doc for commit c4e55b27cca91d761c9f4385cddb65b2eb5f8e3c
Diffstat (limited to 'map_8c.html')
-rw-r--r--map_8c.html1287
1 files changed, 1287 insertions, 0 deletions
diff --git a/map_8c.html b/map_8c.html
new file mode 100644
index 000000000..2230e77e1
--- /dev/null
+++ b/map_8c.html
@@ -0,0 +1,1287 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.6"/>
+<title>navit: map.c File Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="navtree.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="resize.js"></script>
+<script type="text/javascript" src="navtree.js"></script>
+<script type="text/javascript">
+ $(document).ready(initResizable);
+ $(window).load(resizeHeight);
+</script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td style="padding-left: 0.5em;">
+ <div id="projectname">navit
+ &#160;<span id="projectnumber">0.5.1-trunk</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.6 -->
+ <div id="navrow1" class="tabs">
+ <ul class="tablist">
+ <li><a href="index.html"><span>Main&#160;Page</span></a></li>
+ <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
+ <li><a href="modules.html"><span>Modules</span></a></li>
+ <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+ <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
+ <li class="current"><a href="files.html"><span>Files</span></a></li>
+ </ul>
+ </div>
+ <div id="navrow2" class="tabs2">
+ <ul class="tablist">
+ <li><a href="files.html"><span>File&#160;List</span></a></li>
+ <li><a href="globals.html"><span>Globals</span></a></li>
+ </ul>
+ </div>
+</div><!-- top -->
+<div id="side-nav" class="ui-resizable side-nav-resizable">
+ <div id="nav-tree">
+ <div id="nav-tree-contents">
+ <div id="nav-sync" class="sync"></div>
+ </div>
+ </div>
+ <div id="splitbar" style="-moz-user-select:none;"
+ class="ui-resizable-handle">
+ </div>
+</div>
+<script type="text/javascript">
+$(document).ready(function(){initNavTree('map_8c.html','');});
+</script>
+<div id="doc-content">
+<div class="header">
+ <div class="summary">
+<a href="#nested-classes">Data Structures</a> &#124;
+<a href="#func-members">Functions</a> &#124;
+<a href="#var-members">Variables</a> </div>
+ <div class="headertitle">
+<div class="title">map.c File Reference</div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p>Contains code that makes navit able to load maps.
+<a href="#details">More...</a></p>
+<div class="textblock"><code>#include &lt;glib.h&gt;</code><br/>
+<code>#include &lt;string.h&gt;</code><br/>
+<code>#include &quot;debug.h&quot;</code><br/>
+<code>#include &quot;coord.h&quot;</code><br/>
+<code>#include &quot;projection.h&quot;</code><br/>
+<code>#include &quot;item.h&quot;</code><br/>
+<code>#include &quot;<a class="el" href="map_8h_source.html">map.h</a>&quot;</code><br/>
+<code>#include &quot;maptype.h&quot;</code><br/>
+<code>#include &quot;transform.h&quot;</code><br/>
+<code>#include &quot;plugin.h&quot;</code><br/>
+<code>#include &quot;callback.h&quot;</code><br/>
+<code>#include &quot;country.h&quot;</code><br/>
+<code>#include &quot;xmlconfig.h&quot;</code><br/>
+</div><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
+Data Structures</h2></td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmap.html">map</a></td></tr>
+<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Holds information about a map. <a href="structmap.html#details">More...</a><br/></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmap__rect.html">map_rect</a></td></tr>
+<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Describes a rectangular extract of a map. <a href="structmap__rect.html#details">More...</a><br/></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmap__search.html">map_search</a></td></tr>
+<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Holds information about a search on a map. <a href="structmap__search.html#details">More...</a><br/></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:a9a8864bcc7e1f687fe52c38b36bcad63"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structmap.html">map</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#a9a8864bcc7e1f687fe52c38b36bcad63">map_new</a> (struct <a class="el" href="structattr.html">attr</a> *<a class="el" href="structparent.html">parent</a>, struct <a class="el" href="structattr.html">attr</a> **attrs)</td></tr>
+<tr class="memdesc:a9a8864bcc7e1f687fe52c38b36bcad63"><td class="mdescLeft">&#160;</td><td class="mdescRight">Opens a new map. <a href="#a9a8864bcc7e1f687fe52c38b36bcad63">More...</a><br/></td></tr>
+<tr class="separator:a9a8864bcc7e1f687fe52c38b36bcad63"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:aea4bb45171274a8b6bd4de3d33606f35"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#aea4bb45171274a8b6bd4de3d33606f35">map_get_attr</a> (struct <a class="el" href="structmap.html">map</a> *this_, enum attr_type type, struct <a class="el" href="structattr.html">attr</a> *<a class="el" href="structattr.html">attr</a>, struct <a class="el" href="structattr__iter.html">attr_iter</a> *iter)</td></tr>
+<tr class="memdesc:aea4bb45171274a8b6bd4de3d33606f35"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets an attribute from a map. <a href="#aea4bb45171274a8b6bd4de3d33606f35">More...</a><br/></td></tr>
+<tr class="separator:aea4bb45171274a8b6bd4de3d33606f35"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a6a56a78da425713d4fe965e724d9e09e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#a6a56a78da425713d4fe965e724d9e09e">map_set_attr</a> (struct <a class="el" href="structmap.html">map</a> *this_, struct <a class="el" href="structattr.html">attr</a> *<a class="el" href="structattr.html">attr</a>)</td></tr>
+<tr class="memdesc:a6a56a78da425713d4fe965e724d9e09e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets an attribute of a map. <a href="#a6a56a78da425713d4fe965e724d9e09e">More...</a><br/></td></tr>
+<tr class="separator:a6a56a78da425713d4fe965e724d9e09e"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a878e29885a9aa78e417e56354dc64845"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#a878e29885a9aa78e417e56354dc64845">map_add_callback</a> (struct <a class="el" href="structmap.html">map</a> *this_, struct <a class="el" href="structcallback.html">callback</a> *cb)</td></tr>
+<tr class="memdesc:a878e29885a9aa78e417e56354dc64845"><td class="mdescLeft">&#160;</td><td class="mdescRight">Registers a new callback for attribute-change. <a href="#a878e29885a9aa78e417e56354dc64845">More...</a><br/></td></tr>
+<tr class="separator:a878e29885a9aa78e417e56354dc64845"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:af9f95fd57301452f5a93c0ffd75e13e0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#af9f95fd57301452f5a93c0ffd75e13e0">map_remove_callback</a> (struct <a class="el" href="structmap.html">map</a> *this_, struct <a class="el" href="structcallback.html">callback</a> *cb)</td></tr>
+<tr class="memdesc:af9f95fd57301452f5a93c0ffd75e13e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes a callback from the list of attribute-change callbacks. <a href="#af9f95fd57301452f5a93c0ffd75e13e0">More...</a><br/></td></tr>
+<tr class="separator:af9f95fd57301452f5a93c0ffd75e13e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:adacb9c6f689c49cea9651adecef9dbdb"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#adacb9c6f689c49cea9651adecef9dbdb">map_requires_conversion</a> (struct <a class="el" href="structmap.html">map</a> *this_)</td></tr>
+<tr class="memdesc:adacb9c6f689c49cea9651adecef9dbdb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if strings from a map have to be converted. <a href="#adacb9c6f689c49cea9651adecef9dbdb">More...</a><br/></td></tr>
+<tr class="separator:adacb9c6f689c49cea9651adecef9dbdb"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a7a181e682ec4a9174897686bd91a89b9"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#a7a181e682ec4a9174897686bd91a89b9">map_convert_string_tmp</a> (struct <a class="el" href="structmap.html">map</a> *this_, char *str)</td></tr>
+<tr class="memdesc:a7a181e682ec4a9174897686bd91a89b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts a string from a map into a temporary allocated buffer. Conversion is not performed and original string is returned if map doesn't require conversion. So lifetime of returned value is very limited. <a href="#a7a181e682ec4a9174897686bd91a89b9">More...</a><br/></td></tr>
+<tr class="separator:a7a181e682ec4a9174897686bd91a89b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:af44c00a5c0938889e420cd8c5b87a92a"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#af44c00a5c0938889e420cd8c5b87a92a">map_convert_string</a> (struct <a class="el" href="structmap.html">map</a> *this_, char *str)</td></tr>
+<tr class="memdesc:af44c00a5c0938889e420cd8c5b87a92a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts a string from a map. <a href="#af44c00a5c0938889e420cd8c5b87a92a">More...</a><br/></td></tr>
+<tr class="separator:af44c00a5c0938889e420cd8c5b87a92a"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a23f07c7eafbdd5994dfdb8038d356516"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a23f07c7eafbdd5994dfdb8038d356516"></a>
+char *&#160;</td><td class="memItemRight" valign="bottom"><b>map_convert_dup</b> (char *str)</td></tr>
+<tr class="separator:a23f07c7eafbdd5994dfdb8038d356516"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a4615d67b2a27e13f2341f278e9631c54"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#a4615d67b2a27e13f2341f278e9631c54">map_convert_free</a> (char *str)</td></tr>
+<tr class="memdesc:a4615d67b2a27e13f2341f278e9631c54"><td class="mdescLeft">&#160;</td><td class="mdescRight">Frees the memory allocated for a converted string. <a href="#a4615d67b2a27e13f2341f278e9631c54">More...</a><br/></td></tr>
+<tr class="separator:a4615d67b2a27e13f2341f278e9631c54"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a956c6e8398f832e31fe90634fa982dbf"><td class="memItemLeft" align="right" valign="top">enum projection&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#a956c6e8398f832e31fe90634fa982dbf">map_projection</a> (struct <a class="el" href="structmap.html">map</a> *this_)</td></tr>
+<tr class="memdesc:a956c6e8398f832e31fe90634fa982dbf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the projection of a map. <a href="#a956c6e8398f832e31fe90634fa982dbf">More...</a><br/></td></tr>
+<tr class="separator:a956c6e8398f832e31fe90634fa982dbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a1eb8e44290e34baa9b178624fc32beec"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#a1eb8e44290e34baa9b178624fc32beec">map_set_projection</a> (struct <a class="el" href="structmap.html">map</a> *this_, enum projection pro)</td></tr>
+<tr class="memdesc:a1eb8e44290e34baa9b178624fc32beec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the projection of a map. <a href="#a1eb8e44290e34baa9b178624fc32beec">More...</a><br/></td></tr>
+<tr class="separator:a1eb8e44290e34baa9b178624fc32beec"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a06f624f20492c8e9e9f3c7eb43b70396"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#a06f624f20492c8e9e9f3c7eb43b70396">map_destroy</a> (struct <a class="el" href="structmap.html">map</a> *m)</td></tr>
+<tr class="memdesc:a06f624f20492c8e9e9f3c7eb43b70396"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroys an opened map. <a href="#a06f624f20492c8e9e9f3c7eb43b70396">More...</a><br/></td></tr>
+<tr class="separator:a06f624f20492c8e9e9f3c7eb43b70396"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a52e6ae5ec3beaec49ce12ce603d7d72a"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structmap__rect.html">map_rect</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#a52e6ae5ec3beaec49ce12ce603d7d72a">map_rect_new</a> (struct <a class="el" href="structmap.html">map</a> *m, struct <a class="el" href="structmap__selection.html">map_selection</a> *sel)</td></tr>
+<tr class="memdesc:a52e6ae5ec3beaec49ce12ce603d7d72a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new map rect. <a href="#a52e6ae5ec3beaec49ce12ce603d7d72a">More...</a><br/></td></tr>
+<tr class="separator:a52e6ae5ec3beaec49ce12ce603d7d72a"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ae025c855207536977afd84d39b316e9c"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structitem.html">item</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#ae025c855207536977afd84d39b316e9c">map_rect_get_item</a> (struct <a class="el" href="structmap__rect.html">map_rect</a> *mr)</td></tr>
+<tr class="memdesc:ae025c855207536977afd84d39b316e9c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the next item from a map rect. <a href="#ae025c855207536977afd84d39b316e9c">More...</a><br/></td></tr>
+<tr class="separator:ae025c855207536977afd84d39b316e9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a9e27d0888db14bf9b88727ead943eaf6"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structitem.html">item</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#a9e27d0888db14bf9b88727ead943eaf6">map_rect_get_item_byid</a> (struct <a class="el" href="structmap__rect.html">map_rect</a> *mr, int id_hi, int id_lo)</td></tr>
+<tr class="memdesc:a9e27d0888db14bf9b88727ead943eaf6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the item specified by the ID. <a href="#a9e27d0888db14bf9b88727ead943eaf6">More...</a><br/></td></tr>
+<tr class="separator:a9e27d0888db14bf9b88727ead943eaf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:afe7311d63f1e8a4a697634cf79329f7d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#afe7311d63f1e8a4a697634cf79329f7d">map_rect_destroy</a> (struct <a class="el" href="structmap__rect.html">map_rect</a> *mr)</td></tr>
+<tr class="memdesc:afe7311d63f1e8a4a697634cf79329f7d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroys a map rect. <a href="#afe7311d63f1e8a4a697634cf79329f7d">More...</a><br/></td></tr>
+<tr class="separator:afe7311d63f1e8a4a697634cf79329f7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a3192f982f537a0eb5cc0e32f306ead2d"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structmap__search.html">map_search</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#a3192f982f537a0eb5cc0e32f306ead2d">map_search_new</a> (struct <a class="el" href="structmap.html">map</a> *m, struct <a class="el" href="structitem.html">item</a> *<a class="el" href="structitem.html">item</a>, struct <a class="el" href="structattr.html">attr</a> *search_attr, int partial)</td></tr>
+<tr class="memdesc:a3192f982f537a0eb5cc0e32f306ead2d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Starts a search on a map. <a href="#a3192f982f537a0eb5cc0e32f306ead2d">More...</a><br/></td></tr>
+<tr class="separator:a3192f982f537a0eb5cc0e32f306ead2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a2a6f7023b430cc03af1a8d72e8f6a09b"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structitem.html">item</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#a2a6f7023b430cc03af1a8d72e8f6a09b">map_search_get_item</a> (struct <a class="el" href="structmap__search.html">map_search</a> *this_)</td></tr>
+<tr class="memdesc:a2a6f7023b430cc03af1a8d72e8f6a09b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an item from a map search. <a href="#a2a6f7023b430cc03af1a8d72e8f6a09b">More...</a><br/></td></tr>
+<tr class="separator:a2a6f7023b430cc03af1a8d72e8f6a09b"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a17363cc27a950b21d4a10c1e4977f750"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#a17363cc27a950b21d4a10c1e4977f750">map_search_destroy</a> (struct <a class="el" href="structmap__search.html">map_search</a> *this_)</td></tr>
+<tr class="memdesc:a17363cc27a950b21d4a10c1e4977f750"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroys a map search struct. <a href="#a17363cc27a950b21d4a10c1e4977f750">More...</a><br/></td></tr>
+<tr class="separator:a17363cc27a950b21d4a10c1e4977f750"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ac0160cd214565dad3584739d44fafed8"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structmap__selection.html">map_selection</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#ac0160cd214565dad3584739d44fafed8">map_selection_rect_new</a> (struct <a class="el" href="structpcoord.html">pcoord</a> *center, int distance, int order)</td></tr>
+<tr class="memdesc:ac0160cd214565dad3584739d44fafed8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new rectangular map selection. <a href="#ac0160cd214565dad3584739d44fafed8">More...</a><br/></td></tr>
+<tr class="separator:ac0160cd214565dad3584739d44fafed8"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a95b6e2263b7e7aed66a4a5d8ce8028c8"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structmap__selection.html">map_selection</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#a95b6e2263b7e7aed66a4a5d8ce8028c8">map_selection_dup_pro</a> (struct <a class="el" href="structmap__selection.html">map_selection</a> *sel, enum projection from, enum projection to)</td></tr>
+<tr class="memdesc:a95b6e2263b7e7aed66a4a5d8ce8028c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Duplicates a map selection, transforming coordinates. <a href="#a95b6e2263b7e7aed66a4a5d8ce8028c8">More...</a><br/></td></tr>
+<tr class="separator:a95b6e2263b7e7aed66a4a5d8ce8028c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a41d391414ab9d50fd2e10a072a7e24fa"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structmap__selection.html">map_selection</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#a41d391414ab9d50fd2e10a072a7e24fa">map_selection_dup</a> (struct <a class="el" href="structmap__selection.html">map_selection</a> *sel)</td></tr>
+<tr class="memdesc:a41d391414ab9d50fd2e10a072a7e24fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Duplicates a map selection. <a href="#a41d391414ab9d50fd2e10a072a7e24fa">More...</a><br/></td></tr>
+<tr class="separator:a41d391414ab9d50fd2e10a072a7e24fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a51455e36692349b9fecdd677a40c6c4f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#a51455e36692349b9fecdd677a40c6c4f">map_selection_destroy</a> (struct <a class="el" href="structmap__selection.html">map_selection</a> *sel)</td></tr>
+<tr class="memdesc:a51455e36692349b9fecdd677a40c6c4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroys a map selection. <a href="#a51455e36692349b9fecdd677a40c6c4f">More...</a><br/></td></tr>
+<tr class="separator:a51455e36692349b9fecdd677a40c6c4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ae555f508f81a2cab83100a675ddeb131"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#ae555f508f81a2cab83100a675ddeb131">map_selection_contains_item_rect</a> (struct <a class="el" href="structmap__selection.html">map_selection</a> *sel, struct <a class="el" href="structitem.html">item</a> *<a class="el" href="structitem.html">item</a>)</td></tr>
+<tr class="memdesc:ae555f508f81a2cab83100a675ddeb131"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if a selection contains a rectangle containing an item. <a href="#ae555f508f81a2cab83100a675ddeb131">More...</a><br/></td></tr>
+<tr class="separator:ae555f508f81a2cab83100a675ddeb131"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a8ea9fcf03c34c4caf035f6597af9921f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#a8ea9fcf03c34c4caf035f6597af9921f">map_selection_contains_item_range</a> (struct <a class="el" href="structmap__selection.html">map_selection</a> *sel, int follow, struct <a class="el" href="structitem__range.html">item_range</a> *<a class="el" href="structrange.html">range</a>, int count)</td></tr>
+<tr class="memdesc:a8ea9fcf03c34c4caf035f6597af9921f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if a selection contains a item range. <a href="#a8ea9fcf03c34c4caf035f6597af9921f">More...</a><br/></td></tr>
+<tr class="separator:a8ea9fcf03c34c4caf035f6597af9921f"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ae3e1e05fd13705105196919d3060ac5f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#ae3e1e05fd13705105196919d3060ac5f">map_selection_contains_item</a> (struct <a class="el" href="structmap__selection.html">map_selection</a> *sel, int follow, enum item_type type)</td></tr>
+<tr class="memdesc:ae3e1e05fd13705105196919d3060ac5f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if a selection contains a item. <a href="#ae3e1e05fd13705105196919d3060ac5f">More...</a><br/></td></tr>
+<tr class="separator:ae3e1e05fd13705105196919d3060ac5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a8337c095972c7c8f69679577668d6b5b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="map_8c.html#a8337c095972c7c8f69679577668d6b5b">map_priv_is</a> (struct <a class="el" href="structmap.html">map</a> *<a class="el" href="structmap.html">map</a>, struct <a class="el" href="structmap__priv.html">map_priv</a> *priv)</td></tr>
+<tr class="memdesc:a8337c095972c7c8f69679577668d6b5b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if a pointer points to the private data of a map. <a href="#a8337c095972c7c8f69679577668d6b5b">More...</a><br/></td></tr>
+<tr class="separator:a8337c095972c7c8f69679577668d6b5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a8aa5e993e64e51a2d90b3be0251412cc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8aa5e993e64e51a2d90b3be0251412cc"></a>
+void&#160;</td><td class="memItemRight" valign="bottom"><b>map_dump_filedesc</b> (struct <a class="el" href="structmap.html">map</a> *<a class="el" href="structmap.html">map</a>, FILE *out)</td></tr>
+<tr class="separator:a8aa5e993e64e51a2d90b3be0251412cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ae69d4a7761530edd56139460233d26c6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae69d4a7761530edd56139460233d26c6"></a>
+void&#160;</td><td class="memItemRight" valign="bottom"><b>map_dump_file</b> (struct <a class="el" href="structmap.html">map</a> *<a class="el" href="structmap.html">map</a>, const char *<a class="el" href="structfile.html">file</a>)</td></tr>
+<tr class="separator:ae69d4a7761530edd56139460233d26c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:af254bddcffd897fa184fc240eebb7edd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af254bddcffd897fa184fc240eebb7edd"></a>
+void&#160;</td><td class="memItemRight" valign="bottom"><b>map_dump</b> (struct <a class="el" href="structmap.html">map</a> *<a class="el" href="structmap.html">map</a>)</td></tr>
+<tr class="separator:af254bddcffd897fa184fc240eebb7edd"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a62e56af95eabfab1632e6888676a8127"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62e56af95eabfab1632e6888676a8127"></a>
+struct <a class="el" href="structitem.html">item</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>map_rect_create_item</b> (struct <a class="el" href="structmap__rect.html">map_rect</a> *mr, enum item_type type_)</td></tr>
+<tr class="separator:a62e56af95eabfab1632e6888676a8127"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
+Variables</h2></td></tr>
+<tr class="memitem:a17bf509a62d7e41cea2feab69b67d1ca"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a17bf509a62d7e41cea2feab69b67d1ca"></a>
+char *&#160;</td><td class="memItemRight" valign="bottom"><b>map_converted_string_tmp</b> =NULL</td></tr>
+<tr class="separator:a17bf509a62d7e41cea2feab69b67d1ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a72847bda2999f94a238bde22e8072d2d"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structobject__func.html">object_func</a>&#160;</td><td class="memItemRight" valign="bottom"><b>map_func</b></td></tr>
+<tr class="separator:a72847bda2999f94a238bde22e8072d2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock"><p>Contains code that makes navit able to load maps. </p>
+<p>Navit, a modular navigation system. Copyright (C) 2005-2008 Navit Team</p>
+<p>This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.</p>
+<p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.</p>
+<p>You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</p>
+<p>This file contains the code that makes navit able to load maps. Because navit is able to open maps in different formats, this code does not handle any map format itself. This is done by map plugins which register to this code by calling plugin_register_category_map().</p>
+<p>When opening a new map, the map plugin will return a pointer to a <a class="el" href="structmap__priv.html" title="Represents the map from a single binfile. ">map_priv</a> struct, which can be defined by the map plugin and contains whatever private data the map plugin needs to access the map. This pointer will also be used as a "handle" to access the map opened.</p>
+<p>A common task is to create a "map rect". A map rect is a rectangular part of the map, that one can for example retrieve items from. It is not possible to retrieve items directly from the complete map. Creating a map rect returns a pointer to a <a class="el" href="structmap__rect__priv.html">map_rect_priv</a>, which contains private data for the map rect and will be used as "handle" for this map rect. </p>
+</div><h2 class="groupheader">Function Documentation</h2>
+<a class="anchor" id="a878e29885a9aa78e417e56354dc64845"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void map_add_callback </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structmap.html">map</a> *&#160;</td>
+ <td class="paramname"><em>this_</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">struct <a class="el" href="structcallback.html">callback</a> *&#160;</td>
+ <td class="paramname"><em>cb</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Registers a new callback for attribute-change. </p>
+<p>This function registers a new callback function that should be called if the attributes of the map change.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">this_</td><td>The map to associate the callback with </td></tr>
+ <tr><td class="paramname">cb</td><td>The callback to add </td></tr>
+ </table>
+ </dd>
+</dl>
+
+<p>References <a class="el" href="structmap.html#a217b9c8299ba6e63c8612e092cc632b8">map::attr_cbl</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="a4615d67b2a27e13f2341f278e9631c54"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void map_convert_free </td>
+ <td>(</td>
+ <td class="paramtype">char *&#160;</td>
+ <td class="paramname"><em>str</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Frees the memory allocated for a converted string. </p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">str</td><td>The string to be freed </td></tr>
+ </table>
+ </dd>
+</dl>
+
+</div>
+</div>
+<a class="anchor" id="af44c00a5c0938889e420cd8c5b87a92a"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">char* map_convert_string </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structmap.html">map</a> *&#160;</td>
+ <td class="paramname"><em>this_</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">char *&#160;</td>
+ <td class="paramname"><em>str</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Converts a string from a map. </p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">this_</td><td>The map the string to be converted is from </td></tr>
+ <tr><td class="paramname">str</td><td>The string to be converted </td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>The converted string. It has to be <a class="el" href="map_8c.html#a4615d67b2a27e13f2341f278e9631c54" title="Frees the memory allocated for a converted string. ">map_convert_free()</a>d after use. </dd></dl>
+
+<p>References <a class="el" href="map_8c.html#a7a181e682ec4a9174897686bd91a89b9">map_convert_string_tmp()</a>.</p>
+
+<p>Referenced by <a class="el" href="classBackend.html#a139da3a81c132887ce12937faaf8d864">Backend::get_pois()</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="a7a181e682ec4a9174897686bd91a89b9"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">char* map_convert_string_tmp </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structmap.html">map</a> *&#160;</td>
+ <td class="paramname"><em>this_</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">char *&#160;</td>
+ <td class="paramname"><em>str</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Converts a string from a map into a temporary allocated buffer. Conversion is not performed and original string is returned if map doesn't require conversion. So lifetime of returned value is very limited. </p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">this_</td><td>The map the string to be converted is from </td></tr>
+ <tr><td class="paramname">str</td><td>The string to be converted </td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>The converted string. Don't care about it after use. </dd></dl>
+
+<p>References <a class="el" href="structmap__methods.html#af1b08a1287899114eba4a47645799da6">map_methods::charset</a>, and <a class="el" href="structmap.html#a16d16984fc659709e588e1581c6ef524">map::meth</a>.</p>
+
+<p>Referenced by <a class="el" href="map_8h.html#af44c00a5c0938889e420cd8c5b87a92a">map_convert_string()</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="a06f624f20492c8e9e9f3c7eb43b70396"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void map_destroy </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structmap.html">map</a> *&#160;</td>
+ <td class="paramname"><em>m</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Destroys an opened map. </p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">m</td><td>The map to be destroyed </td></tr>
+ </table>
+ </dd>
+</dl>
+
+<p>References <a class="el" href="structmap.html#a217b9c8299ba6e63c8612e092cc632b8">map::attr_cbl</a>, <a class="el" href="structmap__methods.html#a6da1713d655b62c522dadce548d270f3">map_methods::map_destroy</a>, <a class="el" href="structmap.html#a16d16984fc659709e588e1581c6ef524">map::meth</a>, and <a class="el" href="structmap.html#af9de0e4f6b9c614edd2faa4c59b1d587">map::priv</a>.</p>
+
+<p>Referenced by <a class="el" href="map_8h.html#a9a8864bcc7e1f687fe52c38b36bcad63">map_new()</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="aea4bb45171274a8b6bd4de3d33606f35"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int map_get_attr </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structmap.html">map</a> *&#160;</td>
+ <td class="paramname"><em>this_</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">enum attr_type&#160;</td>
+ <td class="paramname"><em>type</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">struct <a class="el" href="structattr.html">attr</a> *&#160;</td>
+ <td class="paramname"><em>attr</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">struct <a class="el" href="structattr__iter.html">attr_iter</a> *&#160;</td>
+ <td class="paramname"><em>iter</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Gets an attribute from a map. </p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">this_</td><td>The map the attribute should be read from </td></tr>
+ <tr><td class="paramname">type</td><td>The type of the attribute to be read </td></tr>
+ <tr><td class="paramname">attr</td><td>Pointer to an attrib-structure where the attribute should be written to </td></tr>
+ <tr><td class="paramname">iter</td><td>(NOT IMPLEMENTED) Used to iterate through all attributes of a type. Set this to NULL to get the first attribute, set this to an <a class="el" href="structattr__iter.html">attr_iter</a> to get the next attribute </td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>True if the attribute type was found, false if not </dd></dl>
+
+<p>References <a class="el" href="structmap.html#a16d16984fc659709e588e1581c6ef524">map::meth</a>, and <a class="el" href="structmap.html#af9de0e4f6b9c614edd2faa4c59b1d587">map::priv</a>.</p>
+
+<p>Referenced by <a class="el" href="classBackend.html#a6ac6e84ae8630b54403b78ad48acca19">Backend::get_maps()</a>, <a class="el" href="mapset_8c.html#adb098564156843a504fe8408c7051dd1">mapset_get_map_by_name()</a>, <a class="el" href="mapset_8c.html#a7514e385a1a1ad3a2d1c40b4fc7ccfd7">mapset_next()</a>, and <a class="el" href="mapset_8c.html#aa44f7331590fa3b6f5af4e58283c6131">mapset_search_get_item()</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="a9a8864bcc7e1f687fe52c38b36bcad63"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="structmap.html">map</a>* map_new </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structattr.html">attr</a> *&#160;</td>
+ <td class="paramname"><em>parent</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">struct <a class="el" href="structattr.html">attr</a> **&#160;</td>
+ <td class="paramname"><em>attrs</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Opens a new map. </p>
+<p>This function opens a new map based on the attributes passed. This function takes the attribute "attr_type" to determine which type of map to open and passes all attributes to the map plugin's function that was specified in the plugin_register_new_map_type()-call.</p>
+<p>Note that every plugin should accept an attribute of type "attr_data" to be passed with the filename of the map to be opened as value.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">attrs</td><td>Attributes specifying which map to open, see description </td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>The opened map or NULL on failure </dd></dl>
+
+<p>References <a class="el" href="structmap.html#a217b9c8299ba6e63c8612e092cc632b8">map::attr_cbl</a>, <a class="el" href="map_8c.html#a06f624f20492c8e9e9f3c7eb43b70396">map_destroy()</a>, <a class="el" href="structmap.html#a16d16984fc659709e588e1581c6ef524">map::meth</a>, and <a class="el" href="structmap.html#af9de0e4f6b9c614edd2faa4c59b1d587">map::priv</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="a8337c095972c7c8f69679577668d6b5b"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int map_priv_is </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structmap.html">map</a> *&#160;</td>
+ <td class="paramname"><em>map</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">struct <a class="el" href="structmap__priv.html">map_priv</a> *&#160;</td>
+ <td class="paramname"><em>priv</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Checks if a pointer points to the private data of a map. </p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">map</td><td>The map whose private data should be checked. </td></tr>
+ <tr><td class="paramname">priv</td><td>The private data that should be checked. </td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>True if priv is the private data of map </dd></dl>
+
+<p>References <a class="el" href="structmap.html#af9de0e4f6b9c614edd2faa4c59b1d587">map::priv</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="a956c6e8398f832e31fe90634fa982dbf"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">enum projection map_projection </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structmap.html">map</a> *&#160;</td>
+ <td class="paramname"><em>this_</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Returns the projection of a map. </p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">this_</td><td>The map to return the projection of </td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>The projection of the map </dd></dl>
+
+<p>References <a class="el" href="structmap.html#a16d16984fc659709e588e1581c6ef524">map::meth</a>, and <a class="el" href="structmap__methods.html#a22a82fd1148cb3a43d06178dfc8792e4">map_methods::pro</a>.</p>
+
+<p>Referenced by <a class="el" href="classBackend.html#a139da3a81c132887ce12937faaf8d864">Backend::get_pois()</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="afe7311d63f1e8a4a697634cf79329f7d"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void map_rect_destroy </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structmap__rect.html">map_rect</a> *&#160;</td>
+ <td class="paramname"><em>mr</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Destroys a map rect. </p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">mr</td><td>The map rect to be destroyed </td></tr>
+ </table>
+ </dd>
+</dl>
+
+<p>References <a class="el" href="structmap__rect.html#ac5e820290b88392c5ef6f75807e24b73">map_rect::m</a>, <a class="el" href="structmap__methods.html#ad5cc635991170b1689db2ed6ae2e9d77">map_methods::map_rect_destroy</a>, <a class="el" href="structmap.html#a16d16984fc659709e588e1581c6ef524">map::meth</a>, and <a class="el" href="structmap__rect.html#aaee66563c8a5a1fae043efa4f726dfd4">map_rect::priv</a>.</p>
+
+<p>Referenced by <a class="el" href="classBackend.html#a139da3a81c132887ce12937faaf8d864">Backend::get_pois()</a>, and <a class="el" href="route_8h.html#aea343fbd29c37a4c09891694d9117b57">route_get_destination_description()</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="ae025c855207536977afd84d39b316e9c"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="structitem.html">item</a>* map_rect_get_item </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structmap__rect.html">map_rect</a> *&#160;</td>
+ <td class="paramname"><em>mr</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Gets the next item from a map rect. </p>
+<p>Returns an item from a map rect and advances the "item pointer" one step further, so that at the next call the next item is returned. Returns NULL if there are no more items.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">mr</td><td>The map rect to return an item from </td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>An item from the map rect </dd></dl>
+
+<p>References <a class="el" href="structmap__rect.html#ac5e820290b88392c5ef6f75807e24b73">map_rect::m</a>, <a class="el" href="structitem.html#a9d90a195a3654c3b1e872ad92ae74369">item::map</a>, <a class="el" href="structmap__methods.html#aa494c93ad3cde4ad7c0a9f9e1f38240c">map_methods::map_rect_get_item</a>, <a class="el" href="structmap.html#a16d16984fc659709e588e1581c6ef524">map::meth</a>, and <a class="el" href="structmap__rect.html#aaee66563c8a5a1fae043efa4f726dfd4">map_rect::priv</a>.</p>
+
+<p>Referenced by <a class="el" href="classBackend.html#a139da3a81c132887ce12937faaf8d864">Backend::get_pois()</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="a9e27d0888db14bf9b88727ead943eaf6"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="structitem.html">item</a>* map_rect_get_item_byid </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structmap__rect.html">map_rect</a> *&#160;</td>
+ <td class="paramname"><em>mr</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int&#160;</td>
+ <td class="paramname"><em>id_hi</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int&#160;</td>
+ <td class="paramname"><em>id_lo</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Returns the item specified by the ID. </p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">mr</td><td>The map rect to search for the item </td></tr>
+ <tr><td class="paramname">id_hi</td><td>High part of the ID to be found </td></tr>
+ <tr><td class="paramname">id_lo</td><td>Low part of the ID to be found </td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>The item with the specified ID or NULL if not found </dd></dl>
+
+<p>References <a class="el" href="structmap__rect.html#ac5e820290b88392c5ef6f75807e24b73">map_rect::m</a>, <a class="el" href="structitem.html#a9d90a195a3654c3b1e872ad92ae74369">item::map</a>, <a class="el" href="structmap__methods.html#a23213fee74b27726587dbedb19ee54d6">map_methods::map_rect_get_item_byid</a>, <a class="el" href="structmap.html#a16d16984fc659709e588e1581c6ef524">map::meth</a>, and <a class="el" href="structmap__rect.html#aaee66563c8a5a1fae043efa4f726dfd4">map_rect::priv</a>.</p>
+
+<p>Referenced by <a class="el" href="route_8h.html#aea343fbd29c37a4c09891694d9117b57">route_get_destination_description()</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="a52e6ae5ec3beaec49ce12ce603d7d72a"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="structmap__rect.html">map_rect</a>* map_rect_new </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structmap.html">map</a> *&#160;</td>
+ <td class="paramname"><em>m</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">struct <a class="el" href="structmap__selection.html">map_selection</a> *&#160;</td>
+ <td class="paramname"><em>sel</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Creates a new map rect. </p>
+<p>This creates a new map rect, which can be used to retrieve items from a map. If sel is a linked-list of selections, all of them will be used. If you pass NULL as sel, this means "get me the whole map".</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">m</td><td>The map to build the rect on </td></tr>
+ <tr><td class="paramname">sel</td><td>Map selection to choose the rectangle - may be NULL, see description </td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>A new map rect </dd></dl>
+
+<p>References <a class="el" href="structmap__rect.html#ac5e820290b88392c5ef6f75807e24b73">map_rect::m</a>, <a class="el" href="structmap__methods.html#a61d20b95585c4a9539be0331363fe892">map_methods::map_rect_new</a>, <a class="el" href="structmap.html#a16d16984fc659709e588e1581c6ef524">map::meth</a>, <a class="el" href="structmap.html#af9de0e4f6b9c614edd2faa4c59b1d587">map::priv</a>, and <a class="el" href="structmap__rect.html#aaee66563c8a5a1fae043efa4f726dfd4">map_rect::priv</a>.</p>
+
+<p>Referenced by <a class="el" href="classBackend.html#a139da3a81c132887ce12937faaf8d864">Backend::get_pois()</a>, and <a class="el" href="route_8h.html#aea343fbd29c37a4c09891694d9117b57">route_get_destination_description()</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="af9f95fd57301452f5a93c0ffd75e13e0"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void map_remove_callback </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structmap.html">map</a> *&#160;</td>
+ <td class="paramname"><em>this_</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">struct <a class="el" href="structcallback.html">callback</a> *&#160;</td>
+ <td class="paramname"><em>cb</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Removes a callback from the list of attribute-change callbacks. </p>
+<p>This function removes one callback from the list of callbacks functions that should be called when attributes of the map change.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">this_</td><td>The map to remove the callback from </td></tr>
+ <tr><td class="paramname">cb</td><td>The callback to remove </td></tr>
+ </table>
+ </dd>
+</dl>
+
+<p>References <a class="el" href="structmap.html#a217b9c8299ba6e63c8612e092cc632b8">map::attr_cbl</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="adacb9c6f689c49cea9651adecef9dbdb"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int map_requires_conversion </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structmap.html">map</a> *&#160;</td>
+ <td class="paramname"><em>this_</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Checks if strings from a map have to be converted. </p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">this_</td><td>Map to be checked for the need to convert strings </td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>True if strings from the map have to be converted, false otherwise </dd></dl>
+
+<p>References <a class="el" href="structmap__methods.html#af1b08a1287899114eba4a47645799da6">map_methods::charset</a>, and <a class="el" href="structmap.html#a16d16984fc659709e588e1581c6ef524">map::meth</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="a17363cc27a950b21d4a10c1e4977f750"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void map_search_destroy </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structmap__search.html">map_search</a> *&#160;</td>
+ <td class="paramname"><em>this_</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Destroys a map search struct. </p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">this_</td><td>The map search struct to be destroyed </td></tr>
+ </table>
+ </dd>
+</dl>
+
+<p>References <a class="el" href="structmap__methods.html#af1b08a1287899114eba4a47645799da6">map_methods::charset</a>, <a class="el" href="structmap__methods.html#a72a6b2df4750d1555159371ef903437e">map_methods::map_search_destroy</a>, and <a class="el" href="structmap.html#a16d16984fc659709e588e1581c6ef524">map::meth</a>.</p>
+
+<p>Referenced by <a class="el" href="mapset_8c.html#ad5f0941ee0b5b5e32e76942b24d24f70">mapset_search_destroy()</a>, and <a class="el" href="mapset_8c.html#aa44f7331590fa3b6f5af4e58283c6131">mapset_search_get_item()</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="a2a6f7023b430cc03af1a8d72e8f6a09b"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="structitem.html">item</a>* map_search_get_item </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structmap__search.html">map_search</a> *&#160;</td>
+ <td class="paramname"><em>this_</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Returns an item from a map search. </p>
+<p>This returns an item of the result of a search on a map and advances the "item pointer" one step, so that at the next call the next item will be returned. If there are no more items in the result NULL is returned.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">this_</td><td>Map search struct of the search </td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>One item of the result </dd></dl>
+
+<p>References <a class="el" href="structitem.html#a9d90a195a3654c3b1e872ad92ae74369">item::map</a>, <a class="el" href="structmap__methods.html#a55ba68fabdbadd82bf7b4632b3a479bc">map_methods::map_search_get_item</a>, and <a class="el" href="structmap.html#a16d16984fc659709e588e1581c6ef524">map::meth</a>.</p>
+
+<p>Referenced by <a class="el" href="mapset_8c.html#aa44f7331590fa3b6f5af4e58283c6131">mapset_search_get_item()</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="a3192f982f537a0eb5cc0e32f306ead2d"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="structmap__search.html">map_search</a>* map_search_new </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structmap.html">map</a> *&#160;</td>
+ <td class="paramname"><em>m</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">struct <a class="el" href="structitem.html">item</a> *&#160;</td>
+ <td class="paramname"><em>item</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">struct <a class="el" href="structattr.html">attr</a> *&#160;</td>
+ <td class="paramname"><em>search_attr</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int&#160;</td>
+ <td class="paramname"><em>partial</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Starts a search on a map. </p>
+<p>This function starts a search on a map. What attributes one can search for depends on the map plugin.</p>
+<p>The OSM/binfile plugin currently supports: attr_town_name, attr_street_name The MG plugin currently supports: ttr_town_postal, attr_town_name, attr_street_name</p>
+<p>If you enable partial matches bear in mind that the search matches only the begin of the strings - a search for a street named "street" would match to "streetfoo", but not to "somestreet". Search is case insensitive.</p>
+<p>The item passed to this function specifies a "superior item" to "search within" - e.g. a town in which we want to search for a street, or a country in which to search for a town.</p>
+<p>Please also note that the search for countries is not handled by map plugins but by navit internally - have a look into country.c for details. Because of that every map plugin has to accept a country item to be passed as "superior item".</p>
+<p>Note: If you change something here, please make sure to also update the documentation of <a class="el" href="mapset_8c.html#a17f2463f3956b2a1496beb03510f299b" title="Starts a search on a mapset. ">mapset_search_new()</a> in <a class="el" href="mapset_8c.html" title="Contains code used for loading more than one map. ">mapset.c</a>!</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">m</td><td>The map that should be searched </td></tr>
+ <tr><td class="paramname">item</td><td>Specifies a superior item to "search within" (see description) </td></tr>
+ <tr><td class="paramname">search_attr</td><td>Attribute specifying what to search for. See description. </td></tr>
+ <tr><td class="paramname">partial</td><td>Set this to true to also have partial matches. See description. </td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>A new map search struct for this search </dd></dl>
+
+<p>References <a class="el" href="structmap__methods.html#af1b08a1287899114eba4a47645799da6">map_methods::charset</a>, <a class="el" href="structmap__methods.html#afdc333eb68bdac67f5d65d33793ec03b">map_methods::map_search_new</a>, <a class="el" href="structmap.html#a16d16984fc659709e588e1581c6ef524">map::meth</a>, and <a class="el" href="structmap.html#af9de0e4f6b9c614edd2faa4c59b1d587">map::priv</a>.</p>
+
+<p>Referenced by <a class="el" href="mapset_8c.html#aa44f7331590fa3b6f5af4e58283c6131">mapset_search_get_item()</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="ae3e1e05fd13705105196919d3060ac5f"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int map_selection_contains_item </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structmap__selection.html">map_selection</a> *&#160;</td>
+ <td class="paramname"><em>sel</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int&#160;</td>
+ <td class="paramname"><em>follow</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">enum item_type&#160;</td>
+ <td class="paramname"><em>type</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Checks if a selection contains a item. </p>
+<p>This function checks if a selection contains a item type</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">sel</td><td>The selection to be checked </td></tr>
+ <tr><td class="paramname">follow</td><td>Whether the next pointer of the selection should be followed </td></tr>
+ <tr><td class="paramname">item</td><td>The item type to be checked </td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>True if there is a match, false otherwise </dd></dl>
+
+<p>References <a class="el" href="structmap__selection.html#a1c83ff016741893133014d58cfc38e25">map_selection::next</a>, and <a class="el" href="structmap__selection.html#a9b160a76565e6f18e27042d4f06feeaa">map_selection::range</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="a8ea9fcf03c34c4caf035f6597af9921f"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int map_selection_contains_item_range </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structmap__selection.html">map_selection</a> *&#160;</td>
+ <td class="paramname"><em>sel</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int&#160;</td>
+ <td class="paramname"><em>follow</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">struct <a class="el" href="structitem__range.html">item_range</a> *&#160;</td>
+ <td class="paramname"><em>range</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int&#160;</td>
+ <td class="paramname"><em>count</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Checks if a selection contains a item range. </p>
+<p>This function checks if a selection contains at least one of the items in range</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">sel</td><td>The selection to be checked </td></tr>
+ <tr><td class="paramname">follow</td><td>Whether the next pointer of the selection should be followed </td></tr>
+ <tr><td class="paramname">ranges</td><td>The item ranges to be checked the number of elements in ranges </td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>True if there is a match, false otherwise </dd></dl>
+
+<p>References <a class="el" href="structmap__selection.html#a1c83ff016741893133014d58cfc38e25">map_selection::next</a>, and <a class="el" href="structmap__selection.html#a9b160a76565e6f18e27042d4f06feeaa">map_selection::range</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="ae555f508f81a2cab83100a675ddeb131"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int map_selection_contains_item_rect </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structmap__selection.html">map_selection</a> *&#160;</td>
+ <td class="paramname"><em>sel</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">struct <a class="el" href="structitem.html">item</a> *&#160;</td>
+ <td class="paramname"><em>item</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Checks if a selection contains a rectangle containing an item. </p>
+<p>This function checks if a selection contains a rectangle which exactly contains an item. The rectangle is automatically built around the given item.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">sel</td><td>The selection to be checked </td></tr>
+ <tr><td class="paramname">item</td><td>The item that the rectangle should be built around </td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>True if the rectangle is within the selection, false otherwise </dd></dl>
+
+</div>
+</div>
+<a class="anchor" id="a51455e36692349b9fecdd677a40c6c4f"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void map_selection_destroy </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structmap__selection.html">map_selection</a> *&#160;</td>
+ <td class="paramname"><em>sel</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Destroys a map selection. </p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">sel</td><td>The map selection to be destroyed </td></tr>
+ </table>
+ </dd>
+</dl>
+
+<p>References <a class="el" href="structmap__selection.html#a1c83ff016741893133014d58cfc38e25">map_selection::next</a>.</p>
+
+<p>Referenced by <a class="el" href="classBackend.html#a139da3a81c132887ce12937faaf8d864">Backend::get_pois()</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="a41d391414ab9d50fd2e10a072a7e24fa"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="structmap__selection.html">map_selection</a>* map_selection_dup </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structmap__selection.html">map_selection</a> *&#160;</td>
+ <td class="paramname"><em>sel</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Duplicates a map selection. </p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">sel</td><td>The map selection to duplicate </td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>The duplicated map selection </dd></dl>
+
+<p>References <a class="el" href="map_8c.html#a95b6e2263b7e7aed66a4a5d8ce8028c8">map_selection_dup_pro()</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="a95b6e2263b7e7aed66a4a5d8ce8028c8"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="structmap__selection.html">map_selection</a>* map_selection_dup_pro </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structmap__selection.html">map_selection</a> *&#160;</td>
+ <td class="paramname"><em>sel</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">enum projection&#160;</td>
+ <td class="paramname"><em>from</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">enum projection&#160;</td>
+ <td class="paramname"><em>to</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Duplicates a map selection, transforming coordinates. </p>
+<p>This duplicates a map selection and at the same time transforms the internal coordinates of the selection from one projection to another.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">sel</td><td>The map selection to be duplicated </td></tr>
+ <tr><td class="paramname">from</td><td>The projection used for the selection at the moment </td></tr>
+ <tr><td class="paramname">to</td><td>The projection that should be used for the duplicated selection </td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>A duplicated, transformed map selection </dd></dl>
+
+<p>References <a class="el" href="structmap__selection.html#ae00c4fb58fffa37688d33f864310a7b5">map_selection::c_rect</a>, and <a class="el" href="structmap__selection.html#a1c83ff016741893133014d58cfc38e25">map_selection::next</a>.</p>
+
+<p>Referenced by <a class="el" href="classBackend.html#a139da3a81c132887ce12937faaf8d864">Backend::get_pois()</a>, and <a class="el" href="map_8h.html#a41d391414ab9d50fd2e10a072a7e24fa">map_selection_dup()</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="ac0160cd214565dad3584739d44fafed8"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="structmap__selection.html">map_selection</a>* map_selection_rect_new </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structpcoord.html">pcoord</a> *&#160;</td>
+ <td class="paramname"><em>center</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int&#160;</td>
+ <td class="paramname"><em>distance</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int&#160;</td>
+ <td class="paramname"><em>order</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Creates a new rectangular map selection. </p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">center</td><td>Coordinates of the center of the new rectangle </td></tr>
+ <tr><td class="paramname">distance</td><td>Distance of the rectangle's borders from the center </td></tr>
+ <tr><td class="paramname">order</td><td>Desired order of the new selection </td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>The new map selection </dd></dl>
+
+<p>References <a class="el" href="structmap__selection.html#ae00c4fb58fffa37688d33f864310a7b5">map_selection::c_rect</a>, <a class="el" href="structmap__selection.html#a1983d9d4a5df17d7a8d70fc7a7f1d9bf">map_selection::order</a>, <a class="el" href="structmap__selection.html#a9b160a76565e6f18e27042d4f06feeaa">map_selection::range</a>, <a class="el" href="structcoord.html#ac3e93ff628aa19d2888c5f6fa26f430d">coord::x</a>, <a class="el" href="structpcoord.html#a875f35249b19419eb6dfbad5ff18f268">pcoord::x</a>, <a class="el" href="structcoord.html#a2b099692d87f98e4844b615136ca37fb">coord::y</a>, and <a class="el" href="structpcoord.html#a0e18858a037dadd7f64f0f139cac85d0">pcoord::y</a>.</p>
+
+<p>Referenced by <a class="el" href="classBackend.html#a139da3a81c132887ce12937faaf8d864">Backend::get_pois()</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="a6a56a78da425713d4fe965e724d9e09e"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int map_set_attr </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structmap.html">map</a> *&#160;</td>
+ <td class="paramname"><em>this_</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">struct <a class="el" href="structattr.html">attr</a> *&#160;</td>
+ <td class="paramname"><em>attr</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Sets an attribute of a map. </p>
+<p>This sets an attribute of a map, overwriting an attribute of the same type if it already exists. This function also calls all the callbacks that are registred to be called when attributes change.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">this_</td><td>The map to set the attribute of </td></tr>
+ <tr><td class="paramname">attr</td><td>The attribute to set </td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>True if the attr could be set, false otherwise </dd></dl>
+
+<p>References <a class="el" href="structmap.html#a217b9c8299ba6e63c8612e092cc632b8">map::attr_cbl</a>, <a class="el" href="structmap.html#a16d16984fc659709e588e1581c6ef524">map::meth</a>, and <a class="el" href="structmap.html#af9de0e4f6b9c614edd2faa4c59b1d587">map::priv</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="a1eb8e44290e34baa9b178624fc32beec"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void map_set_projection </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="structmap.html">map</a> *&#160;</td>
+ <td class="paramname"><em>this_</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">enum projection&#160;</td>
+ <td class="paramname"><em>pro</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Sets the projection of a map. </p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">this_</td><td>The map to set the projection of </td></tr>
+ <tr><td class="paramname">pro</td><td>The projection to be set </td></tr>
+ </table>
+ </dd>
+</dl>
+
+<p>References <a class="el" href="structmap.html#a16d16984fc659709e588e1581c6ef524">map::meth</a>, and <a class="el" href="structmap__methods.html#a22a82fd1148cb3a43d06178dfc8792e4">map_methods::pro</a>.</p>
+
+</div>
+</div>
+<h2 class="groupheader">Variable Documentation</h2>
+<a class="anchor" id="a72847bda2999f94a238bde22e8072d2d"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="structobject__func.html">object_func</a> map_func</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<b>Initial value:</b><div class="fragment"><div class="line">= {</div>
+<div class="line"> attr_map,</div>
+<div class="line"> (object_func_new)<a class="code" href="map_8c.html#a9a8864bcc7e1f687fe52c38b36bcad63">map_new</a>,</div>
+<div class="line"> (object_func_get_attr)<a class="code" href="map_8c.html#aea4bb45171274a8b6bd4de3d33606f35">map_get_attr</a>,</div>
+<div class="line"> (object_func_iter_new)NULL,</div>
+<div class="line"> (object_func_iter_destroy)NULL,</div>
+<div class="line"> (object_func_set_attr)<a class="code" href="map_8c.html#a6a56a78da425713d4fe965e724d9e09e">map_set_attr</a>,</div>
+<div class="line"> (object_func_add_attr)NULL,</div>
+<div class="line"> (object_func_remove_attr)NULL,</div>
+<div class="line"> (object_func_init)NULL,</div>
+<div class="line"> (object_func_destroy)<a class="code" href="map_8c.html#a06f624f20492c8e9e9f3c7eb43b70396">map_destroy</a>,</div>
+<div class="line"> (object_func_dup)NULL,</div>
+<div class="line"> (object_func_ref)navit_object_ref,</div>
+<div class="line"> (object_func_unref)navit_object_unref,</div>
+<div class="line">}</div>
+<div class="ttc" id="map_8c_html_a06f624f20492c8e9e9f3c7eb43b70396"><div class="ttname"><a href="map_8c.html#a06f624f20492c8e9e9f3c7eb43b70396">map_destroy</a></div><div class="ttdeci">void map_destroy(struct map *m)</div><div class="ttdoc">Destroys an opened map. </div><div class="ttdef"><b>Definition:</b> map.c:302</div></div>
+<div class="ttc" id="map_8c_html_a6a56a78da425713d4fe965e724d9e09e"><div class="ttname"><a href="map_8c.html#a6a56a78da425713d4fe965e724d9e09e">map_set_attr</a></div><div class="ttdeci">int map_set_attr(struct map *this_, struct attr *attr)</div><div class="ttdoc">Sets an attribute of a map. </div><div class="ttdef"><b>Definition:</b> map.c:158</div></div>
+<div class="ttc" id="map_8c_html_a9a8864bcc7e1f687fe52c38b36bcad63"><div class="ttname"><a href="map_8c.html#a9a8864bcc7e1f687fe52c38b36bcad63">map_new</a></div><div class="ttdeci">struct map * map_new(struct attr *parent, struct attr **attrs)</div><div class="ttdoc">Opens a new map. </div><div class="ttdef"><b>Definition:</b> map.c:92</div></div>
+<div class="ttc" id="map_8c_html_aea4bb45171274a8b6bd4de3d33606f35"><div class="ttname"><a href="map_8c.html#aea4bb45171274a8b6bd4de3d33606f35">map_get_attr</a></div><div class="ttdeci">int map_get_attr(struct map *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter)</div><div class="ttdoc">Gets an attribute from a map. </div><div class="ttdef"><b>Definition:</b> map.c:131</div></div>
+</div><!-- fragment -->
+</div>
+</div>
+</div><!-- contents -->
+</div><!-- doc-content -->
+<!-- start footer part -->
+<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
+ <ul>
+ <li class="navelem"><a class="el" href="map_8c.html">map.c</a></li>
+ <li class="footer">Generated by
+ <a href="http://www.doxygen.org/index.html">
+ <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
+ </ul>
+</div>
+</body>
+</html>