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

EvaMemoPacket Class Reference

#include <evamemo.h>

Inherits OutPacket.

Inheritance diagram for EvaMemoPacket:

Inheritance graph
[legend]
Collaboration diagram for EvaMemoPacket:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 EvaMemoPacket ()
 EvaMemoPacket (const int id, const unsigned char type)
 EvaMemoPacket (const EvaMemoPacket &rhs)
virtual ~EvaMemoPacket ()
EvaMemoPacketoperator= (const EvaMemoPacket &rhs)
void setType (const unsigned char type)
void setMemo (const MemoItem &memo)
void setQQ (const int qq)
const unsigned char getType () const
const MemoItem getMemo () const
const int getQQ () const
void setDetails (const MemoItem &memo)
void setDetails (const stringList infos)
const stringListgetDetails () const

Protected Member Functions

virtual int putBody (unsigned char *buf)

Private Attributes

int m_Id
unsigned char m_Type
MemoItem m_Memo
stringList m_Infos

Detailed Description

Definition at line 40 of file evamemo.h.


Constructor & Destructor Documentation

EvaMemoPacket::EvaMemoPacket  )  [inline]
 

Definition at line 43 of file evamemo.h.

EvaMemoPacket::EvaMemoPacket const int  id,
const unsigned char  type
 

Definition at line 23 of file evamemo.cpp.

EvaMemoPacket::EvaMemoPacket const EvaMemoPacket rhs  ) 
 

Definition at line 28 of file evamemo.cpp.

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

Definition at line 46 of file evamemo.h.


Member Function Documentation

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

Definition at line 60 of file evamemo.h.

References m_Infos.

const MemoItem EvaMemoPacket::getMemo  )  const [inline]
 

Definition at line 55 of file evamemo.h.

References m_Memo.

Referenced by operator=().

const int EvaMemoPacket::getQQ  )  const [inline]
 

Definition at line 56 of file evamemo.h.

References m_Id.

Referenced by operator=().

const unsigned char EvaMemoPacket::getType  )  const [inline]
 

Definition at line 54 of file evamemo.h.

References m_Type.

Referenced by operator=().

EvaMemoPacket & EvaMemoPacket::operator= const EvaMemoPacket rhs  ) 
 

Definition at line 34 of file evamemo.cpp.

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

Here is the call graph for this function:

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

Reimplemented from OutPacket.

Definition at line 54 of file evamemo.cpp.

References m_Id, m_Infos, m_Memo, m_Type, QQ_MEMO_DOWNLOAD, QQ_MEMO_FIELDS, QQ_MEMO_REMOVE, QQ_MEMO_UPLOAD, setDetails(), and EvaUtil::write32().

Here is the call graph for this function:

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

Definition at line 59 of file evamemo.h.

References m_Infos.

void EvaMemoPacket::setDetails const MemoItem memo  ) 
 

Definition at line 43 of file evamemo.cpp.

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

Referenced by putBody().

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

Definition at line 51 of file evamemo.h.

References m_Memo.

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

Reimplemented from Packet.

Definition at line 52 of file evamemo.h.

References m_Id.

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

Definition at line 50 of file evamemo.h.

References m_Type.


Member Data Documentation

int EvaMemoPacket::m_Id [private]
 

Definition at line 65 of file evamemo.h.

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

stringList EvaMemoPacket::m_Infos [private]
 

Definition at line 68 of file evamemo.h.

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

MemoItem EvaMemoPacket::m_Memo [private]
 

Definition at line 67 of file evamemo.h.

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

unsigned char EvaMemoPacket::m_Type [private]
 

Definition at line 66 of file evamemo.h.

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


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