Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

ModifyInfoPacket Class Reference

#include <evauserinfo.h>

Inherits OutPacket.

Inheritance diagram for ModifyInfoPacket:

Inheritance graph
[legend]
Collaboration diagram for ModifyInfoPacket:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ModifyInfoPacket ()
 ModifyInfoPacket (const ContactInfo &info)
 ModifyInfoPacket (const ModifyInfoPacket &rhs)
virtual ~ModifyInfoPacket ()
OutPacketcopy ()
ModifyInfoPacketoperator= (const ModifyInfoPacket &rhs)
void setPassword (const std::string &password)
void setNewPassword (const std::string &password)
void setContactInfo (const ContactInfo &info)
const std::string getPassword () const
const std::string getNewPassword () const
const ContactInfo getContactInfo () const

Protected Member Functions

virtual int putBody (unsigned char *buf)

Private Attributes

ContactInfo newInfo
std::string currentPwd
std::string newPwd

Static Private Attributes

static const unsigned char DELIMIT = 0x1f

Detailed Description

Definition at line 96 of file evauserinfo.h.


Constructor & Destructor Documentation

ModifyInfoPacket::ModifyInfoPacket  ) 
 

Definition at line 142 of file evauserinfo.cpp.

Referenced by copy().

ModifyInfoPacket::ModifyInfoPacket const ContactInfo info  ) 
 

Definition at line 147 of file evauserinfo.cpp.

ModifyInfoPacket::ModifyInfoPacket const ModifyInfoPacket rhs  ) 
 

Definition at line 153 of file evauserinfo.cpp.

References currentPwd, getContactInfo(), getNewPassword(), getPassword(), newInfo, and newPwd.

Here is the call graph for this function:

virtual ModifyInfoPacket::~ModifyInfoPacket  )  [inline, virtual]
 

Definition at line 101 of file evauserinfo.h.


Member Function Documentation

OutPacket* ModifyInfoPacket::copy  )  [inline]
 

Definition at line 103 of file evauserinfo.h.

References ModifyInfoPacket().

Here is the call graph for this function:

const ContactInfo ModifyInfoPacket::getContactInfo  )  const [inline]
 

Definition at line 112 of file evauserinfo.h.

References newInfo.

Referenced by ModifyInfoPacket(), and operator=().

const std::string ModifyInfoPacket::getNewPassword  )  const [inline]
 

Definition at line 111 of file evauserinfo.h.

References newPwd.

Referenced by ModifyInfoPacket(), and operator=().

const std::string ModifyInfoPacket::getPassword  )  const [inline]
 

Definition at line 110 of file evauserinfo.h.

References currentPwd.

Referenced by ModifyInfoPacket(), and operator=().

ModifyInfoPacket & ModifyInfoPacket::operator= const ModifyInfoPacket rhs  ) 
 

Definition at line 161 of file evauserinfo.cpp.

References currentPwd, getContactInfo(), getNewPassword(), getPassword(), newInfo, and newPwd.

Here is the call graph for this function:

int ModifyInfoPacket::putBody unsigned char *  buf  )  [protected, virtual]
 

Reimplemented from OutPacket.

Definition at line 170 of file evauserinfo.cpp.

References ContactInfo::at(), currentPwd, DELIMIT, newInfo, newPwd, and QQ_CONTACT_FIELDS.

Here is the call graph for this function:

void ModifyInfoPacket::setContactInfo const ContactInfo info  )  [inline]
 

Definition at line 108 of file evauserinfo.h.

References newInfo.

void ModifyInfoPacket::setNewPassword const std::string &  password  )  [inline]
 

Definition at line 107 of file evauserinfo.h.

References newPwd.

void ModifyInfoPacket::setPassword const std::string &  password  )  [inline]
 

Definition at line 106 of file evauserinfo.h.

References currentPwd.


Member Data Documentation

std::string ModifyInfoPacket::currentPwd [private]
 

Definition at line 117 of file evauserinfo.h.

Referenced by getPassword(), ModifyInfoPacket(), operator=(), putBody(), and setPassword().

const unsigned char ModifyInfoPacket::DELIMIT = 0x1f [static, private]
 

Definition at line 119 of file evauserinfo.h.

Referenced by putBody().

ContactInfo ModifyInfoPacket::newInfo [private]
 

Definition at line 116 of file evauserinfo.h.

Referenced by getContactInfo(), ModifyInfoPacket(), operator=(), putBody(), and setContactInfo().

std::string ModifyInfoPacket::newPwd [private]
 

Definition at line 118 of file evauserinfo.h.

Referenced by getNewPassword(), ModifyInfoPacket(), operator=(), putBody(), and setNewPassword().


The documentation for this class was generated from the following files:
Generated on Mon May 15 20:51:32 2006 for libeva by  doxygen 1.4.4