<!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>GNU CommonC++: ost::MIMEFormData Class 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.6 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li id="current"><a href="classes.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> </ul></div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul></div> <div class="nav"> <a class="el" href="namespaceost.html">ost</a>::<a class="el" href="classost_1_1_m_i_m_e_form_data.html">MIMEFormData</a></div> <h1>ost::MIMEFormData Class Reference</h1><!-- doxytag: class="ost::MIMEFormData" --><!-- doxytag: inherits="ost::MIMEItemPart" -->This is a document part type for use in submitting multipart form data to a web server.multipart document part for web form data field. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="mime_8h-source.html">mime.h</a>></code> <p> <p>Inheritance diagram for ost::MIMEFormData: <p><center><img src="classost_1_1_m_i_m_e_form_data.png" usemap="#ost::MIMEFormData_map" border="0" alt=""></center> <map name="ost::MIMEFormData_map"> <area href="classost_1_1_m_i_m_e_item_part.html" alt="ost::MIMEItemPart" shape="rect" coords="0,0,122,24"> </map> <a href="classost_1_1_m_i_m_e_form_data-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_m_i_m_e_form_data.html#83cb93bf2ead4d30522519587d32b514">head</a> (std::ostream *output)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Stream header, Content-Disposition form-data. <a href="#83cb93bf2ead4d30522519587d32b514"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_m_i_m_e_form_data.html#d9e76656f8c51b4b0d2d50e2db702953">body</a> (std::ostream *output)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Stream content (value) of this form data field. <a href="#d9e76656f8c51b4b0d2d50e2db702953"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_m_i_m_e_form_data.html#1b3512458f3bae63774f9fff6d6e6c49">MIMEFormData</a> (<a class="el" href="classost_1_1_m_i_m_e_multipart_form.html">MIMEMultipartForm</a> *top, const char *<a class="el" href="classost_1_1_m_i_m_e_form_data.html#b0f1fc9c7ee46074b6ff49fcdbf9cf4d">name</a>, const char *<a class="el" href="classost_1_1_m_i_m_e_form_data.html#c695c4f6265400a60f316b0414438b27">content</a>)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct form data field part of multipart form. <a href="#1b3512458f3bae63774f9fff6d6e6c49"></a><br></td></tr> <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_m_i_m_e_form_data.html#69238f52c632fb33f03ec1a900f35764">~MIMEFormData</a> ()</td></tr> <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_m_i_m_e_form_data.html#c695c4f6265400a60f316b0414438b27">content</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_m_i_m_e_form_data.html#b0f1fc9c7ee46074b6ff49fcdbf9cf4d">name</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> This is a document part type for use in submitting multipart form data to a web server.multipart document part for web form data field. <p> <dl compact><dt><b>Author:</b></dt><dd>David Sugar <<a href="mailto:dyfet@ostel.com">dyfet@ostel.com</a>> </dd></dl> <p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="69238f52c632fb33f03ec1a900f35764"></a><!-- doxytag: member="ost::MIMEFormData::~MIMEFormData" ref="69238f52c632fb33f03ec1a900f35764" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">virtual ost::MIMEFormData::~MIMEFormData </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [protected, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> </td> </tr> </table> <a class="anchor" name="1b3512458f3bae63774f9fff6d6e6c49"></a><!-- doxytag: member="ost::MIMEFormData::MIMEFormData" ref="1b3512458f3bae63774f9fff6d6e6c49" args="(MIMEMultipartForm *top, const char *name, const char *content)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">ost::MIMEFormData::MIMEFormData </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classost_1_1_m_i_m_e_multipart_form.html">MIMEMultipartForm</a> * </td> <td class="mdname" nowrap> <em>top</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const char * </td> <td class="mdname" nowrap> <em>name</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const char * </td> <td class="mdname" nowrap> <em>content</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Construct form data field part of multipart form. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>top</em> </td><td>multipart form this is part of </td></tr> <tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>of form data field </td></tr> <tr><td valign="top"></td><td valign="top"><em>content</em> </td><td>of form data field </td></tr> </table> </dl> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="d9e76656f8c51b4b0d2d50e2db702953"></a><!-- doxytag: member="ost::MIMEFormData::body" ref="d9e76656f8c51b4b0d2d50e2db702953" args="(std::ostream *output)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void ost::MIMEFormData::body </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">std::ostream * </td> <td class="mdname1" valign="top" nowrap> <em>output</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Stream content (value) of this form data field. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>output</em> </td><td>stream to send body to. </td></tr> </table> </dl> <p> Implements <a class="el" href="classost_1_1_m_i_m_e_item_part.html#2179889ba9e82c73553ee1831dd275e4">ost::MIMEItemPart</a>. </td> </tr> </table> <a class="anchor" name="83cb93bf2ead4d30522519587d32b514"></a><!-- doxytag: member="ost::MIMEFormData::head" ref="83cb93bf2ead4d30522519587d32b514" args="(std::ostream *output)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void ost::MIMEFormData::head </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">std::ostream * </td> <td class="mdname1" valign="top" nowrap> <em>output</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Stream header, Content-Disposition form-data. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>output</em> </td><td>stream to send header to. </td></tr> </table> </dl> <p> Reimplemented from <a class="el" href="classost_1_1_m_i_m_e_item_part.html#613c021c921942985eb302812d1892a1">ost::MIMEItemPart</a>. </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="c695c4f6265400a60f316b0414438b27"></a><!-- doxytag: member="ost::MIMEFormData::content" ref="c695c4f6265400a60f316b0414438b27" args="" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">const char* <a class="el" href="classost_1_1_m_i_m_e_form_data.html#c695c4f6265400a60f316b0414438b27">ost::MIMEFormData::content</a><code> [protected]</code> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> </td> </tr> </table> <a class="anchor" name="b0f1fc9c7ee46074b6ff49fcdbf9cf4d"></a><!-- doxytag: member="ost::MIMEFormData::name" ref="b0f1fc9c7ee46074b6ff49fcdbf9cf4d" args="" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">const char* <a class="el" href="classost_1_1_m_i_m_e_form_data.html#b0f1fc9c7ee46074b6ff49fcdbf9cf4d">ost::MIMEFormData::name</a><code> [protected]</code> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> </td> </tr> </table> <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></ul> <hr size="1"><address style="align: right;"><small>Generated on Mon Jun 19 10:50:56 2006 for GNU CommonC++ by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> </body> </html>