AddContactAnswer Class Reference

Answer received from the server after a request to add a contact. More...

#include <addcontactanswer.h>

Inheritance diagram for AddContactAnswer:

Answer BaseMessage List of all members.

Public Member Functions

 AddContactAnswer (const bool bValue, const std::string &description, const Contact &contact)
 Full constructor.
 AddContactAnswer (const bool bValue=false)
 Empty constructor.  .
 ~AddContactAnswer ()
 Destructor.
void setContact (const Contact &contact)
 Set the contact added.
Contact getContact () const
 Returns the contact added.
std::string toString () const
 Returns answer string representation.
void processMessage () const
 This method contains the code to process the answer.
AddContactAnswercopy () const
 Returns a copy of this message.

Detailed Description

Answer received from the server after a request to add a contact.

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

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


Constructor & Destructor Documentation

AddContactAnswer::AddContactAnswer const bool  bValue,
const std::string &  description,
const Contact contact
 

Full constructor.

Parameters:
bValue Answer value.
description Short desciption describing the answer.
contact Contact added.

AddContactAnswer::AddContactAnswer const bool  bValue = false  ) 
 

Empty constructor.  .

Parameters:
bValue Answer value.


Member Function Documentation

AddContactAnswer & AddContactAnswer::copy  )  const [virtual]
 

Returns a copy of this message.

Returns:
Copy of the message.

Implements BaseMessage.

Contact AddContactAnswer::getContact  )  const [inline]
 

Returns the contact added.

Returns:
Contact added.

void AddContactAnswer::setContact const Contact contact  )  [inline]
 

Set the contact added.

Parameters:
contact Contact to be added.

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

Returns answer string representation.

Returns:
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