The Battle for Wesnoth  1.19.0-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 39 of file debugger.cpp.

◆ ~debug_info()

wfl::debug_info::~debug_info ( )

Definition at line 45 of file debugger.cpp.

Member Function Documentation

◆ counter()

int wfl::debug_info::counter ( ) const

Definition at line 61 of file debugger.cpp.

References counter_.

◆ evaluated()

bool wfl::debug_info::evaluated ( ) const

Definition at line 79 of file debugger.cpp.

References evaluated_.

Referenced by set_evaluated().

◆ level()

int wfl::debug_info::level ( ) const

Definition at line 50 of file debugger.cpp.

References level_.

◆ name()

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

Definition at line 55 of file debugger.cpp.

References name_.

◆ set_evaluated()

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

Definition at line 85 of file debugger.cpp.

References evaluated(), and evaluated_.

◆ set_value()

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

Definition at line 73 of file debugger.cpp.

References value(), and value_.

◆ str()

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

Definition at line 91 of file debugger.cpp.

References str_.

◆ value()

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

Definition at line 67 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_

Definition at line 49 of file debugger.hpp.

◆ counter_

int wfl::debug_info::counter_

Definition at line 50 of file debugger.hpp.

Referenced by counter().

◆ evaluated_

bool wfl::debug_info::evaluated_

Definition at line 55 of file debugger.hpp.

Referenced by evaluated(), and set_evaluated().

◆ level_

int wfl::debug_info::level_

Definition at line 51 of file debugger.hpp.

Referenced by level().

◆ name_

std::string wfl::debug_info::name_

Definition at line 52 of file debugger.hpp.

Referenced by name().

◆ str_

std::string wfl::debug_info::str_

Definition at line 53 of file debugger.hpp.

Referenced by str().

◆ value_

variant wfl::debug_info::value_

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: