WSF
wizard::ScriptDebugger::Breakpoint Class Reference

#include <ScriptDebugger.hpp>

Collaboration diagram for wizard::ScriptDebugger::Breakpoint:

Public Member Functions

 Breakpoint ()
bool operator== (const Breakpoint &aRhs) const
bool IsEnabled () const noexcept
void SetIsEnabled (bool aIsEnabled)
size_t GetLine () const
void SetPositionByLineNumber (size_t aLine)

Public Attributes

int mId
size_t mPosition = ut::npos
TextSourcemSourcePtr = nullptr
std::string mPath
std::string mCondition
size_t mActualLine = ut::npos
bool mToggleLocked = false
bool mWasUserEnabled = false

Constructor & Destructor Documentation

◆ Breakpoint()

wizard::ScriptDebugger::Breakpoint::Breakpoint ( )

Referenced by operator==().

Member Function Documentation

◆ GetLine()

size_t wizard::ScriptDebugger::Breakpoint::GetLine ( ) const
inline

References mPosition, and mSourcePtr.

◆ IsEnabled()

bool wizard::ScriptDebugger::Breakpoint::IsEnabled ( ) const
inlinenoexcept

◆ operator==()

bool wizard::ScriptDebugger::Breakpoint::operator== ( const Breakpoint & aRhs) const
inline

References Breakpoint(), mCondition, mId, mPath, and mPosition.

◆ SetIsEnabled()

void wizard::ScriptDebugger::Breakpoint::SetIsEnabled ( bool aIsEnabled)
inline

References mToggleLocked.

◆ SetPositionByLineNumber()

void wizard::ScriptDebugger::Breakpoint::SetPositionByLineNumber ( size_t aLine)
inline

References mPosition, and mSourcePtr.

Member Data Documentation

◆ mActualLine

size_t wizard::ScriptDebugger::Breakpoint::mActualLine = ut::npos

◆ mCondition

std::string wizard::ScriptDebugger::Breakpoint::mCondition

Referenced by operator==().

◆ mId

int wizard::ScriptDebugger::Breakpoint::mId

Referenced by operator==().

◆ mPath

std::string wizard::ScriptDebugger::Breakpoint::mPath

Referenced by operator==().

◆ mPosition

size_t wizard::ScriptDebugger::Breakpoint::mPosition = ut::npos

◆ mSourcePtr

TextSource* wizard::ScriptDebugger::Breakpoint::mSourcePtr = nullptr

Referenced by GetLine(), and SetPositionByLineNumber().

◆ mToggleLocked

bool wizard::ScriptDebugger::Breakpoint::mToggleLocked = false

Referenced by SetIsEnabled().

◆ mWasUserEnabled

bool wizard::ScriptDebugger::Breakpoint::mWasUserEnabled = false

The documentation for this class was generated from the following file:
Copyrights Multiple, All Rights Reserved