LLDB mainline
lldb_private::BreakpointOptions::CommandData Struct Reference

#include <BreakpointOptions.h>

Inheritance diagram for lldb_private::BreakpointOptions::CommandData:
[legend]

Public Member Functions

 CommandData ()=default
 CommandData (const StringList &user_source, lldb::ScriptLanguage interp)
virtual ~CommandData ()=default
StructuredData::ObjectSP SerializeToStructuredData ()

Static Public Member Functions

static const char * GetSerializationKey ()
static std::unique_ptr< CommandDataCreateFromStructuredData (const StructuredData::Dictionary &options_dict, Status &error)

Public Attributes

StringList user_source
std::string script_source
enum lldb::ScriptLanguage interpreter
bool stop_on_error = true

Private Types

enum class  OptionNames : uint32_t { UserSource = 0 , Interpreter , StopOnError , LastOptionName }

Static Private Member Functions

static const char * GetKey (OptionNames enum_value)

Static Private Attributes

static const char * g_option_names [static_cast< uint32_t >(OptionNames::LastOptionName)]

Detailed Description

Definition at line 46 of file BreakpointOptions.h.

Member Enumeration Documentation

◆ OptionNames

enum class lldb_private::BreakpointOptions::CommandData::OptionNames : uint32_t
strongprivate
Enumerator
UserSource 
Interpreter 
StopOnError 
LastOptionName 

Definition at line 70 of file BreakpointOptions.h.

Constructor & Destructor Documentation

◆ CommandData() [1/2]

◆ CommandData() [2/2]

lldb_private::BreakpointOptions::CommandData::CommandData ( const StringList & user_source,
lldb::ScriptLanguage interp )
inline

Definition at line 49 of file BreakpointOptions.h.

References interpreter, stop_on_error, and user_source.

◆ ~CommandData()

virtual lldb_private::BreakpointOptions::CommandData::~CommandData ( )
virtualdefault

Member Function Documentation

◆ CreateFromStructuredData()

◆ GetKey()

const char * lldb_private::BreakpointOptions::CommandData::GetKey ( OptionNames enum_value)
inlinestaticprivate

Definition at line 80 of file BreakpointOptions.h.

References g_option_names.

Referenced by SerializeToStructuredData().

◆ GetSerializationKey()

const char * lldb_private::BreakpointOptions::CommandData::GetSerializationKey ( )
inlinestatic

◆ SerializeToStructuredData()

StructuredData::ObjectSP BreakpointOptions::CommandData::SerializeToStructuredData ( )

Member Data Documentation

◆ g_option_names

const char * BreakpointOptions::CommandData::g_option_names
staticprivate
Initial value:
{
"UserSource", "ScriptSource", "StopOnError"}

Definition at line 78 of file BreakpointOptions.h.

Referenced by GetKey().

◆ interpreter

◆ script_source

std::string lldb_private::BreakpointOptions::CommandData::script_source

Definition at line 63 of file BreakpointOptions.h.

Referenced by SerializeToStructuredData().

◆ stop_on_error

bool lldb_private::BreakpointOptions::CommandData::stop_on_error = true

◆ user_source


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