YAPOG  0.0.1
Yet Another Pokemon Online Game
yap::Chat Class Reference

#include <Chat.hpp>

Collaboration diagram for yap::Chat:

List of all members.

Public Types

typedef collection::Array< StringBufferType

Public Member Functions

 Chat ()
 Chat (String b)
 ~Chat ()
String Parse ()
ResponseType Exec ()
void SetBuf (String b)
std::pair< bool, StringGetUpHistory ()
std::pair< bool, StringGetDownHistory ()
String GetStringHistory ()
BufferType GetBufHistory ()
BufferType GetHistory ()
bool GetIsCommand ()
bool ChangeChan (ChatDisplayer &display)
String GetTabName (UInt32 TabNb)
UInt32 GetTabCount ()
UInt32 GetTabNb ()

Private Member Functions

 DISALLOW_COPY (Chat)
void IncOff ()
void Check ()
void ToEcho (String s)
std::pair< bool, StringTestHistoryChecker ()

Private Attributes

ChatManagerTypechatmanager_
ChatCommandchatcommand_
size_t offset_
UInt32 index_
Int32 chan_
String entry_
String output_
BufferType buffer_
BufferType history_
bool isCommand_

Detailed Description

Definition at line 18 of file Chat.hpp.


Member Typedef Documentation

Definition at line 22 of file Chat.hpp.


Constructor & Destructor Documentation

yap::Chat::Chat ( )

Definition at line 5 of file Chat.cpp.

yap::Chat::Chat ( String  b)

Definition at line 19 of file Chat.cpp.

Here is the call graph for this function:

yap::Chat::~Chat ( )

Definition at line 34 of file Chat.cpp.


Member Function Documentation

bool yap::Chat::ChangeChan ( ChatDisplayer display)
void yap::Chat::Check ( )
private

Definition at line 199 of file Chat.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

yap::Chat::DISALLOW_COPY ( Chat  )
private
ResponseType yap::Chat::Exec ( )

Definition at line 120 of file Chat.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

BufferType yap::Chat::GetBufHistory ( )

Definition at line 161 of file Chat.cpp.

Here is the call graph for this function:

std::pair< bool, String > yap::Chat::GetDownHistory ( )

Definition at line 137 of file Chat.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

BufferType yap::Chat::GetHistory ( )

Definition at line 189 of file Chat.cpp.

bool yap::Chat::GetIsCommand ( )

Definition at line 194 of file Chat.cpp.

Here is the caller graph for this function:

String yap::Chat::GetStringHistory ( )

Definition at line 149 of file Chat.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

UInt32 yap::Chat::GetTabCount ( )

Definition at line 179 of file Chat.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

String yap::Chat::GetTabName ( UInt32  TabNb)

Definition at line 174 of file Chat.cpp.

Here is the caller graph for this function:

UInt32 yap::Chat::GetTabNb ( )

Definition at line 184 of file Chat.cpp.

std::pair< bool, String > yap::Chat::GetUpHistory ( )

Definition at line 125 of file Chat.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void yap::Chat::IncOff ( )
private

Definition at line 55 of file Chat.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

String yap::Chat::Parse ( )

Definition at line 88 of file Chat.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void yap::Chat::SetBuf ( String  b)

Definition at line 42 of file Chat.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

std::pair< bool, String > yap::Chat::TestHistoryChecker ( )
private

Definition at line 76 of file Chat.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void yap::Chat::ToEcho ( String  s)
private

Definition at line 70 of file Chat.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

BufferType yap::Chat::buffer_
private

Definition at line 64 of file Chat.hpp.

Int32 yap::Chat::chan_
private

Definition at line 61 of file Chat.hpp.

ChatCommand* yap::Chat::chatcommand_
private

Definition at line 58 of file Chat.hpp.

ChatManagerType* yap::Chat::chatmanager_
private

Definition at line 57 of file Chat.hpp.

String yap::Chat::entry_
private

Definition at line 62 of file Chat.hpp.

BufferType yap::Chat::history_
private

Definition at line 65 of file Chat.hpp.

UInt32 yap::Chat::index_
private

Definition at line 60 of file Chat.hpp.

bool yap::Chat::isCommand_
private

Definition at line 66 of file Chat.hpp.

size_t yap::Chat::offset_
private

Definition at line 59 of file Chat.hpp.

String yap::Chat::output_
private

Definition at line 63 of file Chat.hpp.


The documentation for this class was generated from the following files: