Classes | Public Types | Public Member Functions

Swift::VCard Class Reference

Inheritance diagram for Swift::VCard:
Collaboration diagram for Swift::VCard:

List of all members.

Classes

struct  EMailAddress

Public Types

typedef boost::shared_ptr< VCardref

Public Member Functions

 VCard ()
void setVersion (const std::string &version)
const std::string & getVersion () const
void setFullName (const std::string &fullName)
const std::string & getFullName () const
void setFamilyName (const std::string &familyName)
const std::string & getFamilyName () const
void setGivenName (const std::string &givenName)
const std::string & getGivenName () const
void setMiddleName (const std::string &middleName)
const std::string & getMiddleName () const
void setPrefix (const std::string &prefix)
const std::string & getPrefix () const
void setSuffix (const std::string &suffix)
const std::string & getSuffix () const
void setNickname (const std::string &nick)
const std::string & getNickname () const
void setPhoto (const ByteArray &photo)
const ByteArray & getPhoto () const
void setPhotoType (const std::string &photoType)
const std::string & getPhotoType () const
const std::string & getUnknownContent () const
void addUnknownContent (const std::string &c)
const std::vector< EMailAddress > & getEMailAddresses () const
void addEMailAddress (const EMailAddress &email)
EMailAddress getPreferredEMailAddress () const

Detailed Description

Definition at line 16 of file VCard.h.


Member Typedef Documentation

typedef boost::shared_ptr<VCard> Swift::VCard::ref

Reimplemented from Swift::Payload.

Definition at line 18 of file VCard.h.


Constructor & Destructor Documentation

Swift::VCard::VCard (  )  [inline]

Definition at line 32 of file VCard.h.


Member Function Documentation

void Swift::VCard::addEMailAddress ( const EMailAddress email  )  [inline]

Definition at line 77 of file VCard.h.

void Swift::VCard::addUnknownContent ( const std::string &  c  )  [inline]

Definition at line 69 of file VCard.h.

const std::vector<EMailAddress>& Swift::VCard::getEMailAddresses (  )  const [inline]

Definition at line 73 of file VCard.h.

const std::string& Swift::VCard::getFamilyName (  )  const [inline]

Definition at line 41 of file VCard.h.

const std::string& Swift::VCard::getFullName (  )  const [inline]

Definition at line 38 of file VCard.h.

const std::string& Swift::VCard::getGivenName (  )  const [inline]

Definition at line 44 of file VCard.h.

const std::string& Swift::VCard::getMiddleName (  )  const [inline]

Definition at line 47 of file VCard.h.

const std::string& Swift::VCard::getNickname (  )  const [inline]

Definition at line 60 of file VCard.h.

const ByteArray& Swift::VCard::getPhoto (  )  const [inline]

Definition at line 63 of file VCard.h.

const std::string& Swift::VCard::getPhotoType (  )  const [inline]

Definition at line 66 of file VCard.h.

EMailAddress Swift::VCard::getPreferredEMailAddress (  )  const
const std::string& Swift::VCard::getPrefix (  )  const [inline]

Definition at line 50 of file VCard.h.

const std::string& Swift::VCard::getSuffix (  )  const [inline]

Definition at line 53 of file VCard.h.

const std::string& Swift::VCard::getUnknownContent (  )  const [inline]

Definition at line 68 of file VCard.h.

const std::string& Swift::VCard::getVersion (  )  const [inline]

Definition at line 35 of file VCard.h.

void Swift::VCard::setFamilyName ( const std::string &  familyName  )  [inline]

Definition at line 40 of file VCard.h.

void Swift::VCard::setFullName ( const std::string &  fullName  )  [inline]

Definition at line 37 of file VCard.h.

void Swift::VCard::setGivenName ( const std::string &  givenName  )  [inline]

Definition at line 43 of file VCard.h.

void Swift::VCard::setMiddleName ( const std::string &  middleName  )  [inline]

Definition at line 46 of file VCard.h.

void Swift::VCard::setNickname ( const std::string &  nick  )  [inline]

Definition at line 59 of file VCard.h.

void Swift::VCard::setPhoto ( const ByteArray &  photo  )  [inline]

Definition at line 62 of file VCard.h.

void Swift::VCard::setPhotoType ( const std::string &  photoType  )  [inline]

Definition at line 65 of file VCard.h.

void Swift::VCard::setPrefix ( const std::string &  prefix  )  [inline]

Definition at line 49 of file VCard.h.

void Swift::VCard::setSuffix ( const std::string &  suffix  )  [inline]

Definition at line 52 of file VCard.h.

void Swift::VCard::setVersion ( const std::string &  version  )  [inline]

Definition at line 34 of file VCard.h.