|
PTLib Version 2.10.2
|
Class to represent a vCard as per RFC2426. More...
#include <vcard.h>
Class to represent a vCard as per RFC2426.
| typedef std::map<Token, ExtendedType> PvCard::ExtendedTypeMap |
| typedef std::map<Token, ParamValues> PvCard::ParamMap |
| enum PvCard::Format |
Output string formats.
If operator<< or PrintOn() is used the stream width() parameter may be set to this to indicate the output format. e.g. stream << setw(PvCard::e_XML_XMPP) << card;
| PvCard::PvCard | ( | ) |
| bool PvCard::IsValid | ( | ) | const |
| bool PvCard::Parse | ( | const PString & | str | ) |
| virtual void PvCard::PrintOn | ( | ostream & | strm | ) | const [virtual] |
Output the contents of the object to the stream.
The exact output is dependent on the exact semantics of the descendent class. This is primarily used by the standard operator<< function.
The default behaviour is to print the class name.
Reimplemented from PObject.
| virtual void PvCard::ReadFrom | ( | istream & | strm | ) | [virtual] |
Input the contents of the object from the stream.
The exact input is dependent on the exact semantics of the descendent class. This is primarily used by the standard operator>> function.
The default behaviour is to do nothing.
Reimplemented from PObject.
| double PvCard::m_latitude |
| double PvCard::m_longitude |