blob: 27f230940ba3272e0c1acb75b9e14a157eaf8799 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
|
<!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.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>navit: map/csv/csv.h Source File</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="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></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 id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">navit
 <span id="projectnumber">0.5.3-trunk</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></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('csv_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="headertitle">
<div class="title">csv.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="csv_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <stdio.h></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <glib.h></span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include "<a class="code" href="attr_8h.html">attr.h</a>"</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include "<a class="code" href="coord_8h.html">coord.h</a>"</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "<a class="code" href="quadtree_8h.html">quadtree.h</a>"</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">struct </span><a class="code" href="structmap__priv.html">map_priv</a> {</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keywordtype">int</span> <a class="code" href="structmap__priv.html#aa66f57489b1b501ca5e235d49beb5cee">id</a>;</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="structmap__priv.html#a67969c7494971a394f950025f82edce9"> 30</a></span>  <span class="keyword">struct </span><a class="code" href="structquadtree__node.html">quadtree_node</a>* <a class="code" href="structmap__priv.html#a67969c7494971a394f950025f82edce9">tree_root</a>;</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keywordtype">int</span> <a class="code" href="structmap__priv.html#a37f285ed865368cd6285426055c292fd">flags</a>;</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="structmap__priv.html#a39d758f9ea4993462318811d865ad42b"> 32</a></span>  GHashTable*<a class="code" href="structmap__priv.html#a39d758f9ea4993462318811d865ad42b">qitem_hash</a>;</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keywordtype">char</span>* <a class="code" href="structmap__priv.html#a4658248cfb752e347d19c65a914c1e69">filename</a>;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="comment">/*need to write map file on exit*/</span></div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="structmap__priv.html#a8a593e4c661715a64f16609df2e34b4e"> 35</a></span>  <span class="keywordtype">int</span> <a class="code" href="structmap__priv.html#a8a593e4c661715a64f16609df2e34b4e">dirty</a>;</div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="structmap__priv.html#a794e3e8c3320f4e6b6b1296b54de69ac"> 36</a></span>  <span class="keywordtype">int</span> <a class="code" href="structmap__priv.html#a794e3e8c3320f4e6b6b1296b54de69ac">attr_cnt</a>;</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="structmap__priv.html#aa5cc2833022293ea3df78cbacddd06a6"> 37</a></span>  <span class="keyword">enum</span> <a class="code" href="attr_8h.html#a9a9ab3c12bda86add06f89976f36f98c">attr_type</a> *<a class="code" href="structmap__priv.html#aa5cc2833022293ea3df78cbacddd06a6">attr_types</a>;</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="structmap__priv.html#aa6bc2f08b44c727d7a0ed581a99c2896"> 38</a></span>  <span class="keywordtype">int</span> <a class="code" href="structmap__priv.html#aa6bc2f08b44c727d7a0ed581a99c2896">next_item_idx</a>;</div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="structmap__priv.html#a47efe795d600d0ee69c57fe79331dbce"> 39</a></span>  <span class="keyword">enum</span> <a class="code" href="item_8h.html#a2679318a14061852e50df3c6e4e42f62">item_type</a> <a class="code" href="structmap__priv.html#a47efe795d600d0ee69c57fe79331dbce">item_type</a>;</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="comment">/*list of quadtree items that have no coord set yet ()*/</span></div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="structmap__priv.html#a7366dcf306a6f19ce52e5e3b224165a8"> 41</a></span>  <a class="code" href="navit_8h.html#a91f7dfaa0fe030ddf1780769c02c4231">GList</a>* <a class="code" href="structmap__priv.html#a7366dcf306a6f19ce52e5e3b224165a8">new_items</a>;</div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="structmap__priv.html#adbc8803857348b8e9fe16048f6deec4c"> 42</a></span>  <span class="keywordtype">char</span> *<a class="code" href="structmap__priv.html#adbc8803857348b8e9fe16048f6deec4c">charset</a>;</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> };</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">struct </span><a class="code" href="structmap__rect__priv.html">map_rect_priv</a> {</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keyword">struct </span><a class="code" href="structmap__selection.html">map_selection</a> *sel;</div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="structmap__rect__priv.html#a450490585dc9092f93633a3c4813bc2f"> 47</a></span>  <span class="keyword">struct </span><a class="code" href="structquadtree__iter.html">quadtree_iter</a> *<a class="code" href="structmap__rect__priv.html#a450490585dc9092f93633a3c4813bc2f">qiter</a>;</div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="structmap__rect__priv.html#a4b1ad5fe615cebaf3e6ad44f6cc0daf9"> 48</a></span>  <span class="keyword">struct </span><a class="code" href="structquadtree__item.html">quadtree_item</a> *<a class="code" href="structmap__rect__priv.html#a4b1ad5fe615cebaf3e6ad44f6cc0daf9">qitem</a>;</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="structmap__rect__priv.html#ae2a088b117817e1b26bbf69dca8d7d7d"> 49</a></span>  <span class="keyword">struct </span><a class="code" href="structcoord.html">coord</a> <a class="code" href="popup_8c.html#aafe71b070668214be9b4b4849985dc6b">c</a>;</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="structmap__rect__priv.html#aa2b70f20a47de760273a7d8f35b99c5d"> 50</a></span>  <span class="keywordtype">int</span> <a class="code" href="structmap__rect__priv.html#aa2b70f20a47de760273a7d8f35b99c5d">bStarted</a>;</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keyword">struct </span><a class="code" href="structitem.html">item</a> <a class="code" href="structitem.html">item</a>;</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keyword">struct </span><a class="code" href="structmap__priv.html">map_priv</a> *m;</div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="structmap__rect__priv.html#a7f71331c02303e47558b771261a0c042"> 53</a></span>  <a class="code" href="navit_8h.html#a91f7dfaa0fe030ddf1780769c02c4231">GList</a>* <a class="code" href="structmap__rect__priv.html#a7f71331c02303e47558b771261a0c042">at_iter</a>;</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> };</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div><div class="ttc" id="attr_8h_html_a9a9ab3c12bda86add06f89976f36f98c"><div class="ttname"><a href="attr_8h.html#a9a9ab3c12bda86add06f89976f36f98c">attr_type</a></div><div class="ttdeci">attr_type</div><div class="ttdef"><b>Definition:</b> attr.h:34</div></div>
<div class="ttc" id="structmap__priv_html_aa6bc2f08b44c727d7a0ed581a99c2896"><div class="ttname"><a href="structmap__priv.html#aa6bc2f08b44c727d7a0ed581a99c2896">map_priv::next_item_idx</a></div><div class="ttdeci">int next_item_idx</div><div class="ttdef"><b>Definition:</b> csv.h:38</div></div>
<div class="ttc" id="structmap__priv_html_a7366dcf306a6f19ce52e5e3b224165a8"><div class="ttname"><a href="structmap__priv.html#a7366dcf306a6f19ce52e5e3b224165a8">map_priv::new_items</a></div><div class="ttdeci">GList * new_items</div><div class="ttdef"><b>Definition:</b> csv.h:41</div></div>
<div class="ttc" id="coord_8h_html"><div class="ttname"><a href="coord_8h.html">coord.h</a></div></div>
<div class="ttc" id="structitem_html"><div class="ttname"><a href="structitem.html">item</a></div><div class="ttdef"><b>Definition:</b> item.h:99</div></div>
<div class="ttc" id="structquadtree__item_html"><div class="ttname"><a href="structquadtree__item.html">quadtree_item</a></div><div class="ttdef"><b>Definition:</b> quadtree.h:27</div></div>
<div class="ttc" id="structmap__rect__priv_html_aa2b70f20a47de760273a7d8f35b99c5d"><div class="ttname"><a href="structmap__rect__priv.html#aa2b70f20a47de760273a7d8f35b99c5d">map_rect_priv::bStarted</a></div><div class="ttdeci">int bStarted</div><div class="ttdef"><b>Definition:</b> csv.h:50</div></div>
<div class="ttc" id="structmap__priv_html_aa66f57489b1b501ca5e235d49beb5cee"><div class="ttname"><a href="structmap__priv.html#aa66f57489b1b501ca5e235d49beb5cee">map_priv::id</a></div><div class="ttdeci">int id</div><div class="ttdef"><b>Definition:</b> binfile.c:106</div></div>
<div class="ttc" id="item_8h_html_a2679318a14061852e50df3c6e4e42f62"><div class="ttname"><a href="item_8h.html#a2679318a14061852e50df3c6e4e42f62">item_type</a></div><div class="ttdeci">item_type</div><div class="ttdef"><b>Definition:</b> item.h:29</div></div>
<div class="ttc" id="structmap__priv_html_a37f285ed865368cd6285426055c292fd"><div class="ttname"><a href="structmap__priv.html#a37f285ed865368cd6285426055c292fd">map_priv::flags</a></div><div class="ttdeci">int flags</div><div class="ttdef"><b>Definition:</b> binfile.c:125</div></div>
<div class="ttc" id="structmap__priv_html_a8a593e4c661715a64f16609df2e34b4e"><div class="ttname"><a href="structmap__priv.html#a8a593e4c661715a64f16609df2e34b4e">map_priv::dirty</a></div><div class="ttdeci">int dirty</div><div class="ttdef"><b>Definition:</b> csv.h:35</div></div>
<div class="ttc" id="popup_8c_html_aafe71b070668214be9b4b4849985dc6b"><div class="ttname"><a href="popup_8c.html#aafe71b070668214be9b4b4849985dc6b">c</a></div><div class="ttdeci">static struct pcoord c</div><div class="ttdef"><b>Definition:</b> popup.c:375</div></div>
<div class="ttc" id="structmap__rect__priv_html_a4b1ad5fe615cebaf3e6ad44f6cc0daf9"><div class="ttname"><a href="structmap__rect__priv.html#a4b1ad5fe615cebaf3e6ad44f6cc0daf9">map_rect_priv::qitem</a></div><div class="ttdeci">struct quadtree_item * qitem</div><div class="ttdef"><b>Definition:</b> csv.h:48</div></div>
<div class="ttc" id="structmap__priv_html"><div class="ttname"><a href="structmap__priv.html">map_priv</a></div><div class="ttdoc">Represents the map from a single binfile. </div><div class="ttdef"><b>Definition:</b> binfile.c:105</div></div>
<div class="ttc" id="structmap__rect__priv_html"><div class="ttname"><a href="structmap__rect__priv.html">map_rect_priv</a></div><div class="ttdoc">Implementation-specific map rect data. </div><div class="ttdef"><b>Definition:</b> binfile.c:137</div></div>
<div class="ttc" id="structmap__priv_html_a4658248cfb752e347d19c65a914c1e69"><div class="ttname"><a href="structmap__priv.html#a4658248cfb752e347d19c65a914c1e69">map_priv::filename</a></div><div class="ttdeci">char * filename</div><div class="ttdoc">Filename of the binfile. </div><div class="ttdef"><b>Definition:</b> binfile.c:107</div></div>
<div class="ttc" id="structmap__priv_html_a47efe795d600d0ee69c57fe79331dbce"><div class="ttname"><a href="structmap__priv.html#a47efe795d600d0ee69c57fe79331dbce">map_priv::item_type</a></div><div class="ttdeci">enum item_type item_type</div><div class="ttdef"><b>Definition:</b> csv.h:39</div></div>
<div class="ttc" id="navit_8h_html_a91f7dfaa0fe030ddf1780769c02c4231"><div class="ttname"><a href="navit_8h.html#a91f7dfaa0fe030ddf1780769c02c4231">GList</a></div><div class="ttdeci">struct _GList GList</div><div class="ttdef"><b>Definition:</b> navit.h:30</div></div>
<div class="ttc" id="attr_8h_html"><div class="ttname"><a href="attr_8h.html">attr.h</a></div></div>
<div class="ttc" id="structmap__rect__priv_html_a7f71331c02303e47558b771261a0c042"><div class="ttname"><a href="structmap__rect__priv.html#a7f71331c02303e47558b771261a0c042">map_rect_priv::at_iter</a></div><div class="ttdeci">GList * at_iter</div><div class="ttdef"><b>Definition:</b> csv.h:53</div></div>
<div class="ttc" id="structmap__selection_html"><div class="ttname"><a href="structmap__selection.html">map_selection</a></div><div class="ttdoc">Used to select data from a map. </div><div class="ttdef"><b>Definition:</b> map.h:57</div></div>
<div class="ttc" id="structmap__priv_html_a67969c7494971a394f950025f82edce9"><div class="ttname"><a href="structmap__priv.html#a67969c7494971a394f950025f82edce9">map_priv::tree_root</a></div><div class="ttdeci">struct quadtree_node * tree_root</div><div class="ttdef"><b>Definition:</b> csv.h:30</div></div>
<div class="ttc" id="structmap__rect__priv_html_a450490585dc9092f93633a3c4813bc2f"><div class="ttname"><a href="structmap__rect__priv.html#a450490585dc9092f93633a3c4813bc2f">map_rect_priv::qiter</a></div><div class="ttdeci">struct quadtree_iter * qiter</div><div class="ttdef"><b>Definition:</b> csv.h:47</div></div>
<div class="ttc" id="structquadtree__iter_html"><div class="ttname"><a href="structquadtree__iter.html">quadtree_iter</a></div><div class="ttdef"><b>Definition:</b> quadtree.c:36</div></div>
<div class="ttc" id="structmap__priv_html_a794e3e8c3320f4e6b6b1296b54de69ac"><div class="ttname"><a href="structmap__priv.html#a794e3e8c3320f4e6b6b1296b54de69ac">map_priv::attr_cnt</a></div><div class="ttdeci">int attr_cnt</div><div class="ttdef"><b>Definition:</b> csv.h:36</div></div>
<div class="ttc" id="structmap__priv_html_a39d758f9ea4993462318811d865ad42b"><div class="ttname"><a href="structmap__priv.html#a39d758f9ea4993462318811d865ad42b">map_priv::qitem_hash</a></div><div class="ttdeci">GHashTable * qitem_hash</div><div class="ttdef"><b>Definition:</b> csv.h:32</div></div>
<div class="ttc" id="structmap__priv_html_aa5cc2833022293ea3df78cbacddd06a6"><div class="ttname"><a href="structmap__priv.html#aa5cc2833022293ea3df78cbacddd06a6">map_priv::attr_types</a></div><div class="ttdeci">enum attr_type * attr_types</div><div class="ttdef"><b>Definition:</b> csv.h:37</div></div>
<div class="ttc" id="structmap__priv_html_adbc8803857348b8e9fe16048f6deec4c"><div class="ttname"><a href="structmap__priv.html#adbc8803857348b8e9fe16048f6deec4c">map_priv::charset</a></div><div class="ttdeci">char * charset</div><div class="ttdef"><b>Definition:</b> csv.h:42</div></div>
<div class="ttc" id="structcoord_html"><div class="ttname"><a href="structcoord.html">coord</a></div><div class="ttdef"><b>Definition:</b> coord.h:34</div></div>
<div class="ttc" id="quadtree_8h_html"><div class="ttname"><a href="quadtree_8h.html">quadtree.h</a></div></div>
<div class="ttc" id="structquadtree__node_html"><div class="ttname"><a href="structquadtree__node.html">quadtree_node</a></div><div class="ttdef"><b>Definition:</b> quadtree.h:35</div></div>
</div><!-- fragment --></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="dir_629690313ac978c400b86cc5525f4b87.html">map</a></li><li class="navelem"><a class="el" href="dir_5c283744458b038400bd774ec89e9ec9.html">csv</a></li><li class="navelem"><a class="el" href="csv_8h.html">csv.h</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.13 </li>
</ul>
</div>
</body>
</html>
|