88 virtual void PrintOn(ostream & strm)
const;
89 virtual void ReadFrom(istream & strm);
98 virtual void PrintOn(ostream & strm)
const;
99 virtual void ReadFrom(istream & strm);
111 virtual void PrintOn(ostream & strm)
const;
112 virtual void ReadFrom(istream & strm);
118 virtual void PrintOn(ostream & strm)
const;
119 virtual void ReadFrom(istream & strm);
129 virtual void PrintOn(ostream & strm)
const;
138 virtual void PrintOn(ostream & strm)
const;
139 virtual void ReadFrom(istream & strm);
146 virtual void PrintOn(ostream & strm)
const;
147 virtual void ReadFrom(istream & strm);
155 virtual void PrintOn(ostream & strm)
const;
156 virtual void ReadFrom(istream & strm);
165 virtual void PrintOn(ostream & strm)
const;
166 virtual void ReadFrom(istream & strm);
167 InlineValue & ReadFromParam(
const ParamMap & params);
169 const ParamMap * m_params;
214 void SetTypes(
const ParamMap & params);
218 Address(
bool label =
false) : m_label(label) { }
219 virtual void PrintOn(ostream & strm)
const;
220 virtual void ReadFrom(istream & strm);
240 virtual void PrintOn(ostream & strm)
const;
252 virtual void PrintOn(ostream & strm)
const;
267 #endif // PTLIB_VCARD_H TextValue m_version
Definition: vcard.h:174
ParamValue(const PString &str)
Definition: vcard.h:110
Token & operator=(const PString &str)
Definition: vcard.h:87
TextValue m_class
Definition: vcard.h:206
EMail()
Definition: vcard.h:247
Class to represent a vCard as per RFC2426.
Definition: vcard.h:44
TextValue m_number
Definition: vcard.h:242
TextValue m_revision
Definition: vcard.h:205
PArray< Telephone > m_telephoneNumbers
Definition: vcard.h:244
InlineValue m_logo
Definition: vcard.h:194
virtual void PrintOn(ostream &strm) const
Output the contents of the object to the stream.
Comma separated list of param-value's.
Definition: vcard.h:115
PArray< Address > m_addresses
Definition: vcard.h:231
TextValue m_guid
Definition: vcard.h:204
InlineValue m_photo
Definition: vcard.h:186
PArray< EMail > m_emailAddresses
Definition: vcard.h:255
EMail(const PString &address, const PString &type=PString::Empty())
Definition: vcard.h:248
Format
Output string formats.
Definition: vcard.h:70
TextValue m_fullName
Definition: vcard.h:173
URIValue m_url
Definition: vcard.h:185
This class defines an absolute time and date.
Definition: ptime.h:53
TextValue m_honorificPrefixes
Definition: vcard.h:179
virtual void ReadFrom(istream &strm)
Input the contents of the object from the stream.
TypeValues m_types
Definition: vcard.h:213
TextValue m_region
Definition: vcard.h:227
MultiValue(const PString &type)
Definition: vcard.h:211
PCaselessString & operator=(const PString &str)
Assign the string to the current object.
ExtendedTypeMap m_extensions
Definition: vcard.h:263
This class is a variation of a string that ignores case.
Definition: pstring.h:1708
TextValue(const PString &str)
Definition: vcard.h:137
Draft RFC.
Definition: vcard.h:74
TextValue m_productId
Definition: vcard.h:203
Address(bool label=false)
Definition: vcard.h:218
TextValue m_locality
Definition: vcard.h:226
InlineValue(const char *str=NULL)
Definition: vcard.h:163
ParamValue(const char *str=NULL)
Definition: vcard.h:109
PArray< Address > m_labels
Definition: vcard.h:232
TextValue m_note
Definition: vcard.h:201
TypeValues()
Definition: vcard.h:127
TypeValues(const ParamValues &values)
Definition: vcard.h:128
TextValue m_organisationName
Definition: vcard.h:196
TextValue m_value
Definition: vcard.h:259
As per RFC2425.
Definition: vcard.h:71
TextValues m_categories
Definition: vcard.h:200
TextValue m_title
Definition: vcard.h:192
Representation of EBNF img-inline-value/snd-inline-value.
Definition: vcard.h:160
PTime m_birthday
Definition: vcard.h:184
TextValue m_mailer
Definition: vcard.h:199
Representation of EBNF param-value.
Definition: vcard.h:106
bool m_label
Definition: vcard.h:222
TextValue m_postOfficeBox
Definition: vcard.h:223
URIValue(const PString &str)
Definition: vcard.h:154
Token(const char *str=NULL)
Definition: vcard.h:84
Representation of EBNF text-value.
Definition: vcard.h:133
TextValue m_timeZone
Definition: vcard.h:188
TextValue m_sortString
Definition: vcard.h:182
The character string class.
Definition: pstring.h:108
double m_longitude
Definition: vcard.h:190
TextValue m_postCode
Definition: vcard.h:228
URIValue(const char *str=NULL)
Definition: vcard.h:153
bool operator!=(char c) const
Definition: vcard.h:101
static PString Empty()
Return an empty string.
Token m_group
Definition: vcard.h:172
double m_latitude
Definition: vcard.h:189
TextValue m_agent
Definition: vcard.h:195
MultiValue()
Definition: vcard.h:210
TextValue m_street
Definition: vcard.h:225
TextValue m_extendedAddress
Definition: vcard.h:224
TextValue m_organisationUnit
Definition: vcard.h:197
TextValues m_additionalNames
Definition: vcard.h:178
TextValue m_givenName
Definition: vcard.h:177
Separator(char c= '\0')
Definition: vcard.h:97
bool Parse(const PString &str)
Telephone()
Definition: vcard.h:235
ParamMap m_parameters
Definition: vcard.h:258
std::map< Token, ParamValues > ParamMap
Definition: vcard.h:122
TextValue(const char *str=NULL)
Definition: vcard.h:136
W3C version.
Definition: vcard.h:73
InlineValue m_sound
Definition: vcard.h:187
std::map< Token, ExtendedType > ExtendedTypeMap
Definition: vcard.h:262
This template class maps the PArrayObjects to a specific object type.
Definition: array.h:1024
PString AsString(Format fmt=e_Standard)
char m_separator
Definition: vcard.h:102
InlineValue(const PString &str)
Definition: vcard.h:164
TextValue m_country
Definition: vcard.h:229
virtual void PrintOn(ostream &strm) const
Output the string to the specified stream.
Comma separated list of text-value's.
Definition: vcard.h:143
TextValues m_nickNames
Definition: vcard.h:181
bool operator==(char c) const
Definition: vcard.h:100
TextValue m_honorificSuffixes
Definition: vcard.h:180
Ultimate parent class for all objects in the class library.
Definition: object.h:1118
Representation of token (EBNF group, name, iana-token or x-name)
Definition: vcard.h:81
This class describes a Universal Resource Locator.
Definition: url.h:54
TextValue m_role
Definition: vcard.h:193
Token(const PString &str)
Definition: vcard.h:85
Jabber XML.
Definition: vcard.h:72
TextValue m_address
Definition: vcard.h:253
TextValue m_familyName
Definition: vcard.h:176
Token & operator=(const char *str)
Definition: vcard.h:86
Telephone(const PString &number, const PString &type=PString::Empty())
Definition: vcard.h:236
TextValue m_publicKey
Definition: vcard.h:207
virtual void ReadFrom(istream &strm)
Input the string from the specified stream.