The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
game_logic::debug_info Class Reference

#include <debugger.hpp>

Public Member Functions

 debug_info (int arg_number, int counter, int level, const std::string &name, const std::string &str, const variant &value, bool evaluated)
 
virtual ~debug_info ()
 
int counter () const
 
int level () const
 
const std::stringname () const
 
const std::stringstr () const
 
const variantvalue () const
 
const std::stringvalue_str () const
 
bool evaluated () const
 
void set_evaluated (bool evaluated)
 
void set_value (const variant &value)
 

Private Attributes

int arg_number_
 
int counter_
 
int level_
 
std::string name_
 
std::string str_
 
variant value_
 
bool evaluated_
 

Detailed Description

Definition at line 37 of file debugger.hpp.

Constructor & Destructor Documentation

game_logic::debug_info::debug_info ( int  arg_number,
int  counter,
int  level,
const std::string name,
const std::string str,
const variant value,
bool  evaluated 
)

Definition at line 41 of file debugger.cpp.

game_logic::debug_info::~debug_info ( )
virtual

Definition at line 47 of file debugger.cpp.

Member Function Documentation

int game_logic::debug_info::counter ( ) const

Definition at line 63 of file debugger.cpp.

References counter_.

Referenced by game_logic::msg().

bool game_logic::debug_info::evaluated ( ) const

Definition at line 81 of file debugger.cpp.

References evaluated_.

Referenced by set_evaluated().

int game_logic::debug_info::level ( ) const

Definition at line 52 of file debugger.cpp.

References level_.

const std::string & game_logic::debug_info::name ( ) const

Definition at line 57 of file debugger.cpp.

References name_.

Referenced by game_logic::msg().

void game_logic::debug_info::set_evaluated ( bool  evaluated)

Definition at line 87 of file debugger.cpp.

References evaluated(), and evaluated_.

void game_logic::debug_info::set_value ( const variant value)

Definition at line 75 of file debugger.cpp.

References value(), and value_.

const std::string & game_logic::debug_info::str ( ) const

Definition at line 93 of file debugger.cpp.

References str_.

Referenced by game_logic::msg().

const variant & game_logic::debug_info::value ( ) const

Definition at line 69 of file debugger.cpp.

References value_.

Referenced by set_value().

const std::string& game_logic::debug_info::value_str ( ) const

Member Data Documentation

int game_logic::debug_info::arg_number_
private

Definition at line 51 of file debugger.hpp.

int game_logic::debug_info::counter_
private

Definition at line 52 of file debugger.hpp.

Referenced by counter().

bool game_logic::debug_info::evaluated_
private

Definition at line 57 of file debugger.hpp.

Referenced by evaluated(), and set_evaluated().

int game_logic::debug_info::level_
private

Definition at line 53 of file debugger.hpp.

Referenced by level().

std::string game_logic::debug_info::name_
private

Definition at line 54 of file debugger.hpp.

Referenced by name().

std::string game_logic::debug_info::str_
private

Definition at line 55 of file debugger.hpp.

Referenced by str().

variant game_logic::debug_info::value_
private

Definition at line 56 of file debugger.hpp.

Referenced by set_value(), and value().


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