Galena :: xfirelib

This is a static archive of the original page - xfirelib is no longer maintained.
Navigation
Home
Board
Bug Tracker
Downloads

XFireGateway





User

You are currently not logged in.
Login
Register


0 logged in users.
21 active guests.


Project: xfirelib

Home
Board

xfirelib::VariableValue Class Reference

#include <variablevalue.h>

List of all members.

Public Member Functions

 VariableValue ()
void setName (std::string name)
void setValueLength (int valueLength)
void setValue (char *value)
void setValue (std::string value)
void setValue (const char *value, int valueLength)
void setValueFromLong (long value, int bytes)
std::string getName ()
int getValueLength ()
char * getValue ()
int readName (char *packet, int index)
int readValue (char *packet, int index, int length=-1, int ignoreZeroAfterLength=0)
int readVariableValue (char *packet, int index, int packetLength)
int writeName (char *buf, int index)
int writeValue (char *buf, int index)
long getValueAsLong ()


Constructor & Destructor Documentation

xfirelib::VariableValue::VariableValue  ) 
 

Definition at line 33 of file variablevalue.cpp.


Member Function Documentation

std::string xfirelib::VariableValue::getName  ) 
 

Definition at line 65 of file variablevalue.cpp.

Referenced by xfirelib::RecvStatusMessagePacket::parseContent(), xfirelib::LoginSuccessPacket::parseContent(), and xfirelib::BuddyListNamesPacket::readStrings().

char * xfirelib::VariableValue::getValue  ) 
 

Definition at line 73 of file variablevalue.cpp.

Referenced by xfirelib::MessagePacket::getImIndex(), xfirelib::MessagePacket::getMessageType(), xfirelib::MessagePacket::getSid(), xfirelib::RecvStatusMessagePacket::parseContent(), xfirelib::MessagePacket::parseContent(), xfirelib::InviteRequestPacket::parseContent(), xfirelib::BuddyListOnlinePacket::parseContent(), xfirelib::BuddyListGamesPacket::parseContent(), and xfirelib::BuddyListNamesPacket::readStrings().

long xfirelib::VariableValue::getValueAsLong  ) 
 

Definition at line 77 of file variablevalue.cpp.

Referenced by xfirelib::RecvRemoveBuddyPacket::parseContent(), xfirelib::LoginSuccessPacket::parseContent(), xfirelib::BuddyListOnlinePacket::parseContent(), xfirelib::BuddyListNamesPacket::parseContent(), xfirelib::BuddyListGamesPacket::parseContent(), and xfirelib::BuddyListNamesPacket::readStrings().

int xfirelib::VariableValue::getValueLength  ) 
 

Definition at line 69 of file variablevalue.cpp.

Referenced by xfirelib::MessagePacket::parseContent(), and xfirelib::InviteRequestPacket::parseContent().

int xfirelib::VariableValue::readName char *  packet,
int  index
 

Definition at line 91 of file variablevalue.cpp.

Referenced by xfirelib::RecvStatusMessagePacket::parseContent(), xfirelib::RecvRemoveBuddyPacket::parseContent(), xfirelib::MessagePacket::parseContent(), xfirelib::LoginSuccessPacket::parseContent(), xfirelib::InviteRequestPacket::parseContent(), xfirelib::BuddyListOnlinePacket::parseContent(), xfirelib::BuddyListNamesPacket::parseContent(), and xfirelib::BuddyListGamesPacket::parseContent().

int xfirelib::VariableValue::readValue char *  packet,
int  index,
int  length = -1,
int  ignoreZeroAfterLength = 0
 

Definition at line 102 of file variablevalue.cpp.

Referenced by xfirelib::RecvStatusMessagePacket::parseContent(), xfirelib::RecvRemoveBuddyPacket::parseContent(), xfirelib::MessagePacket::parseContent(), xfirelib::LoginSuccessPacket::parseContent(), xfirelib::InviteRequestPacket::parseContent(), xfirelib::BuddyListOnlinePacket::parseContent(), xfirelib::BuddyListNamesPacket::parseContent(), xfirelib::BuddyListGamesPacket::parseContent(), and xfirelib::BuddyListNamesPacket::readStrings().

