The Battle for Wesnoth  1.19.5+dev
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 35 of file debugger.hpp.

Constructor & Destructor Documentation

◆ debug_info()

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 38 of file debugger.cpp.

◆ ~debug_info()

wfl::debug_info::~debug_info ( )
virtual

Definition at line 44 of file debugger.cpp.

Member Function Documentation

◆ counter()

int wfl::debug_info::counter ( ) const

Definition at line 60 of file debugger.cpp.

References counter_.

◆ evaluated()

bool wfl::debug_info::evaluated ( ) const

Definition at line 78 of file debugger.cpp.

References evaluated_.

Referenced by set_evaluated().

◆ level()

int wfl::debug_info::level ( ) const

Definition at line 49 of file debugger.cpp.

References level_.

◆ name()

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

Definition at line 54 of file debugger.cpp.

References name_.

◆ set_evaluated()

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

Definition at line 84 of file debugger.cpp.

References evaluated(), and evaluated_.

◆ set_value()

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

Definition at line 72 of file debugger.cpp.

References value(), and value_.

◆ str()

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

Definition at line 90 of file debugger.cpp.

References str_.

◆ value()

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

Definition at line 66 of file debugger.cpp.

References value_.

Referenced by set_value().

◆ value_str()

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

Member Data Documentation

◆ arg_number_

int wfl::debug_info::arg_number_
private

Definition at line 49 of file debugger.hpp.

◆ counter_

int wfl::debug_info::counter_
private

Definition at line 50 of file debugger.hpp.

Referenced by counter().

◆ evaluated_

bool wfl::debug_info::evaluated_
private

Definition at line 55 of file debugger.hpp.

Referenced by evaluated(), and set_evaluated().

◆ level_

int wfl::debug_info::level_
private

Definition at line 51 of file debugger.hpp.

Referenced by level().

◆ name_

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

Definition at line 52 of file debugger.hpp.

Referenced by name().

◆ str_

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

Definition at line 53 of file debugger.hpp.

Referenced by str().

◆ value_

variant wfl::debug_info::value_
private

Definition at line 54 of file debugger.hpp.

Referenced by set_value(), and value().


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