MOON
Server: Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4
System: Linux csr818.wilogic.com 2.6.18-419.el5xen #1 SMP Fri Feb 24 22:50:37 UTC 2017 x86_64
User: digitals (531)
PHP: 5.4.45
Disabled: NONE
Upload Files
File: //usr/share/devhelp/books/dbus/api/structDBusTypeWriter.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: DBusTypeWriter 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&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li id="current"><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
  </ul></div>
<h1>DBusTypeWriter Struct Reference</h1><!-- doxytag: class="DBusTypeWriter" -->The type writer is an iterator for writing to a block of values.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="dbus-marshal-recursive_8h-source.html">dbus-marshal-recursive.h</a>&gt;</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="6c4baf0b7148cf3f76924b654dada148"></a><!-- doxytag: member="DBusTypeWriter::byte_order" ref="6c4baf0b7148cf3f76924b654dada148" args="" -->
<a class="el" href="group__DBusTypes.html#gf513803b030613a669cc7ef199f90a8b">dbus_uint32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusTypeWriter.html#6c4baf0b7148cf3f76924b654dada148">byte_order</a>: 8</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">byte order to write values with <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__DBusTypes.html#gf513803b030613a669cc7ef199f90a8b">dbus_uint32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusTypeWriter.html#d0953035070c7c7d21b044b7b2f0f491">container_type</a>: 8</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">what are we inside? (e.g.  <a href="#d0953035070c7c7d21b044b7b2f0f491"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e6db89e9a3adcd52678dc089810cfb0b"></a><!-- doxytag: member="DBusTypeWriter::type_pos_is_expectation" ref="e6db89e9a3adcd52678dc089810cfb0b" args="" -->
<a class="el" href="group__DBusTypes.html#gf513803b030613a669cc7ef199f90a8b">dbus_uint32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusTypeWriter.html#e6db89e9a3adcd52678dc089810cfb0b">type_pos_is_expectation</a>: 1</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">type_pos can be either an insertion point for or an expected next type <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="52c8617918c108d36b947cbdfc99c6ea"></a><!-- doxytag: member="DBusTypeWriter::enabled" ref="52c8617918c108d36b947cbdfc99c6ea" args="" -->
<a class="el" href="group__DBusTypes.html#gf513803b030613a669cc7ef199f90a8b">dbus_uint32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusTypeWriter.html#52c8617918c108d36b947cbdfc99c6ea">enabled</a>: 1</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">whether to write values <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="95204ef3a9cf29ee31687032b142b836"></a><!-- doxytag: member="DBusTypeWriter::type_str" ref="95204ef3a9cf29ee31687032b142b836" args="" -->
<a class="el" href="structDBusString.html">DBusString</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusTypeWriter.html#95204ef3a9cf29ee31687032b142b836">type_str</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">where to write typecodes (or read type expectations) <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="77c19debc0427372f368cfe7188951f8"></a><!-- doxytag: member="DBusTypeWriter::type_pos" ref="77c19debc0427372f368cfe7188951f8" args="" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusTypeWriter.html#77c19debc0427372f368cfe7188951f8">type_pos</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">current pos in type_str <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4e4b3af31fd7a93d0e54d10882bcc07"></a><!-- doxytag: member="DBusTypeWriter::value_str" ref="a4e4b3af31fd7a93d0e54d10882bcc07" args="" -->
<a class="el" href="structDBusString.html">DBusString</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusTypeWriter.html#a4e4b3af31fd7a93d0e54d10882bcc07">value_str</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">where to write values <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="27c0475eedd90be65f90a799e5210947"></a><!-- doxytag: member="DBusTypeWriter::value_pos" ref="27c0475eedd90be65f90a799e5210947" args="" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusTypeWriter.html#27c0475eedd90be65f90a799e5210947">value_pos</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">next position to write <br></td></tr>
<tr><td class="memItemLeft" nowrap><a class="anchor" name="fe24080d2be45fb6033833a1a38d5d1a"></a><!-- doxytag: member="DBusTypeWriter::u" ref="fe24080d2be45fb6033833a1a38d5d1a" args="" -->
union {</td></tr>

<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;struct {</td></tr>

<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;&nbsp;&nbsp;<a class="el" href="structDBusTypeWriter.html#24531a73a7b434bc3596a13dc0a12957">start_pos</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">position of first element in the array <br></td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;&nbsp;&nbsp;<a class="el" href="structDBusTypeWriter.html#9bb5ce609d67e3254d35a261a425788c">len_pos</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">position of length of the array <br></td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;&nbsp;&nbsp;<a class="el" href="structDBusTypeWriter.html#2241529e1b6ab17bf0bbb838c896e02b">element_type_pos</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">position of array element type in type_str <br></td></tr>
<tr><td class="memItemLeft" nowrap valign="top">&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;<b>array</b></td></tr>

<tr><td class="memItemLeft" nowrap valign="top">}&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusTypeWriter.html#fe24080d2be45fb6033833a1a38d5d1a">u</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">class-specific data <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The type writer is an iterator for writing to a block of values. 
<p>

<p>
Definition at line <a class="el" href="dbus-marshal-recursive_8h-source.html#l00069">69</a> of file <a class="el" href="dbus-marshal-recursive_8h-source.html">dbus-marshal-recursive.h</a>.<hr><h2>Field Documentation</h2>
<a class="anchor" name="d0953035070c7c7d21b044b7b2f0f491"></a><!-- doxytag: member="DBusTypeWriter::container_type" ref="d0953035070c7c7d21b044b7b2f0f491" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__DBusTypes.html#gf513803b030613a669cc7ef199f90a8b">dbus_uint32_t</a> <a class="el" href="structDBusTypeWriter.html#d0953035070c7c7d21b044b7b2f0f491">DBusTypeWriter::container_type</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
what are we inside? (e.g. 
<p>
struct, variant, array) 
<p>
Definition at line <a class="el" href="dbus-marshal-recursive_8h-source.html#l00073">73</a> of file <a class="el" href="dbus-marshal-recursive_8h-source.html">dbus-marshal-recursive.h</a>.
<p>
Referenced by <a class="el" href="dbus-marshal-recursive_8c-source.html#l01475">_dbus_type_writer_init()</a>, <a class="el" href="dbus-marshal-recursive_8c-source.html#l02161">_dbus_type_writer_unrecurse()</a>, and <a class="el" href="dbus-marshal-recursive_8c-source.html#l02341">_dbus_type_writer_write_fixed_multi()</a>.
</div>
</div><p>
<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&nbsp;
<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>