#include <vcard.h>
Inheritance diagram for PvCard::Telephone:
Public Member Functions | |
Telephone () | |
Telephone (const PString &number, const PString &type=PString::Empty()) | |
virtual void | PrintOn (ostream &strm) const |
Output the contents of the object to the stream. | |
Public Attributes | |
TextValue | m_number |
PvCard::Telephone::Telephone | ( | ) | [inline] |
PvCard::Telephone::Telephone | ( | const PString & | number, | |
const PString & | type = PString::Empty() | |||
) | [inline] |
virtual void PvCard::Telephone::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.