1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html><head><meta http-equiv=
"Content-Type" content=
"text/html;charset=UTF-8">
3 <title>Barry: Barry::Sync::vCard Class Reference
</title>
4 <link href=
"doxygen.css" rel=
"stylesheet" type=
"text/css">
5 <link href=
"tabs.css" rel=
"stylesheet" type=
"text/css">
7 <!-- Generated by Doxygen 1.5.6 -->
8 <div class=
"navigation" id=
"top">
11 <li><a href=
"index.html"><span>Main
Page
</span></a></li>
12 <li><a href=
"modules.html"><span>Modules
</span></a></li>
13 <li><a href=
"namespaces.html"><span>Namespaces
</span></a></li>
14 <li class=
"current"><a href=
"classes.html"><span>Classes
</span></a></li>
15 <li><a href=
"files.html"><span>Files
</span></a></li>
16 <li><a href=
"dirs.html"><span>Directories
</span></a></li>
21 <li><a href=
"classes.html"><span>Alphabetical
List
</span></a></li>
22 <li><a href=
"annotated.html"><span>Class
List
</span></a></li>
23 <li><a href=
"hierarchy.html"><span>Class
Hierarchy
</span></a></li>
24 <li><a href=
"functions.html"><span>Class
Members
</span></a></li>
27 <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>
30 <div class=
"contents">
31 <h1>Barry::Sync::vCard Class Reference
</h1><!-- doxytag: class="Barry::Sync::vCard" --><!-- doxytag: inherits="Barry::Sync::vBase" --><code>#include
<<a class=
"el" href=
"vcard_8h-source.html">vcard.h
</a>></code>
33 <div class=
"dynheader">
34 Inheritance diagram for Barry::Sync::vCard:
</div>
35 <div class=
"dynsection">
36 <p><center><img src=
"classBarry_1_1Sync_1_1vCard__inherit__graph.png" border=
"0" usemap=
"#Barry_1_1Sync_1_1vCard__inherit__map" alt=
"Inheritance graph"></center>
37 <map name=
"Barry_1_1Sync_1_1vCard__inherit__map">
38 <area shape=
"rect" href=
"classBarry_1_1Sync_1_1vBase.html" title=
"Base class containing vformat helper API." alt=
"" coords=
"5,5,141,32"></map>
39 <center><font size=
"2">[
<a href=
"graph_legend.html">legend
</a>]
</font></center></div>
40 <div class=
"dynheader">
41 Collaboration diagram for Barry::Sync::vCard:
</div>
42 <div class=
"dynsection">
43 <p><center><img src=
"classBarry_1_1Sync_1_1vCard__coll__graph.png" border=
"0" usemap=
"#Barry_1_1Sync_1_1vCard__coll__map" alt=
"Collaboration graph"></center>
44 <map name=
"Barry_1_1Sync_1_1vCard__coll__map">
45 <area shape=
"rect" href=
"classBarry_1_1Sync_1_1vBase.html" title=
"Base class containing vformat helper API." alt=
"" coords=
"5,539,141,565"><area shape=
"rect" href=
"classBarry_1_1Contact.html" title=
"Represents a single record in the Address Book Blackberry database." alt=
"" coords=
"579,539,683,565"><area shape=
"rect" title=
"STL class." alt=
"" coords=
"237,96,317,123"><area shape=
"rect" title=
"STL class." alt=
"" coords=
"195,5,360,32"><area shape=
"rect" title=
"STL class." alt=
"" coords=
"744,189,859,216"><area shape=
"rect" title=
"STL class." alt=
"" coords=
"851,96,1016,123"></map>
46 <center><font size=
"2">[
<a href=
"graph_legend.html">legend
</a>]
</font></center></div>
49 <a href=
"classBarry_1_1Sync_1_1vCard-members.html">List of all members.
</a><hr><a name=
"_details"></a><h2>Detailed Description
</h2>
50 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.
51 <p>Definition at line
<a class=
"el" href=
"vcard_8h-source.html#l00039">39</a> of file
<a class=
"el" href=
"vcard_8h-source.html">vcard.h
</a>.
</p>
52 <table border=
"0" cellpadding=
"0" cellspacing=
"0">
54 <tr><td colspan=
"2"><br><h2>Protected Member Functions
</h2></td></tr>
55 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">void
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classBarry_1_1Sync_1_1vCard.html#d173fd59f532b73c3544be0c9d43e78f">AddPhoneCond
</a> (const std::string
&phone)
</td></tr>
57 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Add phone conditionally, only if phone has data in it.
<a href=
"#d173fd59f532b73c3544be0c9d43e78f"></a><br></td></tr>
58 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">void
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classBarry_1_1Sync_1_1vCard.html#21b880a7190108642826205795327b2e">AddPhoneCond
</a> (const char *rfc_type, const std::string
&phone)
</td></tr>
60 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Add phone conditionally, only if phone has data in it.
<a href=
"#21b880a7190108642826205795327b2e"></a><br></td></tr>
62 <hr><h2>Member Function Documentation
</h2>
63 <a class=
"anchor" name=
"d173fd59f532b73c3544be0c9d43e78f"></a><!-- doxytag: member="Barry::Sync::vCard::AddPhoneCond" ref="d173fd59f532b73c3544be0c9d43e78f" args="(const std::string &phone)" -->
65 <div class=
"memproto">
66 <table class=
"memname">
68 <td class=
"memname">void Barry::Sync::vCard::AddPhoneCond
</td>
70 <td class=
"paramtype">const std::string
& </td>
71 <td class=
"paramname"> <em>phone
</em> </td>
72 <td> )
</td>
73 <td><code> [protected]
</code></td>
80 Add phone conditionally, only if phone has data in it.
82 This version does not add a TYPE parameter to the item.
83 <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>
87 <a class=
"anchor" name=
"21b880a7190108642826205795327b2e"></a><!-- doxytag: member="Barry::Sync::vCard::AddPhoneCond" ref="21b880a7190108642826205795327b2e" args="(const char *rfc_type, const std::string &phone)" -->
89 <div class=
"memproto">
90 <table class=
"memname">
92 <td class=
"memname">void Barry::Sync::vCard::AddPhoneCond
</td>
94 <td class=
"paramtype">const char *
</td>
95 <td class=
"paramname"> <em>rfc_type
</em>,
</td>
98 <td class=
"paramkey"></td>
100 <td class=
"paramtype">const std::string
& </td>
101 <td class=
"paramname"> <em>phone
</em></td><td> </td>
106 <td></td><td></td><td><code> [protected]
</code></td>
113 Add phone conditionally, only if phone has data in it.
116 <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>
120 <hr>The documentation for this class was generated from the following files:
<ul>
121 <li><a class=
"el" href=
"vcard_8h-source.html">vcard.h
</a><li><a class=
"el" href=
"vcard_8cc-source.html">vcard.cc
</a></ul>
123 <hr size=
"1"><address style=
"text-align: right;"><small>Generated on Thu Feb
10 16:
14:
48 2011 for Barry by
124 <a href=
"http://www.doxygen.org/index.html">
125 <img src=
"doxygen.png" alt=
"doxygen" align=
"middle" border=
"0"></a> 1.5.6 </small></address>