The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
wfl::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::string & name () const
 
const std::string & str () const
 
const variantvalue () const
 
const std::string & value_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 34 of file debugger.hpp.

Constructor & Destructor Documentation

wfl::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 39 of file debugger.cpp.

wfl::debug_info::~debug_info ( )
virtual

Definition at line 45 of file debugger.cpp.

Member Function Documentation

int wfl::debug_info::counter ( ) const

Definition at line 61 of file debugger.cpp.

References counter_.

Referenced by wfl::msg().

bool wfl::debug_info::evaluated ( ) const

Definition at line 79 of file debugger.cpp.

References evaluated_.

Referenced by set_evaluated().

int wfl::debug_info::level ( ) const

Definition at line 50 of file debugger.cpp.

References level_.

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

Definition at line 55 of file debugger.cpp.

References name_.

Referenced by wfl::msg().

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

Definition at line 85 of file debugger.cpp.

References evaluated(), and evaluated_.

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

Definition at line 73 of file debugger.cpp.

References value(), and value_.

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

Definition at line 91 of file debugger.cpp.

References str_.

Referenced by wfl::msg().

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

Definition at line 67 of file debugger.cpp.

References value_.

Referenced by set_value().

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

Member Data Documentation

int wfl::debug_info::arg_number_
private

Definition at line 48 of file debugger.hpp.

int wfl::debug_info::counter_
private

Definition at line 49 of file debugger.hpp.

Referenced by counter().

bool wfl::debug_info::evaluated_
private

Definition at line 54 of file debugger.hpp.

Referenced by evaluated(), and set_evaluated().

int wfl::debug_info::level_
private

Definition at line 50 of file debugger.hpp.

Referenced by level().

std::string wfl::debug_info::name_
private

Definition at line 51 of file debugger.hpp.

Referenced by name().

std::string wfl::debug_info::str_
private

Definition at line 52 of file debugger.hpp.

Referenced by str().

variant wfl::debug_info::value_
private

Definition at line 53 of file debugger.hpp.

Referenced by set_value(), and value().


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