Public Member Functions | Private Attributes

chat_msg Class Reference

#include <replay.hpp>

Collaboration diagram for chat_msg:
Collaboration graph
[legend]

List of all members.

Public Member Functions

const std::string & text () const
const std::string & nick () const
const std::string & color () const
 chat_msg (const config &cfg)
virtual ~chat_msg ()

Private Attributes

std::string color_
std::string nick_
std::string text_

Detailed Description

Definition at line 36 of file replay.hpp.


Constructor & Destructor Documentation

chat_msg::chat_msg ( const config cfg  ) 

Definition at line 129 of file replay.cpp.

References color_, team::get_side_highlight_pango(), LOG_REPLAY, nick_, and str_cast().

Here is the call graph for this function:

chat_msg::~chat_msg (  )  [virtual]

Definition at line 160 of file replay.cpp.


Member Function Documentation

const std::string& chat_msg::color (  )  const [inline]

Definition at line 40 of file replay.hpp.

References color_.

Referenced by gui2::tchat_log::model::populate_chat_message_list().

Here is the caller graph for this function:

const std::string& chat_msg::nick (  )  const [inline]

Definition at line 39 of file replay.hpp.

References nick_.

Referenced by gui2::tchat_log::model::populate_chat_message_list().

Here is the caller graph for this function:

const std::string& chat_msg::text (  )  const [inline]

Definition at line 38 of file replay.hpp.

References text_.

Referenced by gui2::tchat_log::model::populate_chat_message_list().

Here is the caller graph for this function:


Member Data Documentation

std::string chat_msg::color_ [private]

Definition at line 44 of file replay.hpp.

Referenced by chat_msg(), and color().

std::string chat_msg::nick_ [private]

Definition at line 45 of file replay.hpp.

Referenced by chat_msg(), and nick().

std::string chat_msg::text_ [private]

Definition at line 46 of file replay.hpp.

Referenced by text().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:13:14 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs