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

QunModifyCardPacket Class Reference

#include <evaqun.h>

Inherits QunPacket.

Inheritance diagram for QunModifyCardPacket:

Inheritance graph
[legend]
Collaboration diagram for QunModifyCardPacket:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 QunModifyCardPacket ()
 QunModifyCardPacket (const int qunID, const int qqID)
 QunModifyCardPacket (const QunModifyCardPacket &rhs)
virtual ~QunModifyCardPacket ()
const int getQQ () const
const std::string & getName () const
const unsigned char getGender () const
const std::string & getPhone () const
const std::string & getEmail () const
const std::string & getMemo () const
void setQQ (const int qqID)
void setName (const std::string &n)
void setGender (const unsigned char g)
void setPhone (const std::string &ph)
void setEmail (const std::string &e)
void setMemo (const std::string &m)
QunModifyCardPacketoperator= (const QunModifyCardPacket &rhs)

Protected Member Functions

virtual int putBody (unsigned char *buf)

Private Attributes

int qqNum
std::string name
unsigned char gender
std::string phone
std::string email
std::string memo

Detailed Description

Definition at line 448 of file evaqun.h.


Constructor & Destructor Documentation

QunModifyCardPacket::QunModifyCardPacket  )  [inline]
 

Definition at line 450 of file evaqun.h.

QunModifyCardPacket::QunModifyCardPacket const int  qunID,
const int  qqID
 

Definition at line 1315 of file evaqun.cpp.

QunModifyCardPacket::QunModifyCardPacket const QunModifyCardPacket rhs  ) 
 

Definition at line 1320 of file evaqun.cpp.

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

Definition at line 453 of file evaqun.h.


Member Function Documentation

const std::string& QunModifyCardPacket::getEmail  )  const [inline]
 

Definition at line 459 of file evaqun.h.

References email.

Referenced by operator=().

const unsigned char QunModifyCardPacket::getGender  )  const [inline]
 

Definition at line 457 of file evaqun.h.

References gender.

Referenced by operator=().

const std::string& QunModifyCardPacket::getMemo  )  const [inline]
 

Definition at line 460 of file evaqun.h.

References memo.

Referenced by operator=().

const std::string& QunModifyCardPacket::getName  )  const [inline]
 

Definition at line 456 of file evaqun.h.

References name.

Referenced by operator=().

const std::string& QunModifyCardPacket::getPhone  )  const [inline]
 

Definition at line 458 of file evaqun.h.

References phone.

Referenced by operator=().

const int QunModifyCardPacket::getQQ  )  const [inline]
 

Definition at line 455 of file evaqun.h.

References qqNum.

Referenced by operator=().

QunModifyCardPacket & QunModifyCardPacket::operator= const QunModifyCardPacket rhs  ) 
 

Definition at line 1326 of file evaqun.cpp.

References email, gender, getEmail(), getGender(), getMemo(), getName(), getPhone(), getQQ(), memo, name, phone, and qqNum.

Here is the call graph for this function:

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

Reimplemented from OutPacket.

Definition at line 1338 of file evaqun.cpp.

References email, gender, memo, name, phone, qqNum, QunPacket::qunCommand, and QunPacket::qunID.

void QunModifyCardPacket::setEmail const std::string &  e  )  [inline]
 

Definition at line 466 of file evaqun.h.

References email.

void QunModifyCardPacket::setGender const unsigned char  g  )  [inline]
 

Definition at line 464 of file evaqun.h.

References gender.

void QunModifyCardPacket::setMemo const std::string &  m  )  [inline]
 

Definition at line 467 of file evaqun.h.

References memo.

void QunModifyCardPacket::setName const std::string &  n  )  [inline]
 

Definition at line 463 of file evaqun.h.

References name.

void QunModifyCardPacket::setPhone const std::string &  ph  )  [inline]
 

Definition at line 465 of file evaqun.h.

References phone.

void QunModifyCardPacket::setQQ const int  qqID  )  [inline]
 

Reimplemented from Packet.

Definition at line 462 of file evaqun.h.

References qqNum.


Member Data Documentation

std::string QunModifyCardPacket::email [private]
 

Definition at line 478 of file evaqun.h.

Referenced by getEmail(), operator=(), putBody(), and setEmail().

unsigned char QunModifyCardPacket::gender [private]
 

Definition at line 476 of file evaqun.h.

Referenced by getGender(), operator=(), putBody(), and setGender().

std::string QunModifyCardPacket::memo [private]
 

Definition at line 479 of file evaqun.h.

Referenced by getMemo(), operator=(), putBody(), and setMemo().

std::string QunModifyCardPacket::name [private]
 

Definition at line 475 of file evaqun.h.

Referenced by getName(), operator=(), putBody(), and setName().

std::string QunModifyCardPacket::phone [private]
 

Definition at line 477 of file evaqun.h.

Referenced by getPhone(), operator=(), putBody(), and setPhone().

int QunModifyCardPacket::qqNum [private]
 

Reimplemented from Packet.

Definition at line 474 of file evaqun.h.

Referenced by getQQ(), operator=(), putBody(), and setQQ().


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