#include <vcard.h>
Collaboration diagram for VCard:

Public Types | |
| typedef std::list< Email > | EmailList |
| typedef std::list< Telephone > | TelephoneList |
| typedef std::list< Address > | AddressList |
| typedef std::list< Label > | LabelList |
| enum | AddressType { AddrTypeHome = 1, AddrTypeWork = 2, AddrTypePref = 4, AddrTypeX400 = 8, AddrTypeInet = 16, AddrTypeParcel = 32, AddrTypePostal = 64, AddrTypeDom = 128, AddrTypeIntl = 256, AddrTypeVoice = 512, AddrTypeFax = 1024, AddrTypePager = 2048, AddrTypeMsg = 4096, AddrTypeCell = 8192, AddrTypeVideo = 16384, AddrTypeBbs = 32768, AddrTypeModem = 65536, AddrTypeIsdn = 131072, AddrTypePcs = 262144 } |
| enum | VCardClassification { ClassNone = 0, ClassPublic = 1, ClassPrivate = 2, ClassConfidential = 4 } |
Public Member Functions | |
| VCard () | |
| VCard (Tag *vcard) | |
| virtual | ~VCard () |
| Tag * | tag () const |
| void | setFormattedname (const std::string &name) |
| const std::string & | formattedname () const |
| void | setName (const std::string &family, const std::string &given, const std::string &middle="", const std::string &prefix="", const std::string &suffix="") |
| const Name & | name () const |
| void | setNickname (const std::string &nickname) |
| const std::string & | nickname () const |
| void | setUrl (const std::string &url) |
| const std::string & | url () const |
| void | setBday (const std::string &bday) |
| const std::string & | bday () const |
| void | setJabberid (const std::string &jabberid) |
| const std::string & | jabberid () const |
| void | setTitle (const std::string &title) |
| const std::string & | title () const |
| void | setRole (const std::string &role) |
| const std::string & | role () const |
| void | setNote (const std::string ¬e) |
| const std::string & | note () const |
| void | setDesc (const std::string &desc) |
| const std::string & | desc () const |
| void | setMailer (const std::string &mailer) |
| const std::string & | mailer () const |
| void | setRev (const std::string &rev) |
| const std::string & | rev () const |
| void | setUid (const std::string &uid) |
| const std::string & | uid () const |
| void | setTz (const std::string &tz) |
| const std::string & | tz () const |
| void | setProdid (const std::string &prodid) |
| const std::string & | prodid () const |
| void | setSortstring (const std::string &sortstring) |
| const std::string & | sortstring () const |
| void | setPhoto (const std::string &extval) |
| void | setPhoto (const std::string &type, const std::string &binval) |
| const Photo & | photo () const |
| void | setLogo (const std::string &extval) |
| void | setLogo (const std::string &type, const std::string &binval) |
| const Photo & | logo () const |
| void | addEmail (const std::string &userid, int type) |
| EmailList & | emailAddresses () |
| void | addAddress (const std::string &pobox, const std::string &extadd, const std::string &street, const std::string &locality, const std::string ®ion, const std::string &pcode, const std::string &ctry, int type) |
| void | addLabel (const StringList &lines, int type) |
| AddressList & | addresses () |
| LabelList & | labels () |
| void | addTelephone (const std::string &number, int type) |
| TelephoneList & | telephone () |
| void | setGeo (const std::string &lat, const std::string &lon) |
| const Geo & | geo () const |
| void | setOrganization (const std::string &orgname, const StringList &orgunits) |
| const Org & | org () const |
| void | setClass (VCardClassification vclass) |
| VCardClassification | classification () const |
Classes | |
| struct | Address |
| struct | |
| struct | Geo |
| struct | Label |
| struct | Name |
| struct | Org |
| struct | Photo |
| struct | Telephone |
See VCardManager for info on how to fetch VCards.
Definition at line 33 of file vcard.h.
|
|
A list of address entries. |
|
|
A list of email fields. |
|
|
A list of address labels. |
|
|
A list of telephone entries. |
|
|
|
Classifies the VCard. |
|
|
Constructor. |
|
|
Constructs a new VCard from a given Tag containing appropriate fields.
|
|
|
Virtual destructor. |
|
||||||||||||||||||||||||||||||||||||
|
Adds an address.
|
|
||||||||||||
|
Adds an email address.
|
|
||||||||||||
|
Adds an address label.
|
|
|
Returns a list of addresses.
|
|
||||||||||||
|
Adds a telephone number.
|
|
|
Returns the birthday.
|
|
|
Returns information about classification.
|
|
|
Returns the "free-form descriptive text".
|
|
|
Returns a list of email addresses.
|
|
|
Returns the formatted name.
|
|
|
Returns geo location information.
|
|
|
Returns the Jabber ID.
|
|
|
Returns a list of address labels.
|
|
|
Returns logo information.
|
|
|
Returns the mailer.
|
|
|
Returns a full name.
|
|
|
Returns the nickname.
|
|
|
Returns the note.
|
|
|
Returns organization information.
|
|
|
Returns photo information.
|
|
|
Returns the product identifier.
|
|
|
Returns the date of the last revision.
|
|
|
Returns the role.
|
|
|
Sets the birthday.
|
|
|
Sets the "Privacy classification property."
|
|
|
Sets a "free-form descriptive text".
|
|
|
Sets the formatted name.
|
|
||||||||||||
|
Sets "Geographical position. Values are the decimal degrees of Latitude and Longitude. The value should be specified to six decimal places."
|
|
|
Sets a Jabber ID.
|
|
||||||||||||
|
Sets the organization logo directly.
|
|
|
Sets a URI to a organization logo.
|
|
|
Sets the "Mailer (e.g., Mail User Agent Type) property".
|
|
||||||||||||||||||||||||
|
Sets the individual name parts. Unused parts can be left empty.
|
|
|
Sets a nickname.
|
|
|
Sets a "Commentary note".
|
|
||||||||||||
|
Sets "Organizational name and units property."
|
|
||||||||||||
|
Sets the photo directly.
|
|
|
Sets a URI to a photo.
|
|
|
Sets the "Identifier of product that generated the vCard property."
|
|
|
Sets the "Last revised property. The value must be an ISO 8601 formatted UTC date/time."
|
|
|
Sets the person's role.
|
|
|
Sets the "Sort string property."
|
|
|
Sets the person's title.
|
|
|
Sets the "Time zone's Standard Time UTC offset. Value must be an ISO 8601 formatted UTC offset.
|
|
|
Sets the "Unique identifier property."
|
|
|
Sets a URL (homepage, etc.).
|
|
|
Returns the sort string.
|
|
|
Returns a Tag representation of the VCard. The caller becomes the owner of the Tag. |
|
|
Returns a list of telephone numbers.
|
|
|
Returns the title.
|
|
|
Returns the timezone offset.
|
|
|
Returns the unique identifier.
|
|
|
Returns the url.
|
1.4.1