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

QunCreatePacket Class Reference

#include <evaqun.h>

Inherits QunPacket.

Inheritance diagram for QunCreatePacket:

Inheritance graph
[legend]
Collaboration diagram for QunCreatePacket:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 QunCreatePacket ()
 QunCreatePacket (const std::string &name, const unsigned short category, const unsigned char auth=QQ_QUN_JOIN_NEED_AUTH)
 QunCreatePacket (const QunCreatePacket &rhs)
void setNotice (const std::string &notice)
void setDescription (const std::string &desc)
void setMembers (const std::list< int > &members)
const std::string & getName () const
const unsigned short getCategory () const
const unsigned char getAuth () const
const std::string & getNotice () const
const std::string & getDescription () const
const std::list< int > & getMembers () const
QunCreatePacketoperator= (const QunCreatePacket &rhs)

Protected Member Functions

virtual int putBody (unsigned char *buf)

Private Attributes

unsigned char qunAuth
unsigned short qunCategory
std::string qunName
std::string qunNotice
std::string qunDescription
std::list< int > qunMembers

Detailed Description

Definition at line 554 of file evaqun.h.


Constructor & Destructor Documentation

QunCreatePacket::QunCreatePacket  )  [inline]
 

Definition at line 556 of file evaqun.h.

QunCreatePacket::QunCreatePacket const std::string &  name,
const unsigned short  category,
const unsigned char  auth = QQ_QUN_JOIN_NEED_AUTH
 

Definition at line 1676 of file evaqun.cpp.

QunCreatePacket::QunCreatePacket const QunCreatePacket rhs  ) 
 

Definition at line 1683 of file evaqun.cpp.


Member Function Documentation

const unsigned char QunCreatePacket::getAuth  )  const [inline]
 

Definition at line 567 of file evaqun.h.

References qunAuth.

Referenced by operator=().

const unsigned short QunCreatePacket::getCategory  )  const [inline]
 

Definition at line 566 of file evaqun.h.

References qunCategory.

Referenced by operator=().

const std::string& QunCreatePacket::getDescription  )  const [inline]
 

Definition at line 570 of file evaqun.h.

References qunDescription.

Referenced by operator=().

const std::list<int>& QunCreatePacket::getMembers  )  const [inline]
 

Definition at line 571 of file evaqun.h.

References qunMembers.

Referenced by operator=().

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

Definition at line 565 of file evaqun.h.

References qunName.

Referenced by operator=().

const std::string& QunCreatePacket::getNotice  )  const [inline]
 

Definition at line 569 of file evaqun.h.

References qunNotice.

Referenced by operator=().

QunCreatePacket & QunCreatePacket::operator= const QunCreatePacket rhs  ) 
 

Definition at line 1689 of file evaqun.cpp.

References getAuth(), getCategory(), getDescription(), getMembers(), getName(), getNotice(), qunAuth, qunCategory, qunDescription, qunMembers, qunName, and qunNotice.

Here is the call graph for this function:

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

Reimplemented from OutPacket.

Definition at line 1701 of file evaqun.cpp.

References Packet::getQQ(), QQ_QUN_TYPE_PERMANENT, qunAuth, qunCategory, QunPacket::qunCommand, qunDescription, qunMembers, qunName, and qunNotice.

Here is the call graph for this function:

void QunCreatePacket::setDescription const std::string &  desc  )  [inline]
 

Definition at line 562 of file evaqun.h.

References qunDescription.

void QunCreatePacket::setMembers const std::list< int > &  members  )  [inline]
 

Definition at line 563 of file evaqun.h.

References qunMembers.

void QunCreatePacket::setNotice const std::string &  notice  )  [inline]
 

Definition at line 561 of file evaqun.h.

References qunNotice.


Member Data Documentation

unsigned char QunCreatePacket::qunAuth [private]
 

Definition at line 578 of file evaqun.h.

Referenced by getAuth(), operator=(), and putBody().

unsigned short QunCreatePacket::qunCategory [private]
 

Definition at line 579 of file evaqun.h.

Referenced by getCategory(), operator=(), and putBody().

std::string QunCreatePacket::qunDescription [private]
 

Definition at line 582 of file evaqun.h.

Referenced by getDescription(), operator=(), putBody(), and setDescription().

std::list<int> QunCreatePacket::qunMembers [private]
 

Definition at line 583 of file evaqun.h.

Referenced by getMembers(), operator=(), putBody(), and setMembers().

std::string QunCreatePacket::qunName [private]
 

Definition at line 580 of file evaqun.h.

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

std::string QunCreatePacket::qunNotice [private]
 

Definition at line 581 of file evaqun.h.

Referenced by getNotice(), operator=(), putBody(), and setNotice().


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