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

#include <DebuggerEvents.h>

Inheritance diagram for lldb_private::DiagnosticEventData:
Inheritance graph
[legend]

Public Member Functions

 DiagnosticEventData (lldb::Severity severity, std::string message, bool debugger_specific)
 
 ~DiagnosticEventData () override=default
 
const std::string & GetMessage () const
 
bool IsDebuggerSpecific () const
 
lldb::Severity GetSeverity () const
 
llvm::StringRef GetPrefix () const
 
void Dump (Stream *s) const override
 
llvm::StringRef GetFlavor () const override
 
- Public Member Functions inherited from lldb_private::EventData
 EventData ()
 
virtual ~EventData ()
 
virtual llvm::StringRef GetFlavor () const =0
 
virtual LogGetLogChannel ()
 
virtual void Dump (Stream *s) const
 

Static Public Member Functions

static llvm::StringRef GetFlavorString ()
 
static const DiagnosticEventDataGetEventDataFromEvent (const Event *event_ptr)
 
static StructuredData::DictionarySP GetAsStructuredData (const Event *event_ptr)
 

Protected Member Functions

 DiagnosticEventData (const DiagnosticEventData &)=delete
 
const DiagnosticEventDataoperator= (const DiagnosticEventData &)=delete
 

Protected Attributes

std::string m_message
 
lldb::Severity m_severity
 
const bool m_debugger_specific
 

Detailed Description

Definition at line 77 of file DebuggerEvents.h.

Constructor & Destructor Documentation

◆ DiagnosticEventData() [1/2]

lldb_private::DiagnosticEventData::DiagnosticEventData ( lldb::Severity  severity,
std::string  message,
bool  debugger_specific 
)
inline

Definition at line 79 of file DebuggerEvents.h.

◆ ~DiagnosticEventData()

lldb_private::DiagnosticEventData::~DiagnosticEventData ( )
overridedefault

◆ DiagnosticEventData() [2/2]

lldb_private::DiagnosticEventData::DiagnosticEventData ( const DiagnosticEventData )
protecteddelete

Member Function Documentation

◆ Dump()

void DiagnosticEventData::Dump ( Stream s) const
overridevirtual

◆ GetAsStructuredData()

StructuredData::DictionarySP DiagnosticEventData::GetAsStructuredData ( const Event event_ptr)
static

◆ GetEventDataFromEvent()

const DiagnosticEventData * DiagnosticEventData::GetEventDataFromEvent ( const Event event_ptr)
static

◆ GetFlavor()

llvm::StringRef DiagnosticEventData::GetFlavor ( ) const
overridevirtual

Implements lldb_private::EventData.

Definition at line 101 of file DebuggerEvents.cpp.

References GetFlavorString().

◆ GetFlavorString()

llvm::StringRef DiagnosticEventData::GetFlavorString ( )
static

Definition at line 97 of file DebuggerEvents.cpp.

Referenced by GetFlavor().

◆ GetMessage()

const std::string & lldb_private::DiagnosticEventData::GetMessage ( ) const
inline

Definition at line 85 of file DebuggerEvents.h.

References m_message.

Referenced by Dump(), and GetAsStructuredData().

◆ GetPrefix()

llvm::StringRef DiagnosticEventData::GetPrefix ( ) const

Definition at line 75 of file DebuggerEvents.cpp.

References m_severity.

Referenced by Dump(), and GetAsStructuredData().

◆ GetSeverity()

lldb::Severity lldb_private::DiagnosticEventData::GetSeverity ( ) const
inline

Definition at line 87 of file DebuggerEvents.h.

References m_severity.

◆ IsDebuggerSpecific()

bool lldb_private::DiagnosticEventData::IsDebuggerSpecific ( ) const
inline

Definition at line 86 of file DebuggerEvents.h.

References m_debugger_specific.

Referenced by GetAsStructuredData().

◆ operator=()

const DiagnosticEventData & lldb_private::DiagnosticEventData::operator= ( const DiagnosticEventData )
protecteddelete

Member Data Documentation

◆ m_debugger_specific

const bool lldb_private::DiagnosticEventData::m_debugger_specific
protected

Definition at line 105 of file DebuggerEvents.h.

Referenced by IsDebuggerSpecific().

◆ m_message

std::string lldb_private::DiagnosticEventData::m_message
protected

Definition at line 103 of file DebuggerEvents.h.

Referenced by GetMessage().

◆ m_severity

lldb::Severity lldb_private::DiagnosticEventData::m_severity
protected

Definition at line 104 of file DebuggerEvents.h.

Referenced by Dump(), GetPrefix(), and GetSeverity().


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