PersonalInfo Class

The PersonalInfo class is derived from VObject.
It contains personal information about the contact.
Defined in: personalinfo.hpp and
personalinfo.cpp
Class Members
Data Members
public
RelationshipInfo newRelationship
New relationship information.
unsigned short gender
Contact's gender.
bool
enableBirthday
Enables birthday date.
bool
enableAnniversary
Enables anniversary date.
time_t birthday
Contact's birth date.
time_t anniversary
Contact's anniversary date.
RelationshipList relationshipList.
A list of the contact's
relationships(e.g spouse and childern).
RelationshipList::iterator
Current relationship iterator.
Member Functions
public
PersonalInfo
(void)
Constructs a PersonalInfo object.
PersonalInfo
(const PersonalInfo & that)
Constructs a PersonalInfo
object that is a copy of the specified PersonalInfo object.
virtual ~PersonalInfo
(void)
Destructs a PersonalInfo
object.
PersonalInfo & operator=
(const PersonalInfo & that)
Assignment operator.
void add
(void)
Adds the new relationship
information to relationshipList.
void remove
(void)
Removes the relationship
currently referred to by relationshipIterator from relationshipList .
void clear (void)
Clears all the data fields in
the object.
virtual void
populateEditView
(void)
Overrides VObject's populateEditView function and initializes the object's data members with values that will be displayed during the view
editing process.
friend ostream &
operator<<
(ostream & os, PersonalInfo & obj)
Stream object out.
friend istream &
operator>>
(istream & is, PersonalInfo & obj)
Stream object in.
|