ContactListAnswer Class Reference

Answer send by the server following a contact list request. More...

#include <contactlistanswer.h>

Inheritance diagram for ContactListAnswer:

Answer BaseMessage List of all members.

Public Member Functions

 ContactListAnswer ()
 Default constructor.
 ContactListAnswer (const std::string &description, const ContactList &list)
 Constructor.
 ~ContactListAnswer ()
 Destructor.
void addContact (const Contact &contact)
 Add a contact to the list.
ContactList getContactList () const
 Returns the contact list.
std::string toString () const
 Returns a BaseMessage string represention.
void processMessage () const
 Process message instructions.
ContactListAnswercopy () const
 Returns a copy of this message.

Detailed Description

Answer send by the server following a contact list request.

Author:
Sylvain Archenault <sylvain.archenault@laposte.net>

Yves Houpert <yves.houpert@insa-rouen.fr>


Constructor & Destructor Documentation

ContactListAnswer::ContactListAnswer const std::string &  description,
const ContactList list
 

Constructor.

Parameters:
description Short answer description.
list ContactList object. It contains the list of the user's contacts


Member Function Documentation

void ContactListAnswer::addContact const Contact contact  ) 
 

Add a contact to the list.

Parameters:
contact Contact to add to the list.

ContactListAnswer & ContactListAnswer::copy  )  const [virtual]
 

Returns a copy of this message.

Returns:
Copy of the message.

Implements BaseMessage.

ContactList ContactListAnswer::getContactList  )  const [inline]
 

Returns the contact list.

Returns:
The contact list.

std::string ContactListAnswer::toString  )  const [virtual]
 

Returns a BaseMessage string represention.

Returns:
BaseMessage String representation.

Reimplemented from Answer.


The documentation for this class was generated from the following files:
Generated on Fri May 19 12:15:55 2006 for Bamboo Ch@t by  doxygen 1.4.6