<!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>Wt examples: Attachment Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">Wt examples  <span id="projectnumber">3.2.3</span> </div> </td> </tr> </tbody> </table> </div> <!-- Generated by Doxygen 1.7.5.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</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> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-attribs">Public Attributes</a> </div> <div class="headertitle"> <div class="title">Attachment Class Reference<div class="ingroups"><a class="el" href="group__composerexample.html">Composer example</a></div></div> </div> </div> <div class="contents"> <!-- doxytag: class="Attachment" --> <p>An email attachment. <a href="classAttachment.html#details">More...</a></p> <p><code>#include <<a class="el" href="Attachment_8h_source.html">Attachment.h</a>></code></p> <p><a href="classAttachment-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAttachment.html#a883b64ef90fec4c57d0789af2d80b957">Attachment</a> (const std::wstring aFileName, const std::wstring aContentDescription, const std::string aSpoolFileName)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create an attachment. <a href="#a883b64ef90fec4c57d0789af2d80b957"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="pub-attribs"></a> Public Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">std::wstring </td><td class="memItemRight" valign="bottom"><a class="el" href="classAttachment.html#a8562de1028808bbb9886fce9de0a1a71">fileName</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The file name. <a href="#a8562de1028808bbb9886fce9de0a1a71"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">std::wstring </td><td class="memItemRight" valign="bottom"><a class="el" href="classAttachment.html#a57af162e194d42614fea197e70fb52b7">contentDescription</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The content description. <a href="#a57af162e194d42614fea197e70fb52b7"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classAttachment.html#aca808abf8327ef801af91b0dac9cd197">spoolFileName</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">the spooled file name. <a href="#aca808abf8327ef801af91b0dac9cd197"></a><br/></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>An email attachment. </p> <p>This widget is part of the Wt composer example. </p> <p>Definition at line <a class="el" href="Attachment_8h_source.html#l00019">19</a> of file <a class="el" href="Attachment_8h_source.html">Attachment.h</a>.</p> </div><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a883b64ef90fec4c57d0789af2d80b957"></a><!-- doxytag: member="Attachment::Attachment" ref="a883b64ef90fec4c57d0789af2d80b957" args="(const std::wstring aFileName, const std::wstring aContentDescription, const std::string aSpoolFileName)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Attachment::Attachment </td> <td>(</td> <td class="paramtype">const std::wstring </td> <td class="paramname"><em>aFileName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::wstring </td> <td class="paramname"><em>aContentDescription</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string </td> <td class="paramname"><em>aSpoolFileName</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Create an attachment. </p> <p>Definition at line <a class="el" href="Attachment_8h_source.html#l00036">36</a> of file <a class="el" href="Attachment_8h_source.html">Attachment.h</a>.</p> <div class="fragment"><pre class="fragment"> : <a class="code" href="classAttachment.html#a8562de1028808bbb9886fce9de0a1a71" title="The file name.">fileName</a>(aFileName), <a class="code" href="classAttachment.html#a57af162e194d42614fea197e70fb52b7" title="The content description.">contentDescription</a>(aContentDescription), <a class="code" href="classAttachment.html#aca808abf8327ef801af91b0dac9cd197" title="the spooled file name.">spoolFileName</a>(aSpoolFileName) { } </pre></div> </div> </div> <hr/><h2>Member Data Documentation</h2> <a class="anchor" id="a57af162e194d42614fea197e70fb52b7"></a><!-- doxytag: member="Attachment::contentDescription" ref="a57af162e194d42614fea197e70fb52b7" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::wstring <a class="el" href="classAttachment.html#a57af162e194d42614fea197e70fb52b7">Attachment::contentDescription</a></td> </tr> </table> </div> <div class="memdoc"> <p>The content description. </p> <p>Definition at line <a class="el" href="Attachment_8h_source.html#l00028">28</a> of file <a class="el" href="Attachment_8h_source.html">Attachment.h</a>.</p> </div> </div> <a class="anchor" id="a8562de1028808bbb9886fce9de0a1a71"></a><!-- doxytag: member="Attachment::fileName" ref="a8562de1028808bbb9886fce9de0a1a71" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::wstring <a class="el" href="classAttachment.html#a8562de1028808bbb9886fce9de0a1a71">Attachment::fileName</a></td> </tr> </table> </div> <div class="memdoc"> <p>The file name. </p> <p>Definition at line <a class="el" href="Attachment_8h_source.html#l00024">24</a> of file <a class="el" href="Attachment_8h_source.html">Attachment.h</a>.</p> </div> </div> <a class="anchor" id="aca808abf8327ef801af91b0dac9cd197"></a><!-- doxytag: member="Attachment::spoolFileName" ref="aca808abf8327ef801af91b0dac9cd197" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string <a class="el" href="classAttachment.html#aca808abf8327ef801af91b0dac9cd197">Attachment::spoolFileName</a></td> </tr> </table> </div> <div class="memdoc"> <p>the spooled file name. </p> <p>Definition at line <a class="el" href="Attachment_8h_source.html#l00032">32</a> of file <a class="el" href="Attachment_8h_source.html">Attachment.h</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>/home/koen/project/wt/public-git/wt/examples/composer/<a class="el" href="Attachment_8h_source.html">Attachment.h</a></li> </ul> </div> <hr size="1"><address style="text-align: right; margin: 3px"><small> Generated on Thu Nov 1 2012 for <a href="http://www.webtoolkit.eu/wt">the C++ Web Toolkit (Wt)</a> by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" border="0" style="vertical-align: middle; display: inline-block; height: 2em"></a> 1.7.5.1</small></address> </body> </html>