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

#include <SBSaveCoreOptions.h>

Public Member Functions

 SBSaveCoreOptions ()
 
 SBSaveCoreOptions (const lldb::SBSaveCoreOptions &rhs)
 
 ~SBSaveCoreOptions ()
 
const SBSaveCoreOptionsoperator= (const lldb::SBSaveCoreOptions &rhs)
 
SBError SetPluginName (const char *plugin)
 Set the plugin name.
 
const char * GetPluginName () const
 Get the Core dump plugin name, if set.
 
void SetStyle (lldb::SaveCoreStyle style)
 Set the Core dump style.
 
lldb::SaveCoreStyle GetStyle () const
 Get the Core dump style, if set.
 
void SetOutputFile (SBFileSpec output_file)
 
SBFileSpec GetOutputFile () const
 Get the output file spec.
 
void Clear ()
 Reset all options.
 

Protected Member Functions

lldb_private::SaveCoreOptionsref () const
 

Private Attributes

std::unique_ptr< lldb_private::SaveCoreOptionsm_opaque_up
 

Friends

class SBProcess
 

Detailed Description

Definition at line 16 of file SBSaveCoreOptions.h.

Constructor & Destructor Documentation

◆ SBSaveCoreOptions() [1/2]

SBSaveCoreOptions::SBSaveCoreOptions ( )

Definition at line 20 of file SBSaveCoreOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SBSaveCoreOptions() [2/2]

SBSaveCoreOptions::SBSaveCoreOptions ( const lldb::SBSaveCoreOptions rhs)

Definition at line 26 of file SBSaveCoreOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ ~SBSaveCoreOptions()

SBSaveCoreOptions::~SBSaveCoreOptions ( )
default

Member Function Documentation

◆ Clear()

void SBSaveCoreOptions::Clear ( )

Reset all options.

Definition at line 80 of file SBSaveCoreOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetOutputFile()

SBFileSpec SBSaveCoreOptions::GetOutputFile ( ) const

Get the output file spec.

Returns
The output file spec.

Definition at line 67 of file SBSaveCoreOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetPluginName()

const char * SBSaveCoreOptions::GetPluginName ( ) const

Get the Core dump plugin name, if set.

Returns
The name of the plugin, or null if not set.

Definition at line 59 of file SBSaveCoreOptions.cpp.

References lldb_private::ConstString::GetCString(), LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetStyle()

lldb::SaveCoreStyle SBSaveCoreOptions::GetStyle ( ) const

Get the Core dump style, if set.

Returns
The core dump style, or undefined if not set.

Definition at line 75 of file SBSaveCoreOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ operator=()

const SBSaveCoreOptions & SBSaveCoreOptions::operator= ( const lldb::SBSaveCoreOptions rhs)

Definition at line 35 of file SBSaveCoreOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ ref()

lldb_private::SaveCoreOptions & SBSaveCoreOptions::ref ( ) const
protected

Definition at line 85 of file SBSaveCoreOptions.cpp.

References m_opaque_up.

Referenced by lldb::SBProcess::SaveCore().

◆ SetOutputFile()

void SBSaveCoreOptions::SetOutputFile ( lldb::SBFileSpec  file_spec)

Definition at line 54 of file SBSaveCoreOptions.cpp.

References LLDB_INSTRUMENT_VA, m_opaque_up, and lldb::SBFileSpec::ref().

Referenced by lldb::SBProcess::SaveCore().

◆ SetPluginName()

SBError SBSaveCoreOptions::SetPluginName ( const char *  plugin)

Set the plugin name.

Supplying null or empty string will reset the option.

Parameters
pluginName of the object file plugin.

Definition at line 43 of file SBSaveCoreOptions.cpp.

References error(), LLDB_INSTRUMENT_VA, and m_opaque_up.

Referenced by lldb::SBProcess::SaveCore().

◆ SetStyle()

void SBSaveCoreOptions::SetStyle ( lldb::SaveCoreStyle  style)

Set the Core dump style.

Parameters
styleThe style of the core dump.

Definition at line 49 of file SBSaveCoreOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

Referenced by lldb::SBProcess::SaveCore().

Friends And Related Function Documentation

◆ SBProcess

friend class SBProcess
friend

Definition at line 60 of file SBSaveCoreOptions.h.

Member Data Documentation

◆ m_opaque_up

std::unique_ptr<lldb_private::SaveCoreOptions> lldb::SBSaveCoreOptions::m_opaque_up
private

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