File: //usr/share/devhelp/books/dbus/api/structDBusTypeReader.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>D-Bus: DBusTypeReader Struct Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li id="current"><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul></div>
<h1>DBusTypeReader Struct Reference</h1><!-- doxytag: class="DBusTypeReader" -->The type reader is an iterator for reading values from a block of values.
<a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="dbus-marshal-recursive_8h-source.html">dbus-marshal-recursive.h</a>></code>
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eb0846d954066f420e1df98b81148702"></a><!-- doxytag: member="DBusTypeReader::byte_order" ref="eb0846d954066f420e1df98b81148702" args="" -->
<a class="el" href="group__DBusTypes.html#gf513803b030613a669cc7ef199f90a8b">dbus_uint32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusTypeReader.html#eb0846d954066f420e1df98b81148702">byte_order</a>: 8</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">byte order of the block <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="551e64ee83df38ebda8c3677a91afe1b"></a><!-- doxytag: member="DBusTypeReader::finished" ref="551e64ee83df38ebda8c3677a91afe1b" args="" -->
<a class="el" href="group__DBusTypes.html#gf513803b030613a669cc7ef199f90a8b">dbus_uint32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusTypeReader.html#551e64ee83df38ebda8c3677a91afe1b">finished</a>: 1</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">marks we're at end iterator for cases where we don't have another way to tell <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="930fb8d6c82f269b0a151cfb33df86b3"></a><!-- doxytag: member="DBusTypeReader::array_len_offset" ref="930fb8d6c82f269b0a151cfb33df86b3" args="" -->
<a class="el" href="group__DBusTypes.html#gf513803b030613a669cc7ef199f90a8b">dbus_uint32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusTypeReader.html#930fb8d6c82f269b0a151cfb33df86b3">array_len_offset</a>: 3</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">bytes back from start_pos that len ends <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f52e270ededd0aabb642c6130a3e9e40"></a><!-- doxytag: member="DBusTypeReader::type_str" ref="f52e270ededd0aabb642c6130a3e9e40" args="" -->
const <a class="el" href="structDBusString.html">DBusString</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusTypeReader.html#f52e270ededd0aabb642c6130a3e9e40">type_str</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">string containing signature of block <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="160a55f9869e297572c5aa5b6ce7bc71"></a><!-- doxytag: member="DBusTypeReader::type_pos" ref="160a55f9869e297572c5aa5b6ce7bc71" args="" -->
int </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusTypeReader.html#160a55f9869e297572c5aa5b6ce7bc71">type_pos</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">current position in signature <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4065d7775758beb044ee23a71875571f"></a><!-- doxytag: member="DBusTypeReader::value_str" ref="4065d7775758beb044ee23a71875571f" args="" -->
const <a class="el" href="structDBusString.html">DBusString</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusTypeReader.html#4065d7775758beb044ee23a71875571f">value_str</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">string containing values of block <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c17280869573f060a945a43e4a5c3ca4"></a><!-- doxytag: member="DBusTypeReader::value_pos" ref="c17280869573f060a945a43e4a5c3ca4" args="" -->
int </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusTypeReader.html#c17280869573f060a945a43e4a5c3ca4">value_pos</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">current position in values <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="238bd0d5a30d8f59fd9b71c95af25563"></a><!-- doxytag: member="DBusTypeReader::klass" ref="238bd0d5a30d8f59fd9b71c95af25563" args="" -->
const <a class="el" href="structDBusTypeReaderClass.html">DBusTypeReaderClass</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusTypeReader.html#238bd0d5a30d8f59fd9b71c95af25563">klass</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">the vtable for the reader <br></td></tr>
<tr><td class="memItemLeft" nowrap><a class="anchor" name="da12bed6758840dc19b1fcb271fb01be"></a><!-- doxytag: member="DBusTypeReader::u" ref="da12bed6758840dc19b1fcb271fb01be" args="" -->
union {</td></tr>
<tr><td class="memItemLeft" nowrap> struct {</td></tr>
<tr><td class="memItemLeft" nowrap> int <a class="el" href="structDBusTypeReader.html#88a36090d466a1fc085a55f764e3a129">start_pos</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">for array readers, the start of the array values <br></td></tr>
<tr><td class="memItemLeft" nowrap valign="top"> } <b>array</b></td></tr>
<tr><td class="memItemLeft" nowrap valign="top">} </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusTypeReader.html#da12bed6758840dc19b1fcb271fb01be">u</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">class-specific data <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The type reader is an iterator for reading values from a block of values.
<p>
<p>
Definition at line <a class="el" href="dbus-marshal-recursive_8h-source.html#l00044">44</a> of file <a class="el" href="dbus-marshal-recursive_8h-source.html">dbus-marshal-recursive.h</a>.<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="dbus-marshal-recursive_8h-source.html">dbus-marshal-recursive.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 14 22:26:15 2009 for D-Bus by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>