<!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>Barry: Barry::Sync::vCard Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.2-20100208 --> <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> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</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="navpath"><a class="el" href="namespaceBarry.html">Barry</a>::<b>Sync</b>::<a class="el" href="classBarry_1_1Sync_1_1vCard.html">vCard</a> </div> </div> <div class="contents"> <h1>Barry::Sync::vCard Class Reference</h1><!-- doxytag: class="Barry::Sync::vCard" --><!-- doxytag: inherits="Barry::Sync::vBase" --> <p>Class for converting between RFC 2425/2426 <a class="el" href="classBarry_1_1Sync_1_1vCard.html" title="Class for converting between RFC 2425/2426 vCard data format, and the Barry::Contact...">vCard</a> data format, and the <a class="el" href="classBarry_1_1Contact.html" title="Represents a single record in the Address Book Blackberry database.">Barry::Contact</a> class. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="vcard_8h_source.html">vcard.h</a>></code></p> <div class="dynheader"> Inheritance diagram for Barry::Sync::vCard:</div> <div class="dynsection"> <div class="center"><img src="classBarry_1_1Sync_1_1vCard__inherit__graph.png" border="0" usemap="#Barry_1_1Sync_1_1vCard_inherit__map" alt="Inheritance graph"/></div> <map name="Barry_1_1Sync_1_1vCard_inherit__map" id="Barry_1_1Sync_1_1vCard_inherit__map"> <area shape="rect" id="node2" href="classBarry_1_1Sync_1_1vBase.html" title="Base class containing vformat helper API." alt="" coords="5,6,144,37"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <div class="dynheader"> Collaboration diagram for Barry::Sync::vCard:</div> <div class="dynsection"> <div class="center"><img src="classBarry_1_1Sync_1_1vCard__coll__graph.png" border="0" usemap="#Barry_1_1Sync_1_1vCard_coll__map" alt="Collaboration graph"/></div> <map name="Barry_1_1Sync_1_1vCard_coll__map" id="Barry_1_1Sync_1_1vCard_coll__map"> <area shape="rect" id="node2" href="classBarry_1_1Sync_1_1vBase.html" title="Base class containing vformat helper API." alt="" coords="1499,9,1637,39"/><area shape="rect" id="node4" href="structb__VFormat.html" title="b_VFormat" alt="" coords="1239,9,1324,39"/><area shape="rect" id="node6" href="classBarry_1_1Contact.html" title="Represents a single record in the Address Book Blackberry database." alt="" coords="1515,386,1621,417"/><area shape="rect" id="node10" href="structBarry_1_1ContactGroupLink.html" title="Barry::ContactGroupLink" alt="" coords="784,113,952,143"/><area shape="rect" id="node12" href="structBarry_1_1PostalAddress.html" title="Barry::PostalAddress" alt="" coords="599,477,748,507"/><area shape="rect" id="node14" title="STL class." alt="" coords="227,506,307,537"/><area shape="rect" id="node22" href="structBarry_1_1UnknownData.html" title="Barry::UnknownData" alt="" coords="428,555,572,586"/><area shape="rect" id="node16" title="STL class." alt="" coords="7,506,175,537"/><area shape="rect" id="node20" href="structBarry_1_1UnknownField.html" title="Barry::UnknownField" alt="" coords="795,533,941,563"/><area shape="rect" id="node25" href="structBarry_1_1Date.html" title="Barry::Date" alt="" coords="1236,251,1327,282"/><area shape="rect" id="node31" href="classBarry_1_1CategoryList.html" title="Barry::CategoryList" alt="" coords="1212,358,1351,389"/><area shape="rect" id="node33" title="STL class." alt="" coords="785,166,951,197"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classBarry_1_1Sync_1_1vCard-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classBarry_1_1Sync_1_1vCard.html#ad173fd59f532b73c3544be0c9d43e78f">AddPhoneCond</a> (const std::string &phone)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Add phone conditionally, only if phone has data in it. <a href="#ad173fd59f532b73c3544be0c9d43e78f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classBarry_1_1Sync_1_1vCard.html#a21b880a7190108642826205795327b2e">AddPhoneCond</a> (const char *rfc_type, const std::string &phone)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Add phone conditionally, only if phone has data in it. <a href="#a21b880a7190108642826205795327b2e"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Class for converting between RFC 2425/2426 <a class="el" href="classBarry_1_1Sync_1_1vCard.html" title="Class for converting between RFC 2425/2426 vCard data format, and the Barry::Contact...">vCard</a> data format, and the <a class="el" href="classBarry_1_1Contact.html" title="Represents a single record in the Address Book Blackberry database.">Barry::Contact</a> class. </p> <p>Definition at line <a class="el" href="vcard_8h_source.html#l00038">38</a> of file <a class="el" href="vcard_8h_source.html">vcard.h</a>.</p> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a21b880a7190108642826205795327b2e"></a><!-- doxytag: member="Barry::Sync::vCard::AddPhoneCond" ref="a21b880a7190108642826205795327b2e" args="(const char *rfc_type, const std::string &phone)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Barry::Sync::vCard::AddPhoneCond </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>rfc_type</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>phone</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Add phone conditionally, only if phone has data in it. </p> <p>Definition at line <a class="el" href="vcard_8cc_source.html#l00106">106</a> of file <a class="el" href="vcard_8cc_source.html">vcard.cc</a>.</p> </div> </div> <a class="anchor" id="ad173fd59f532b73c3544be0c9d43e78f"></a><!-- doxytag: member="Barry::Sync::vCard::AddPhoneCond" ref="ad173fd59f532b73c3544be0c9d43e78f" args="(const std::string &phone)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Barry::Sync::vCard::AddPhoneCond </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>phone</em></td> <td> ) </td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Add phone conditionally, only if phone has data in it. </p> <p>This version does not add a TYPE parameter to the item. </p> <p>Definition at line <a class="el" href="vcard_8cc_source.html#l00097">97</a> of file <a class="el" href="vcard_8cc_source.html">vcard.cc</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="vcard_8h_source.html">vcard.h</a></li> <li><a class="el" href="vcard_8cc_source.html">vcard.cc</a></li> </ul> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2-20100208 </small></address> </body> </html>