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

QunSendIMPacket Class Reference

#include <evaqun.h>

Inherits QunPacket.

Inherited by QunSendIMExPacket.

Inheritance diagram for QunSendIMPacket:

Inheritance graph
[legend]
Collaboration diagram for QunSendIMPacket:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 QunSendIMPacket ()
 QunSendIMPacket (const int id)
 QunSendIMPacket (const QunSendIMPacket &rhs)
virtual ~QunSendIMPacket ()
OutPacketcopy ()
QunSendIMPacketoperator= (const QunSendIMPacket &rhs)
const std::string & getFontName () const
void setFontName (std::string &fontName)
const char getFontSize () const
void setFontSize (char fontSize)
const short getEncoding () const
void setEncoding (short encoding)
const bool isUnderline () const
void setUnderline (bool underline)
const bool isItalic () const
void setItalic (bool italic)
const bool isBold () const
void setBold (bool bold)
const char getBlue () const
void setBlue (char blue)
const char getGreen () const
void setGreen (char green)
const char getRed () const
void setRed (char red)
const std::string & getMessage () const
void setMessage (std::string message)

Protected Member Functions

virtual int putBody (unsigned char *buf)

Protected Attributes

short encoding
std::string fontName
char red
char green
char blue
bool bold
bool italic
bool underline
unsigned char fontSize
unsigned char fontFlag
std::string message

Detailed Description

Definition at line 311 of file evaqun.h.


Constructor & Destructor Documentation

QunSendIMPacket::QunSendIMPacket  )  [inline]
 

Definition at line 313 of file evaqun.h.

Referenced by copy().

QunSendIMPacket::QunSendIMPacket const int  id  ) 
 

Definition at line 1023 of file evaqun.cpp.

References fontName.

QunSendIMPacket::QunSendIMPacket const QunSendIMPacket rhs  ) 
 

Definition at line 1042 of file evaqun.cpp.

References blue, bold, encoding, fontFlag, fontName, fontSize, getBlue(), getEncoding(), getFontName(), getFontSize(), getGreen(), getMessage(), getRed(), green, isBold(), isItalic(), isUnderline(), italic, message, red, and underline.

Here is the call graph for this function:

QunSendIMPacket::~QunSendIMPacket  )  [virtual]
 

Definition at line 1068 of file evaqun.cpp.


Member Function Documentation

OutPacket* QunSendIMPacket::copy  )  [inline]
 

Reimplemented from QunPacket.

Reimplemented in QunSendIMExPacket.

Definition at line 317 of file evaqun.h.

References QunSendIMPacket().

Here is the call graph for this function:

const char QunSendIMPacket::getBlue  )  const [inline]
 

Definition at line 334 of file evaqun.h.

References blue.

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

const short QunSendIMPacket::getEncoding  )  const [inline]
 

Definition at line 324 of file evaqun.h.

References encoding.

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

const std::string& QunSendIMPacket::getFontName  )  const [inline]
 

Definition at line 320 of file evaqun.h.

References fontName.

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

const char QunSendIMPacket::getFontSize  )  const [inline]
 

Definition at line 322 of file evaqun.h.

References fontSize.

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

const char QunSendIMPacket::getGreen  )  const [inline]
 

Definition at line 336 of file evaqun.h.

References green.

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

const std::string& QunSendIMPacket::getMessage  )  const [inline]
 

Definition at line 345 of file evaqun.h.

References message.

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

const char QunSendIMPacket::getRed  )  const [inline]
 

Definition at line 338 of file evaqun.h.

References red.

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

const bool QunSendIMPacket::isBold  )  const [inline]
 

Definition at line 331 of file evaqun.h.

References bold.

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

const bool QunSendIMPacket::isItalic  )  const [inline]
 

Definition at line 329 of file evaqun.h.

References italic.

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

const bool QunSendIMPacket::isUnderline  )  const [inline]
 

Definition at line 327 of file evaqun.h.

References underline.

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

QunSendIMPacket & QunSendIMPacket::operator= const QunSendIMPacket rhs  ) 
 

Definition at line 1072 of file evaqun.cpp.