int xfirelib::VariableValue::readVariableValue char *  packet,
int  index,
int  packetLength
 

Definition at line 147 of file variablevalue.cpp.

References setName(), setValue(), and setValueLength().

Referenced by xfirelib::AuthPacket::parseContent().

Here is the call graph for this function:

void xfirelib::VariableValue::setName std::string  name  ) 
 

Definition at line 36 of file variablevalue.cpp.

Referenced by xfirelib::SendRemoveBuddyPacket::getPacketContent(), xfirelib::SendNickChangePacket::getPacketContent(), xfirelib::SendMessagePacket::getPacketContent(), xfirelib::SendKeepAlivePacket::getPacketContent(), xfirelib::SendGameStatusPacket::getPacketContent(), xfirelib::SendGameServerPacket::getPacketContent(), xfirelib::SendAcceptInvitationPacket::getPacketContent(), xfirelib::MessageACKPacket::getPacketContent(), xfirelib::InviteBuddyPacket::getPacketContent(), and readVariableValue().

void xfirelib::VariableValue::setValue const char *  value,
int  valueLength
 

Definition at line 51 of file variablevalue.cpp.

void xfirelib::VariableValue::setValue std::string  value  ) 
 

Definition at line 47 of file variablevalue.cpp.

References setValue().

Here is the call graph for this function:

void xfirelib::VariableValue::setValue char *  value  ) 
 

Definition at line 44 of file variablevalue.cpp.

Referenced by xfirelib::SendNickChangePacket::getPacketContent(), xfirelib::SendMessagePacket::getPacketContent(), xfirelib::SendGameStatusPacket::getPacketContent(), xfirelib::SendGameServerPacket::getPacketContent(), xfirelib::SendAcceptInvitationPacket::getPacketContent(), xfirelib::MessageACKPacket::getPacketContent(), readVariableValue(), and setValue().

void xfirelib::VariableValue::setValueFromLong long  value,
int  bytes
 

Definition at line 56 of file variablevalue.cpp.

Referenced by xfirelib::SendRemoveBuddyPacket::getPacketContent(), xfirelib::SendMessagePacket::getPacketContent(), xfirelib::SendGameStatusPacket::getPacketContent(), xfirelib::SendGameServerPacket::getPacketContent(), and xfirelib::MessageACKPacket::getPacketContent().

void xfirelib::VariableValue::setValueLength int  valueLength  ) 
 

Definition at line 40 of file variablevalue.cpp.

Referenced by xfirelib::SendGameStatusPacket::getPacketContent(), xfirelib::SendGameServerPacket::getPacketContent(), and readVariableValue().

int xfirelib::VariableValue::writeName char *  buf,
int  index
 

Definition at line 183 of file variablevalue.cpp.

Referenced by xfirelib::SendRemoveBuddyPacket::getPacketContent(), xfirelib::SendNickChangePacket::getPacketContent(), xfirelib::SendMessagePacket::getPacketContent(), xfirelib::SendKeepAlivePacket::getPacketContent(), xfirelib::SendGameStatusPacket::getPacketContent(), xfirelib::SendGameServerPacket::getPacketContent(), xfirelib::SendAcceptInvitationPacket::getPacketContent(), xfirelib::MessageACKPacket::getPacketContent(), and xfirelib::InviteBuddyPacket::getPacketContent().

int xfirelib::VariableValue::writeValue char *  buf,
int  index
 

Definition at line 189 of file variablevalue.cpp.

Referenced by xfirelib::SendRemoveBuddyPacket::getPacketContent(), xfirelib::SendNickChangePacket::getPacketContent(), xfirelib::SendMessagePacket::getPacketContent(), xfirelib::SendGameStatusPacket::getPacketContent(), xfirelib::SendGameServerPacket::getPacketContent(), xfirelib::SendAcceptInvitationPacket::getPacketContent(), and xfirelib::MessageACKPacket::getPacketContent().


The documentation for this class was generated from the following files:
Powered by Galena
This page is powered by Galena. - Get your own free "CMS" (Wiki, Board, Todolist/Buglist-Tracker)
Author of Galena: Herbert Poul - kahless+galena@sphene.net - jabber id: kahless@sphene.net - icq uin: 50647169
Page generated in 17 millisecs