LLDB mainline
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
lldb::SBCommandInterpreterRunOptions Class Reference

#include <SBCommandInterpreterRunOptions.h>

Public Member Functions

 SBCommandInterpreterRunOptions ()
 
 SBCommandInterpreterRunOptions (const SBCommandInterpreterRunOptions &rhs)
 
 ~SBCommandInterpreterRunOptions ()
 
SBCommandInterpreterRunOptionsoperator= (const SBCommandInterpreterRunOptions &rhs)
 
bool GetStopOnContinue () const
 
void SetStopOnContinue (bool)
 
bool GetStopOnError () const
 
void SetStopOnError (bool)
 
bool GetStopOnCrash () const
 
void SetStopOnCrash (bool)
 
bool GetEchoCommands () const
 
void SetEchoCommands (bool)
 
bool GetEchoCommentCommands () const
 
void SetEchoCommentCommands (bool echo)
 
bool GetPrintResults () const
 
void SetPrintResults (bool)
 
bool GetPrintErrors () const
 
void SetPrintErrors (bool)
 
bool GetAddToHistory () const
 
void SetAddToHistory (bool)
 
bool GetAutoHandleEvents () const
 
void SetAutoHandleEvents (bool)
 
bool GetSpawnThread () const
 
void SetSpawnThread (bool)
 
bool GetAllowRepeats () const
 
void SetAllowRepeats (bool)
 By default, RunCommandInterpreter will discard repeats if the IOHandler being used is not interactive.
 

Private Member Functions

lldb_private::CommandInterpreterRunOptionsget () const
 
lldb_private::CommandInterpreterRunOptionsref () const
 

Private Attributes

std::unique_ptr< lldb_private::CommandInterpreterRunOptionsm_opaque_up
 

Friends

class SBDebugger
 
class SBCommandInterpreter
 

Detailed Description

Definition at line 23 of file SBCommandInterpreterRunOptions.h.

Constructor & Destructor Documentation

◆ SBCommandInterpreterRunOptions() [1/2]

SBCommandInterpreterRunOptions::SBCommandInterpreterRunOptions ( )

Definition at line 21 of file SBCommandInterpreterRunOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SBCommandInterpreterRunOptions() [2/2]

SBCommandInterpreterRunOptions::SBCommandInterpreterRunOptions ( const SBCommandInterpreterRunOptions rhs)

Definition at line 27 of file SBCommandInterpreterRunOptions.cpp.

References LLDB_INSTRUMENT_VA, m_opaque_up, and ref().

◆ ~SBCommandInterpreterRunOptions()

SBCommandInterpreterRunOptions::~SBCommandInterpreterRunOptions ( )
default

Member Function Documentation

◆ get()

lldb_private::CommandInterpreterRunOptions * SBCommandInterpreterRunOptions::get ( ) const
private

Definition at line 180 of file SBCommandInterpreterRunOptions.cpp.

References m_opaque_up.

◆ GetAddToHistory()

bool SBCommandInterpreterRunOptions::GetAddToHistory ( ) const

Definition at line 130 of file SBCommandInterpreterRunOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetAllowRepeats()

bool SBCommandInterpreterRunOptions::GetAllowRepeats ( ) const

Definition at line 167 of file SBCommandInterpreterRunOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetAutoHandleEvents()

bool SBCommandInterpreterRunOptions::GetAutoHandleEvents ( ) const

Definition at line 142 of file SBCommandInterpreterRunOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetEchoCommands()

bool SBCommandInterpreterRunOptions::GetEchoCommands ( ) const

Definition at line 82 of file SBCommandInterpreterRunOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetEchoCommentCommands()

bool SBCommandInterpreterRunOptions::GetEchoCommentCommands ( ) const

Definition at line 94 of file SBCommandInterpreterRunOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetPrintErrors()

bool SBCommandInterpreterRunOptions::GetPrintErrors ( ) const

Definition at line 118 of file SBCommandInterpreterRunOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetPrintResults()

bool SBCommandInterpreterRunOptions::GetPrintResults ( ) const

Definition at line 106 of file SBCommandInterpreterRunOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetSpawnThread()

bool SBCommandInterpreterRunOptions::GetSpawnThread ( ) const

Definition at line 155 of file SBCommandInterpreterRunOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetStopOnContinue()

bool SBCommandInterpreterRunOptions::GetStopOnContinue ( ) const

Definition at line 46 of file SBCommandInterpreterRunOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetStopOnCrash()

bool SBCommandInterpreterRunOptions::GetStopOnCrash ( ) const

Definition at line 70 of file SBCommandInterpreterRunOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetStopOnError()

bool SBCommandInterpreterRunOptions::GetStopOnError ( ) const

Definition at line 58 of file SBCommandInterpreterRunOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ operator=()

SBCommandInterpreterRunOptions & SBCommandInterpreterRunOptions::operator= ( const SBCommandInterpreterRunOptions rhs)

Definition at line 36 of file SBCommandInterpreterRunOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ ref()

lldb_private::CommandInterpreterRunOptions & SBCommandInterpreterRunOptions::ref ( ) const
private

◆ SetAddToHistory()

void SBCommandInterpreterRunOptions::SetAddToHistory ( bool  add_to_history)

Definition at line 136 of file SBCommandInterpreterRunOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SetAllowRepeats()

void SBCommandInterpreterRunOptions::SetAllowRepeats ( bool  allow_repeats)

By default, RunCommandInterpreter will discard repeats if the IOHandler being used is not interactive.

Setting AllowRepeats to true will override this behavior and always process empty lines in the input as a repeat command.

Definition at line 173 of file SBCommandInterpreterRunOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SetAutoHandleEvents()

void SBCommandInterpreterRunOptions::SetAutoHandleEvents ( bool  auto_handle_events)

◆ SetEchoCommands()

void SBCommandInterpreterRunOptions::SetEchoCommands ( bool  echo_commands)

Definition at line 88 of file SBCommandInterpreterRunOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SetEchoCommentCommands()

void SBCommandInterpreterRunOptions::SetEchoCommentCommands ( bool  echo)

Definition at line 100 of file SBCommandInterpreterRunOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SetPrintErrors()

void SBCommandInterpreterRunOptions::SetPrintErrors ( bool  print_errors)

Definition at line 124 of file SBCommandInterpreterRunOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SetPrintResults()

void SBCommandInterpreterRunOptions::SetPrintResults ( bool  print_results)

Definition at line 112 of file SBCommandInterpreterRunOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SetSpawnThread()

void SBCommandInterpreterRunOptions::SetSpawnThread ( bool  spawn_thread)

◆ SetStopOnContinue()

void SBCommandInterpreterRunOptions::SetStopOnContinue ( bool  stop_on_continue)

Definition at line 52 of file SBCommandInterpreterRunOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SetStopOnCrash()

void SBCommandInterpreterRunOptions::SetStopOnCrash ( bool  stop_on_crash)

Definition at line 76 of file SBCommandInterpreterRunOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SetStopOnError()

void SBCommandInterpreterRunOptions::SetStopOnError ( bool  stop_on_error)

Definition at line 64 of file SBCommandInterpreterRunOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

Friends And Related Function Documentation

◆ SBCommandInterpreter

friend class SBCommandInterpreter
friend

Definition at line 25 of file SBCommandInterpreterRunOptions.h.

◆ SBDebugger

friend class SBDebugger
friend

Definition at line 24 of file SBCommandInterpreterRunOptions.h.

Member Data Documentation

◆ m_opaque_up

std::unique_ptr<lldb_private::CommandInterpreterRunOptions> lldb::SBCommandInterpreterRunOptions::m_opaque_up
mutableprivate

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