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

EvaMemoReplyPacket Class Reference

#include <evamemo.h>

Inherits InPacket.

Inheritance diagram for EvaMemoReplyPacket:

Inheritance graph
[legend]
Collaboration diagram for EvaMemoReplyPacket:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 EvaMemoReplyPacket ()
 EvaMemoReplyPacket (unsigned char *buf, int len)
 EvaMemoReplyPacket (const EvaMemoReplyPacket &rhs)
virtual ~EvaMemoReplyPacket ()
EvaMemoReplyPacketoperator= (const EvaMemoReplyPacket &rhs)
unsigned char getType () const
const unsigned char getReplyCode () const
const MemoItemgetMemo () const
const int getQQ () const
const stringListgetDetails () const
void setType (const unsigned char type)
void setReplyCode (const unsigned char replyCode)
void setQQ (const int qq)
void setMemo (const MemoItem &memo)
void setMemo (const stringList &infos)
void setDetails (const stringList &infos)
const bool isChangeAccepted () const

Protected Member Functions

virtual void parseBody ()

Private Attributes

unsigned char m_Type
unsigned char m_ReplyCode
MemoItem m_Memo
int m_Id
stringList m_Infos

Detailed Description

Definition at line 71 of file evamemo.h.


Constructor & Destructor Documentation

EvaMemoReplyPacket::EvaMemoReplyPacket  )  [inline]
 

Definition at line 74 of file evamemo.h.

EvaMemoReplyPacket::EvaMemoReplyPacket unsigned char *  buf,
int  len
 

Definition at line 89 of file evamemo.cpp.

EvaMemoReplyPacket::EvaMemoReplyPacket const EvaMemoReplyPacket rhs  ) 
 

Definition at line 94 of file evamemo.cpp.

References getMemo(), and m_Memo.

Here is the call graph for this function:

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

Definition at line 77 of file evamemo.h.


Member Function Documentation

const stringList& EvaMemoReplyPacket::getDetails  )  const [inline]
 

Definition at line 85 of file evamemo.h.

References m_Infos.

const MemoItem& EvaMemoReplyPacket::getMemo  )  const [inline]
 

Definition at line 83 of file evamemo.h.

References m_Memo.

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

const int EvaMemoReplyPacket::getQQ  )  const [inline]
 

Definition at line 84 of file evamemo.h.

References m_Id.

Referenced by operator=().

const unsigned char EvaMemoReplyPacket::getReplyCode  )  const [inline]
 

Definition at line 82 of file evamemo.h.

References m_ReplyCode.

Referenced by operator=().

unsigned char EvaMemoReplyPacket::getType  )  const [inline]
 

Definition at line 81 of file evamemo.h.

References m_Type.

Referenced by operator=().

const bool EvaMemoReplyPacket::isChangeAccepted  )  const [inline]
 

Definition at line 94 of file evamemo.h.

References m_ReplyCode.

EvaMemoReplyPacket & EvaMemoReplyPacket::operator= const EvaMemoReplyPacket rhs  ) 
 

Definition at line 100 of file evamemo.cpp.

References getMemo(), getQQ(), getReplyCode(), getType(), m_Id, m_Memo, m_ReplyCode, and m_Type.

Here is the call graph for this function:

void EvaMemoReplyPacket::parseBody  )  [protected, virtual]
 

Reimplemented from InPacket.

Definition at line 121 of file evamemo.cpp.

References InPacket::bodyLength, InPacket::decryptedBuf, m_Id, m_Infos, m_ReplyCode, m_Type, QQ_MEMO_DOWNLOAD, QQ_MEMO_FIELDS, QQ_MEMO_REMOVE, QQ_MEMO_UPLOAD, EvaUtil::read32(), setMemo(), and setQQ().

Here is the call graph for this function:

void EvaMemoReplyPacket::setDetails const stringList infos  )  [inline]
 

Definition at line 92 of file evamemo.h.

References m_Infos.

void EvaMemoReplyPacket::setMemo const stringList infos  ) 
 

Definition at line 110 of file evamemo.cpp.

References MemoItem::address, MemoItem::email, m_Memo, MemoItem::mobile, MemoItem::name, MemoItem::note, MemoItem::telephone, and MemoItem::zipcode.

void EvaMemoReplyPacket::setMemo const MemoItem memo  )  [inline]
 

Definition at line 90 of file evamemo.h.

References m_Memo.

Referenced by parseBody().

void EvaMemoReplyPacket::setQQ const int  qq  )  [inline]
 

Reimplemented from Packet.

Definition at line 89 of file evamemo.h.

References m_Id.

Referenced by parseBody().

void EvaMemoReplyPacket::setReplyCode const unsigned char  replyCode  )  [inline]
 

Definition at line 88 of file evamemo.h.

References m_ReplyCode.

void EvaMemoReplyPacket::setType const unsigned char  type  )  [inline]
 

Definition at line 87 of file evamemo.h.

References m_Type.


Member Data Documentation

int EvaMemoReplyPacket::m_Id [private]
 

Definition at line 102 of file evamemo.h.

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

stringList EvaMemoReplyPacket::m_Infos [private]
 

Definition at line 103 of file evamemo.h.

Referenced by getDetails(), parseBody(), and setDetails().

MemoItem EvaMemoReplyPacket::m_Memo [private]
 

Definition at line 101 of file evamemo.h.

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

unsigned char EvaMemoReplyPacket::m_ReplyCode [private]
 

Definition at line 100 of file evamemo.h.

Referenced by getReplyCode(), isChangeAccepted(), operator=(), parseBody(), and setReplyCode().

unsigned char EvaMemoReplyPacket::m_Type [private]
 

Definition at line 99 of file evamemo.h.

Referenced by getType(), operator=(), parseBody(), and setType().


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