Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > ed376d6842ea322c25405e7c23b3bc12 > files > 244

libcommoncpp-devel-1.8.0-5.1mdv2010.1.i586.rpm

<!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"/>
<title>GNU CommonC++: ost::MIMEItemPart Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceost.html">ost</a>::<a class="el" href="classost_1_1_m_i_m_e_item_part.html">MIMEItemPart</a>
  </div>
</div>
<div class="contents">
<h1>ost::MIMEItemPart Class Reference</h1><!-- doxytag: class="ost::MIMEItemPart" -->
<p>This is used to attach an item part to a MIME multipart document that is being streamed.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="mime_8h_source.html">mime.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for ost::MIMEItemPart:</div>
<div class="dynsection">
 <div class="center">
  <img src="classost_1_1_m_i_m_e_item_part.png" usemap="#ost::MIMEItemPart_map" alt=""/>
  <map id="ost::MIMEItemPart_map" name="ost::MIMEItemPart_map">
<area href="classost_1_1_m_i_m_e_form_data.html" alt="ost::MIMEFormData" shape="rect" coords="0,56,122,80"/>
</map>
 </div>
</div>

<p><a href="classost_1_1_m_i_m_e_item_part-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_m_i_m_e_item_part.html#a613c021c921942985eb302812d1892a1">head</a> (std::ostream *output)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Stream the header(s) for the current document part.  <a href="#a613c021c921942985eb302812d1892a1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_m_i_m_e_item_part.html#a2179889ba9e82c73553ee1831dd275e4">body</a> (std::ostream *output)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Stream the content of this document part.  <a href="#a2179889ba9e82c73553ee1831dd275e4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_m_i_m_e_item_part.html#a24cd90918d9398bde3c4eeb1aac489fe">MIMEItemPart</a> (<a class="el" href="classost_1_1_m_i_m_e_multipart.html">MIMEMultipart</a> *top, const char *ct)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Construct and attach a document part to a multipart document.  <a href="#a24cd90918d9398bde3c4eeb1aac489fe"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_m_i_m_e_item_part.html#a44257eb93ba5371c056202730b572efe">~MIMEItemPart</a> ()</td></tr>
<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classost_1_1_m_i_m_e_multipart.html">MIMEMultipart</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_m_i_m_e_item_part.html#afd31b8067fcca1c63c074486d7ed6d0b">base</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classost_1_1_m_i_m_e_item_part.html">MIMEItemPart</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_m_i_m_e_item_part.html#a8520b1b9c7b13c094e26e963a106d958">next</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_m_i_m_e_item_part.html#a71f11829d6077f9fd985b7a69450d1cc">ctype</a></td></tr>
<tr><td colspan="2"><h2>Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_m_i_m_e_item_part.html#a2294cabcce81e81dd891cb9eba5d619b">MIMEMultipart</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>This is used to attach an item part to a MIME multipart document that is being streamed. </p>
<p>The base item part class is used by all derived items.</p>
<dl class="author"><dt><b>Author:</b></dt><dd>David Sugar &lt;<a href="mailto:dyfet@ostel.com">dyfet@ostel.com</a>&gt; item or part of a multi-part object. </dd></dl>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a24cd90918d9398bde3c4eeb1aac489fe"></a><!-- doxytag: member="ost::MIMEItemPart::MIMEItemPart" ref="a24cd90918d9398bde3c4eeb1aac489fe" args="(MIMEMultipart *top, const char *ct)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ost::MIMEItemPart::MIMEItemPart </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classost_1_1_m_i_m_e_multipart.html">MIMEMultipart</a> *&nbsp;</td>
          <td class="paramname"> <em>top</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>ct</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Construct and attach a document part to a multipart document. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>top</em>&nbsp;</td><td>multipart document to attach to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>ct</em>&nbsp;</td><td>Content-Type to use. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a44257eb93ba5371c056202730b572efe"></a><!-- doxytag: member="ost::MIMEItemPart::~MIMEItemPart" ref="a44257eb93ba5371c056202730b572efe" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual ost::MIMEItemPart::~MIMEItemPart </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a2179889ba9e82c73553ee1831dd275e4"></a><!-- doxytag: member="ost::MIMEItemPart::body" ref="a2179889ba9e82c73553ee1831dd275e4" args="(std::ostream *output)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void ost::MIMEItemPart::body </td>
          <td>(</td>
          <td class="paramtype">std::ostream *&nbsp;</td>
          <td class="paramname"> <em>output</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected, pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Stream the content of this document part. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>output</em>&nbsp;</td><td>to stream document body into. </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classost_1_1_m_i_m_e_form_data.html#ad9e76656f8c51b4b0d2d50e2db702953">ost::MIMEFormData</a>.</p>

</div>
</div>
<a class="anchor" id="a613c021c921942985eb302812d1892a1"></a><!-- doxytag: member="ost::MIMEItemPart::head" ref="a613c021c921942985eb302812d1892a1" args="(std::ostream *output)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void ost::MIMEItemPart::head </td>
          <td>(</td>
          <td class="paramtype">std::ostream *&nbsp;</td>
          <td class="paramname"> <em>output</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Stream the header(s) for the current document part. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>output</em>&nbsp;</td><td>to stream header into. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented in <a class="el" href="classost_1_1_m_i_m_e_form_data.html#a83cb93bf2ead4d30522519587d32b514">ost::MIMEFormData</a>.</p>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a2294cabcce81e81dd891cb9eba5d619b"></a><!-- doxytag: member="ost::MIMEItemPart::MIMEMultipart" ref="a2294cabcce81e81dd891cb9eba5d619b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="classost_1_1_m_i_m_e_multipart.html">MIMEMultipart</a><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="afd31b8067fcca1c63c074486d7ed6d0b"></a><!-- doxytag: member="ost::MIMEItemPart::base" ref="afd31b8067fcca1c63c074486d7ed6d0b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classost_1_1_m_i_m_e_multipart.html">MIMEMultipart</a>* <a class="el" href="classost_1_1_m_i_m_e_item_part.html#afd31b8067fcca1c63c074486d7ed6d0b">ost::MIMEItemPart::base</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a71f11829d6077f9fd985b7a69450d1cc"></a><!-- doxytag: member="ost::MIMEItemPart::ctype" ref="a71f11829d6077f9fd985b7a69450d1cc" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* <a class="el" href="classost_1_1_m_i_m_e_item_part.html#a71f11829d6077f9fd985b7a69450d1cc">ost::MIMEItemPart::ctype</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a8520b1b9c7b13c094e26e963a106d958"></a><!-- doxytag: member="ost::MIMEItemPart::next" ref="a8520b1b9c7b13c094e26e963a106d958" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classost_1_1_m_i_m_e_item_part.html">MIMEItemPart</a>* <a class="el" href="classost_1_1_m_i_m_e_item_part.html#a8520b1b9c7b13c094e26e963a106d958">ost::MIMEItemPart::next</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="mime_8h_source.html">mime.h</a></li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Fri Nov 12 09:55:47 2010 for GNU CommonC++ by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>