Code::Blocks  SVN r11506
Public Member Functions | Private Attributes | List of all members
GdbCmd_TooltipEvaluation Class Reference

Command to display a tooltip about a variables value. More...

#include <gdb_commands.h>

Inheritance diagram for GdbCmd_TooltipEvaluation:
Collaboration diagram for GdbCmd_TooltipEvaluation:

Public Member Functions

 GdbCmd_TooltipEvaluation (DebuggerDriver *driver, const wxString &what, const wxRect &tiprect, const wxString &w_type=wxEmptyString, const wxString &address=wxEmptyString)
 
void ParseOutput (const wxString &output)
 Parses the command's output. More...
 
- Public Member Functions inherited from DebuggerCmd
 DebuggerCmd (DebuggerDriver *driver, const wxString &cmd=_T(""), bool logToNormalLog=false)
 
virtual ~DebuggerCmd ()
 
virtual void Action ()
 Executes an action. More...
 
virtual bool IsContinueCommand () const
 Tells if the command is a continue type command (continue, step, next and run to cursor commands should be marked as such) More...
 

Private Attributes

wxRect m_WinRect
 
wxString m_What
 
wxString m_Type
 
wxString m_Address
 
bool m_autoDereferenced
 

Additional Inherited Members

- Public Attributes inherited from DebuggerCmd
wxString m_Cmd
 the actual command More...
 
- Protected Attributes inherited from DebuggerCmd
DebuggerDriverm_pDriver
 the driver More...
 
bool m_LogToNormalLog
 if true, log to normal log, else the debug log More...
 

Detailed Description

Command to display a tooltip about a variables value.

Definition at line 913 of file gdb_commands.h.

Constructor & Destructor Documentation

◆ GdbCmd_TooltipEvaluation()

GdbCmd_TooltipEvaluation::GdbCmd_TooltipEvaluation ( DebuggerDriver driver,
const wxString what,
const wxRect tiprect,
const wxString w_type = wxEmptyString,
const wxString address = wxEmptyString 
)
inline
Parameters
whatThe variable to evaluate.
winA pointer to the tip window pointer.
tiprectThe tip window's rect.

Definition at line 925 of file gdb_commands.h.

References IsPointerType(), DebuggerCmd::m_Cmd, wxString::Trim(), and wxT.

Member Function Documentation

◆ ParseOutput()

void GdbCmd_TooltipEvaluation::ParseOutput ( const wxString output)
inlinevirtual

Parses the command's output.

Parameters
Theoutput. This is the full output up to (and including) the prompt.

Reimplemented from DebuggerCmd.

Definition at line 945 of file gdb_commands.h.

References DebuggerGDB::AddWatchNoUpdate(), wxString::Contains(), wxString::empty(), Manager::Get(), DebuggerDriver::GetDebugger(), DebuggerCmd::m_pDriver, ParseGDBWatchValue(), wxString::Trim(), and wxT.

Member Data Documentation

◆ m_Address

wxString GdbCmd_TooltipEvaluation::m_Address
private

Definition at line 918 of file gdb_commands.h.

◆ m_autoDereferenced

bool GdbCmd_TooltipEvaluation::m_autoDereferenced
private

Definition at line 919 of file gdb_commands.h.

◆ m_Type

wxString GdbCmd_TooltipEvaluation::m_Type
private

Definition at line 917 of file gdb_commands.h.

◆ m_What

wxString GdbCmd_TooltipEvaluation::m_What
private

Definition at line 916 of file gdb_commands.h.

◆ m_WinRect

wxRect GdbCmd_TooltipEvaluation::m_WinRect
private

Definition at line 915 of file gdb_commands.h.


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