References blue, bold, encoding, fontFlag, fontName, fontSize, getBlue(), getEncoding(), getFontName(), getFontSize(), getGreen(), getMessage(), getRed(), green, isBold(), isItalic(), isUnderline(), italic, message, red, and underline.

Here is the call graph for this function:

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

Reimplemented from OutPacket.

Reimplemented in QunSendIMExPacket.

Definition at line 1128 of file evaqun.cpp.

References blue, EvaUtil::convertToSend(), encoding, fontFlag, fontName, green, message, QunPacket::qunCommand, QunPacket::qunID, and red.

Here is the call graph for this function:

void QunSendIMPacket::setBlue char  blue  )  [inline]
 

Definition at line 335 of file evaqun.h.

void QunSendIMPacket::setBold bool  bold  ) 
 

Definition at line 1121 of file evaqun.cpp.

References fontFlag.

void QunSendIMPacket::setEncoding short  encoding  )  [inline]
 

Definition at line 325 of file evaqun.h.

void QunSendIMPacket::setFontName std::string &  fontName  )  [inline]
 

Definition at line 321 of file evaqun.h.

void QunSendIMPacket::setFontSize char  fontSize  ) 
 

Definition at line 1099 of file evaqun.cpp.

References fontFlag.

void QunSendIMPacket::setGreen char  green  )  [inline]
 

Definition at line 337 of file evaqun.h.

void QunSendIMPacket::setItalic bool  italic  ) 
 

Definition at line 1114 of file evaqun.cpp.

References fontFlag.

void QunSendIMPacket::setMessage std::string  message  )  [inline]
 

Definition at line 346 of file evaqun.h.

void QunSendIMPacket::setRed char  red  )  [inline]
 

Definition at line 339 of file evaqun.h.

void QunSendIMPacket::setUnderline bool  underline  ) 
 

Definition at line 1107 of file evaqun.cpp.

References fontFlag.


Member Data Documentation

char QunSendIMPacket::blue [protected]
 

Definition at line 352 of file evaqun.h.

Referenced by getBlue(), operator=(), QunSendIMExPacket::putBody(), putBody(), and QunSendIMPacket().

bool QunSendIMPacket::bold [protected]
 

Definition at line 353 of file evaqun.h.

Referenced by isBold(), operator=(), and QunSendIMPacket().

short QunSendIMPacket::encoding [protected]
 

Definition at line 350 of file evaqun.h.

Referenced by getEncoding(), operator=(), QunSendIMExPacket::putBody(), putBody(), and QunSendIMPacket().

unsigned char QunSendIMPacket::fontFlag [protected]
 

Definition at line 355 of file evaqun.h.

Referenced by operator=(), QunSendIMExPacket::putBody(), putBody(), QunSendIMPacket(), setBold(), setFontSize(), setItalic(), and setUnderline().

std::string QunSendIMPacket::fontName [protected]
 

Definition at line 351 of file evaqun.h.

Referenced by getFontName(), operator=(), QunSendIMExPacket::putBody(), putBody(), and QunSendIMPacket().

unsigned char QunSendIMPacket::fontSize [protected]
 

Definition at line 354 of file evaqun.h.

Referenced by getFontSize(), operator=(), and QunSendIMPacket().

char QunSendIMPacket::green [protected]
 

Definition at line 352 of file evaqun.h.

Referenced by getGreen(), operator=(), QunSendIMExPacket::putBody(), putBody(), and QunSendIMPacket().

bool QunSendIMPacket::italic [protected]
 

Definition at line 353 of file evaqun.h.

Referenced by isItalic(), operator=(), and QunSendIMPacket().

std::string QunSendIMPacket::message [protected]
 

Definition at line 357 of file evaqun.h.

Referenced by getMessage(), operator=(), QunSendIMExPacket::putBody(), putBody(), and QunSendIMPacket().

char QunSendIMPacket::red [protected]
 

Definition at line 352 of file evaqun.h.

Referenced by getRed(), operator=(), QunSendIMExPacket::putBody(), putBody(), and QunSendIMPacket().

bool QunSendIMPacket::underline [protected]
 

Definition at line 353 of file evaqun.h.

Referenced by isUnderline(), operator=(), and QunSendIMPacket().


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