The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
lua_kernel_base::command_log Struct Reference

Log implementation. More...

#include <lua_kernel_base.hpp>

Public Member Functions

 command_log ()
 
command_logoperator<< (const std::string &str)
 
command_logoperator<< (char const *str)
 

Public Attributes

std::stringstream log_
 
external_log_type external_log_
 

Detailed Description

Log implementation.

Definition at line 83 of file lua_kernel_base.hpp.

Constructor & Destructor Documentation

lua_kernel_base::command_log::command_log ( )
inline

Definition at line 88 of file lua_kernel_base.hpp.

Member Function Documentation

command_log& lua_kernel_base::command_log::operator<< ( const std::string &  str)
inline

Definition at line 93 of file lua_kernel_base.hpp.

References external_log_.

command_log& lua_kernel_base::command_log::operator<< ( char const *  str)
inline

Definition at line 101 of file lua_kernel_base.hpp.

References external_log_.

Member Data Documentation

external_log_type lua_kernel_base::command_log::external_log_
std::stringstream lua_kernel_base::command_log::log_

Definition at line 85 of file lua_kernel_base.hpp.

Referenced by lua_kernel_base::clear_log(), and lua_kernel_base::get_log().


The documentation for this struct was generated from the following file: