LLDB mainline
|
#include <SBStringList.h>
Public Member Functions | |
SBStringList () | |
SBStringList (const lldb::SBStringList &rhs) | |
const SBStringList & | operator= (const SBStringList &rhs) |
~SBStringList () | |
operator bool () const | |
bool | IsValid () const |
void | AppendString (const char *str) |
void | AppendList (const char **strv, int strc) |
void | AppendList (const lldb::SBStringList &strings) |
uint32_t | GetSize () const |
const char * | GetStringAtIndex (size_t idx) |
const char * | GetStringAtIndex (size_t idx) const |
void | Clear () |
Protected Member Functions | |
SBStringList (const lldb_private::StringList *lldb_strings) | |
void | AppendList (const lldb_private::StringList &strings) |
lldb_private::StringList * | operator-> () |
const lldb_private::StringList * | operator-> () const |
const lldb_private::StringList & | operator* () const |
Private Attributes | |
std::unique_ptr< lldb_private::StringList > | m_opaque_up |
Friends | |
class | SBCommandInterpreter |
class | SBDebugger |
class | SBBreakpoint |
class | SBBreakpointLocation |
class | SBBreakpointName |
class | SBStructuredData |
Definition at line 16 of file SBStringList.h.
SBStringList::SBStringList | ( | ) |
Definition at line 17 of file SBStringList.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by AppendList(), operator=(), SBStringList(), and SBStructuredData.
SBStringList::SBStringList | ( | const lldb::SBStringList & | rhs | ) |
Definition at line 24 of file SBStringList.cpp.
References lldb_private::clone(), LLDB_INSTRUMENT_VA, m_opaque_up, and SBStringList().
|
default |
References AppendList(), AppendString(), Clear(), GetSize(), GetStringAtIndex(), and IsValid().
|
protected |
Definition at line 19 of file SBStringList.cpp.
References m_opaque_up.
void SBStringList::AppendList | ( | const char ** | strv, |
int | strc ) |
Definition at line 76 of file SBStringList.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_up.
Referenced by lldb::SBBreakpoint::GetCommandLineCommands(), lldb::SBBreakpointLocation::GetCommandLineCommands(), lldb::SBBreakpointName::GetCommandLineCommands(), lldb::SBCommandInterpreter::HandleCompletionWithDescriptions(), SBStructuredData, and ~SBStringList().
void SBStringList::AppendList | ( | const lldb::SBStringList & | strings | ) |
Definition at line 87 of file SBStringList.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_up, and SBStringList().
|
protected |
Definition at line 97 of file SBStringList.cpp.
References IsValid(), and m_opaque_up.
void SBStringList::AppendString | ( | const char * | str | ) |
Definition at line 65 of file SBStringList.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_up.
Referenced by lldb::SBTarget::GetBreakpointNames(), lldb::SBEnvironment::GetEntries(), lldb::SBBreakpoint::GetNames(), and ~SBStringList().
void SBStringList::Clear | ( | ) |
Definition at line 130 of file SBStringList.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_up.
Referenced by lldb::SBTarget::GetBreakpointNames(), and ~SBStringList().
uint32_t SBStringList::GetSize | ( | ) | const |
Definition at line 103 of file SBStringList.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_up.
Referenced by lldb::SBTarget::BreakpointCreateBySourceRegex(), lldb::SBTarget::BreakpointsCreateFromFile(), lldb::SBProcess::LoadImageUsingPaths(), lldb::SBBreakpoint::SetCommandLineCommands(), lldb::SBBreakpointLocation::SetCommandLineCommands(), lldb::SBBreakpointName::SetCommandLineCommands(), lldb::SBEnvironment::SetEntries(), and ~SBStringList().
const char * SBStringList::GetStringAtIndex | ( | size_t | idx | ) |
Definition at line 112 of file SBStringList.cpp.
References lldb_private::ConstString::GetCString(), IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_up.
Referenced by lldb::SBTarget::BreakpointCreateBySourceRegex(), lldb::SBTarget::BreakpointsCreateFromFile(), lldb::SBProcess::LoadImageUsingPaths(), lldb::SBEnvironment::SetEntries(), and ~SBStringList().
const char * SBStringList::GetStringAtIndex | ( | size_t | idx | ) | const |
Definition at line 121 of file SBStringList.cpp.
References lldb_private::ConstString::GetCString(), IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_up.
bool SBStringList::IsValid | ( | ) | const |
Definition at line 55 of file SBStringList.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by AppendList(), AppendList(), AppendList(), AppendString(), Clear(), GetSize(), GetStringAtIndex(), GetStringAtIndex(), operator->(), and ~SBStringList().
|
explicit |
Definition at line 59 of file SBStringList.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
|
protected |
Definition at line 51 of file SBStringList.cpp.
References m_opaque_up.
Referenced by SBStructuredData.
|
protected |
Definition at line 40 of file SBStringList.cpp.
References IsValid(), and m_opaque_up.
Referenced by SBStructuredData.
|
protected |
Definition at line 47 of file SBStringList.cpp.
References m_opaque_up.
const SBStringList & SBStringList::operator= | ( | const SBStringList & | rhs | ) |
Definition at line 30 of file SBStringList.cpp.
References lldb_private::clone(), LLDB_INSTRUMENT_VA, m_opaque_up, and SBStringList().
|
friend |
|
friend |
Definition at line 48 of file SBStringList.h.
References SBBreakpointLocation.
Referenced by SBBreakpointLocation.
|
friend |
Definition at line 49 of file SBStringList.h.
References SBBreakpointName.
Referenced by SBBreakpointName.
|
friend |
Definition at line 45 of file SBStringList.h.
References SBCommandInterpreter.
Referenced by SBCommandInterpreter.
|
friend |
|
friend |
Definition at line 50 of file SBStringList.h.
References AppendList(), operator*(), operator->(), SBStringList(), and SBStructuredData.
Referenced by SBStructuredData.
|
private |
Definition at line 63 of file SBStringList.h.
Referenced by AppendList(), AppendList(), AppendList(), AppendString(), Clear(), GetSize(), GetStringAtIndex(), GetStringAtIndex(), operator bool(), operator*(), operator->(), operator->(), operator=(), SBStringList(), and SBStringList().