Barry::Contact Class Reference
[RecordParserClasses]

Represents a single record in the Address Book Blackberry database. More...

#include <r_contact.h>

Collaboration diagram for Barry::Contact:

Collaboration graph
[legend]

List of all members.

Public Member Functions

std::string GetFullName () const
 Helper function that returns a formatted full name.
const std::string & GetEmail (unsigned int index=0) const
 Helper function that always returns a valid string.
void BuildFields (Data &data, size_t &offset, const IConverter *ic=0) const
 Build fields part of record.

Public Attributes

std::string Phone
 This field, Phone, is deprecated.


Detailed Description

Represents a single record in the Address Book Blackberry database.

Definition at line 64 of file r_contact.h.


Member Function Documentation

void Barry::Contact::BuildFields ( Data &  data,
size_t &  offset,
const IConverter *  ic = 0 
) const

Build fields part of record.

Definition at line 287 of file r_contact.cc.

References GetFullName().

Here is the call graph for this function:

const std::string & Barry::Contact::GetEmail ( unsigned int  index = 0  )  const

Helper function that always returns a valid string.

The string may be empty if there is no address at the specified index.

Definition at line 444 of file r_contact.cc.

std::string Barry::Contact::GetFullName (  )  const

Helper function that returns a formatted full name.

Definition at line 429 of file r_contact.cc.

Referenced by BuildFields().

Here is the caller graph for this function:


Member Data Documentation

std::string Barry::Contact::Phone

This field, Phone, is deprecated.

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.

Definition at line 90 of file r_contact.h.


The documentation for this class was generated from the following files:

Generated on Mon Jan 12 10:52:20 2009 for Barry by  doxygen 1.5.7.1