Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > abb2634846290d27f545cecded067e1f > files > 411

barry-devel-docs-0.17.1-4.fc14.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Barry: Barry::Contact 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.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;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="classes.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
      <li><a href="annotated.html"><span>Class&nbsp;List</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="namespaceBarry.html">Barry</a>::<a class="el" href="classBarry_1_1Contact.html">Contact</a>
  </div>
</div>
<div class="contents">
<h1>Barry::Contact Class Reference<br>
<small>
[<a class="el" href="group__RecordParserClasses.html">RecordParserClasses</a>]</small>
</h1><!-- doxytag: class="Barry::Contact" --><code>#include &lt;<a class="el" href="r__contact_8h-source.html">r_contact.h</a>&gt;</code>
<p>
<div class="dynheader">
Collaboration diagram for Barry::Contact:</div>
<div class="dynsection">
<p><center><img src="classBarry_1_1Contact__coll__graph.png" border="0" usemap="#Barry_1_1Contact__coll__map" alt="Collaboration graph"></center>
<map name="Barry_1_1Contact__coll__map">
<area shape="rect" title="STL class." alt="" coords="67,96,147,123"><area shape="rect" title="STL class." alt="" coords="24,5,189,32"><area shape="rect" title="STL class." alt="" coords="492,189,607,216"><area shape="rect" title="STL class." alt="" coords="592,96,757,123"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="classBarry_1_1Contact-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Represents a single record in the Address Book Blackberry database. 
<p>Definition at line <a class="el" href="r__contact_8h-source.html#l00062">62</a> of file <a class="el" href="r__contact_8h-source.html">r_contact.h</a>.</p>
<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">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBarry_1_1Contact.html#4d4222eb7832feeb7f42d34a6ed3967d">GetFullName</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Helper function that returns a formatted full name.  <a href="#4d4222eb7832feeb7f42d34a6ed3967d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const std::string &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBarry_1_1Contact.html#804531c27dd0dd17d819385b6502738e">GetEmail</a> (unsigned int index=0) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Helper function that always returns a valid string.  <a href="#804531c27dd0dd17d819385b6502738e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBarry_1_1Contact.html#b42c206f31eef4bcd524632aa70a0c41">BuildFields</a> (Data &amp;data, size_t &amp;offset, const <a class="el" href="classBarry_1_1IConverter.html">IConverter</a> *ic=0) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Build fields part of record.  <a href="#b42c206f31eef4bcd524632aa70a0c41"></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::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBarry_1_1Contact.html#8dc3a41ab1daa9f744c20c20708e2833">Phone</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This field, Phone, is deprecated.  <a href="#8dc3a41ab1daa9f744c20c20708e2833"></a><br></td></tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="4d4222eb7832feeb7f42d34a6ed3967d"></a><!-- doxytag: member="Barry::Contact::GetFullName" ref="4d4222eb7832feeb7f42d34a6ed3967d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Barry::Contact::GetFullName           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Helper function that returns a formatted full name. 
<p>

<p>Definition at line <a class="el" href="r__contact_8cc-source.html#l00465">465</a> of file <a class="el" href="r__contact_8cc-source.html">r_contact.cc</a>.</p>

<p>Referenced by <a class="el" href="r__contact_8cc-source.html#l00301">BuildFields()</a>.</p>

<p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dynsection">
<p><center><img src="classBarry_1_1Contact_4d4222eb7832feeb7f42d34a6ed3967d_icgraph.png" border="0" usemap="#classBarry_1_1Contact_4d4222eb7832feeb7f42d34a6ed3967d_icgraph_map" alt=""></center>
<map name="classBarry_1_1Contact_4d4222eb7832feeb7f42d34a6ed3967d_icgraph_map">
<area shape="rect" href="classBarry_1_1Contact.html#b42c206f31eef4bcd524632aa70a0c41" title="Build fields part of record." alt="" coords="244,5,420,32"></map>
</div>

</div>
</div><p>
<a class="anchor" name="804531c27dd0dd17d819385b6502738e"></a><!-- doxytag: member="Barry::Contact::GetEmail" ref="804531c27dd0dd17d819385b6502738e" args="(unsigned int index=0) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const std::string &amp; Barry::Contact::GetEmail           </td>
          <td>(</td>
          <td class="paramtype">unsigned int&nbsp;</td>
          <td class="paramname"> <em>index</em> = <code>0</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Helper function that always returns a valid string. 
<p>
The string may be empty if there is no address at the specified index. 
<p>Definition at line <a class="el" href="r__contact_8cc-source.html#l00480">480</a> of file <a class="el" href="r__contact_8cc-source.html">r_contact.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="b42c206f31eef4bcd524632aa70a0c41"></a><!-- doxytag: member="Barry::Contact::BuildFields" ref="b42c206f31eef4bcd524632aa70a0c41" args="(Data &amp;data, size_t &amp;offset, const IConverter *ic=0) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Barry::Contact::BuildFields           </td>
          <td>(</td>
          <td class="paramtype">Data &amp;&nbsp;</td>
          <td class="paramname"> <em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t &amp;&nbsp;</td>
          <td class="paramname"> <em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classBarry_1_1IConverter.html">IConverter</a> *&nbsp;</td>
          <td class="paramname"> <em>ic</em> = <code>0</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Build fields part of record. 
<p>

<p>Definition at line <a class="el" href="r__contact_8cc-source.html#l00301">301</a> of file <a class="el" href="r__contact_8cc-source.html">r_contact.cc</a>.</p>

<p>References <a class="el" href="r__contact_8cc-source.html#l00465">GetFullName()</a>, and <a class="el" href="iconv_8cc-source.html#l00138">Barry::IConverter::ToBB()</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="classBarry_1_1Contact_b42c206f31eef4bcd524632aa70a0c41_cgraph.png" border="0" usemap="#classBarry_1_1Contact_b42c206f31eef4bcd524632aa70a0c41_cgraph_map" alt=""></center>
<map name="classBarry_1_1Contact_b42c206f31eef4bcd524632aa70a0c41_cgraph_map">
<area shape="rect" href="classBarry_1_1Contact.html#4d4222eb7832feeb7f42d34a6ed3967d" title="Helper function that returns a formatted full name." alt="" coords="232,5,421,32"><area shape="rect" href="classBarry_1_1IConverter.html#d67779110abd44d8c6b746822beea20c" title="Barry::IConverter::ToBB" alt="" coords="247,56,407,83"></map>
</div>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="8dc3a41ab1daa9f744c20c20708e2833"></a><!-- doxytag: member="Barry::Contact::Phone" ref="8dc3a41ab1daa9f744c20c20708e2833" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="classBarry_1_1Contact.html#8dc3a41ab1daa9f744c20c20708e2833">Barry::Contact::Phone</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This field, Phone, is deprecated. 
<p>
It is possible to write to this field to the Blackberry, but modern devices won't let you add it through their GUIs. This field only seems to exist on the 7750. While other devices accept the field and display it, it is not accessible by default. 
<p>Definition at line <a class="el" href="r__contact_8h-source.html#l00088">88</a> of file <a class="el" href="r__contact_8h-source.html">r_contact.h</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="r__contact_8h-source.html">r_contact.h</a><li><a class="el" href="r__contact_8cc-source.html">r_contact.cc</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Mar 1 17:51:03 2011 for Barry by&nbsp;
<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>