1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171
|
<!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>Wt examples: Contact Struct Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
<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><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 class="tabs">
<ul>
<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>
<div class="contents">
<h1>Contact Struct Reference<br>
<small>
[<a class="el" href="group__composerexample.html">Composer example</a>]</small>
</h1><!-- doxytag: class="Contact" -->An email contact.
<a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="Contact_8h-source.html">Contact.h</a>></code>
<p>
<p>
<a href="structContact-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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structContact.html#c6bb72365785f7b15e4011f51d91d028">Contact</a> (const std::wstring name_, const std::wstring email_)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new contact. <a href="#c6bb72365785f7b15e4011f51d91d028"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::wstring </td><td class="memItemRight" valign="bottom"><a class="el" href="structContact.html#2935611d38c66be8c3b97701c3224eb6">formatted</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the typical single string form: "name" <email>. <a href="#2935611d38c66be8c3b97701c3224eb6"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::wstring </td><td class="memItemRight" valign="bottom"><a class="el" href="structContact.html#1758d79a2b0e7451f6645edab2cd60a8">name</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The contact name. <a href="#1758d79a2b0e7451f6645edab2cd60a8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::wstring </td><td class="memItemRight" valign="bottom"><a class="el" href="structContact.html#908ed7fa718c3388d2c18ada5e8e72b5">email</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The contact email address. <a href="#908ed7fa718c3388d2c18ada5e8e72b5"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
An email contact.
<p>
This widget is part of the Wt composer example.
<p>Definition at line <a class="el" href="Contact_8h-source.html#l00019">19</a> of file <a class="el" href="Contact_8h-source.html">Contact.h</a>.</p>
<hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="c6bb72365785f7b15e4011f51d91d028"></a><!-- doxytag: member="Contact::Contact" ref="c6bb72365785f7b15e4011f51d91d028" args="(const std::wstring name_, const std::wstring email_)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Contact::Contact </td>
<td>(</td>
<td class="paramtype">const std::wstring </td>
<td class="paramname"> <em>name_</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::wstring </td>
<td class="paramname"> <em>email_</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Create a new contact.
<p>
<p>Definition at line <a class="el" href="Contact_8h-source.html#l00031">31</a> of file <a class="el" href="Contact_8h-source.html">Contact.h</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l00032"></a>00032 : <a class="code" href="structContact.html#1758d79a2b0e7451f6645edab2cd60a8" title="The contact name.">name</a>(name_),
<a name="l00033"></a>00033 <a class="code" href="structContact.html#908ed7fa718c3388d2c18ada5e8e72b5" title="The contact email address.">email</a>(email_)
<a name="l00034"></a>00034 { }
</pre></div>
<p>
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="2935611d38c66be8c3b97701c3224eb6"></a><!-- doxytag: member="Contact::formatted" ref="2935611d38c66be8c3b97701c3224eb6" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::wstring Contact::formatted </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Get the typical single string form: "name" <email>.
<p>
<p>Definition at line <a class="el" href="Contact_8h-source.html#l00038">38</a> of file <a class="el" href="Contact_8h-source.html">Contact.h</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l00038"></a>00038 {
<a name="l00039"></a>00039 <span class="keywordflow">return</span> L<span class="charliteral">'"'</span> + <a class="code" href="structContact.html#1758d79a2b0e7451f6645edab2cd60a8" title="The contact name.">name</a> + L<span class="stringliteral">"\" <"</span> + <a class="code" href="structContact.html#908ed7fa718c3388d2c18ada5e8e72b5" title="The contact email address.">email</a> + L<span class="stringliteral">">"</span>;
<a name="l00040"></a>00040 }
</pre></div>
<p>
</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="1758d79a2b0e7451f6645edab2cd60a8"></a><!-- doxytag: member="Contact::name" ref="1758d79a2b0e7451f6645edab2cd60a8" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::wstring <a class="el" href="structContact.html#1758d79a2b0e7451f6645edab2cd60a8">Contact::name</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The contact name.
<p>
<p>Definition at line <a class="el" href="Contact_8h-source.html#l00023">23</a> of file <a class="el" href="Contact_8h-source.html">Contact.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="908ed7fa718c3388d2c18ada5e8e72b5"></a><!-- doxytag: member="Contact::email" ref="908ed7fa718c3388d2c18ada5e8e72b5" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::wstring <a class="el" href="structContact.html#908ed7fa718c3388d2c18ada5e8e72b5">Contact::email</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The contact email address.
<p>
<p>Definition at line <a class="el" href="Contact_8h-source.html#l00027">27</a> of file <a class="el" href="Contact_8h-source.html">Contact.h</a>.</p>
</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li>/home/koen/project/wt/public-git/wt/examples/composer/<a class="el" href="Contact_8h-source.html">Contact.h</a></ul>
</div>
<hr size="1"><address style="align: right;"><small>
Generated on Fri Mar 26 17:12:12 2010 for <a href="http://www.webtoolkit.eu/wt/">Wt</a> by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6</small></address>
</body>
</html>
|