Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > b3a1f4d91c26f535919e39e25606614a > files > 804

wt-doc-3.2.3-1.fc18.noarch.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>Wt examples: Contact Struct 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
   &#160;<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&#160;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&#160;List</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">Contact Struct Reference<div class="ingroups"><a class="el" href="group__composerexample.html">Composer example</a></div></div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Contact" -->
<p>An email contact.  
 <a href="structContact.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="Contact_8h_source.html">Contact.h</a>&gt;</code></p>

<p><a href="structContact-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">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structContact.html#ac6bb72365785f7b15e4011f51d91d028">Contact</a> (const std::wstring name_, const std::wstring email_)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new contact.  <a href="#ac6bb72365785f7b15e4011f51d91d028"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::wstring&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structContact.html#a2935611d38c66be8c3b97701c3224eb6">formatted</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the typical single string form: "name" &lt;email&gt;  <a href="#a2935611d38c66be8c3b97701c3224eb6"></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&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structContact.html#a1758d79a2b0e7451f6645edab2cd60a8">name</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The contact name.  <a href="#a1758d79a2b0e7451f6645edab2cd60a8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::wstring&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structContact.html#a908ed7fa718c3388d2c18ada5e8e72b5">email</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The contact email address.  <a href="#a908ed7fa718c3388d2c18ada5e8e72b5"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>An email contact. </p>
<p>This widget is part of the Wt composer example. </p>

<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>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ac6bb72365785f7b15e4011f51d91d028"></a><!-- doxytag: member="Contact::Contact" ref="ac6bb72365785f7b15e4011f51d91d028" 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&#160;</td>
          <td class="paramname"><em>name_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::wstring&#160;</td>
          <td class="paramname"><em>email_</em>&#160;</td>
        </tr>
        <tr>
          <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 class="code" href="structContact.html#a1758d79a2b0e7451f6645edab2cd60a8" title="The contact name.">name</a>(name_),
      <a class="code" href="structContact.html#a908ed7fa718c3388d2c18ada5e8e72b5" title="The contact email address.">email</a>(email_)
  { }
</pre></div>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a2935611d38c66be8c3b97701c3224eb6"></a><!-- doxytag: member="Contact::formatted" ref="a2935611d38c66be8c3b97701c3224eb6" 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" &lt;email&gt; </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">                               {
    <span class="keywordflow">return</span> L<span class="charliteral">&#39;&quot;&#39;</span> + <a class="code" href="structContact.html#a1758d79a2b0e7451f6645edab2cd60a8" title="The contact name.">name</a> + L<span class="stringliteral">&quot;\&quot; &lt;&quot;</span> + <a class="code" href="structContact.html#a908ed7fa718c3388d2c18ada5e8e72b5" title="The contact email address.">email</a> + L<span class="stringliteral">&quot;&gt;&quot;</span>;
  }
</pre></div>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a908ed7fa718c3388d2c18ada5e8e72b5"></a><!-- doxytag: member="Contact::email" ref="a908ed7fa718c3388d2c18ada5e8e72b5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::wstring <a class="el" href="structContact.html#a908ed7fa718c3388d2c18ada5e8e72b5">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>
<a class="anchor" id="a1758d79a2b0e7451f6645edab2cd60a8"></a><!-- doxytag: member="Contact::name" ref="a1758d79a2b0e7451f6645edab2cd60a8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::wstring <a class="el" href="structContact.html#a1758d79a2b0e7451f6645edab2cd60a8">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>
<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></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&nbsp;<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>