LLDB mainline
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
lldb_private::CommandInterpreterRunResult Class Reference

#include <CommandInterpreter.h>

Public Member Functions

 CommandInterpreterRunResult ()=default
 
uint32_t GetNumErrors () const
 
lldb::CommandInterpreterResult GetResult () const
 
bool IsResult (lldb::CommandInterpreterResult result)
 

Protected Member Functions

void IncrementNumberOfErrors ()
 
void SetResult (lldb::CommandInterpreterResult result)
 

Protected Attributes

friend CommandInterpreter
 

Private Attributes

int m_num_errors = 0
 
lldb::CommandInterpreterResult m_result
 

Detailed Description

Definition at line 36 of file CommandInterpreter.h.

Constructor & Destructor Documentation

◆ CommandInterpreterRunResult()

lldb_private::CommandInterpreterRunResult::CommandInterpreterRunResult ( )
default

Member Function Documentation

◆ GetNumErrors()

uint32_t lldb_private::CommandInterpreterRunResult::GetNumErrors ( ) const
inline

Definition at line 40 of file CommandInterpreter.h.

References m_num_errors.

Referenced by lldb::SBDebugger::RunCommandInterpreter().

◆ GetResult()

lldb::CommandInterpreterResult lldb_private::CommandInterpreterRunResult::GetResult ( ) const
inline

Definition at line 42 of file CommandInterpreter.h.

References m_result.

◆ IncrementNumberOfErrors()

void lldb_private::CommandInterpreterRunResult::IncrementNumberOfErrors ( )
inlineprotected

◆ IsResult()

bool lldb_private::CommandInterpreterRunResult::IsResult ( lldb::CommandInterpreterResult  result)
inline

◆ SetResult()

void lldb_private::CommandInterpreterRunResult::SetResult ( lldb::CommandInterpreterResult  result)
inlineprotected

Definition at line 53 of file CommandInterpreter.h.

References m_result.

Referenced by lldb_private::CommandInterpreter::IOHandlerInputComplete().

Member Data Documentation

◆ CommandInterpreter

friend lldb_private::CommandInterpreterRunResult::CommandInterpreter
protected

Definition at line 49 of file CommandInterpreter.h.

◆ m_num_errors

int lldb_private::CommandInterpreterRunResult::m_num_errors = 0
private

Definition at line 56 of file CommandInterpreter.h.

Referenced by GetNumErrors(), and IncrementNumberOfErrors().

◆ m_result

lldb::CommandInterpreterResult lldb_private::CommandInterpreterRunResult::m_result
private
Initial value:
=
@ eCommandInterpreterResultSuccess
Command interpreter finished successfully.

Definition at line 57 of file CommandInterpreter.h.

Referenced by GetResult(), IsResult(), and SetResult().


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