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.
SBStringList::SBStringList | ( | const lldb::SBStringList & | rhs | ) |
Definition at line 24 of file SBStringList.cpp.
References lldb_private::clone(), LLDB_INSTRUMENT_VA, and m_opaque_up.
|
default |
|
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::SBBreakpointLocation::GetCommandLineCommands(), lldb::SBBreakpointName::GetCommandLineCommands(), lldb::SBBreakpoint::GetCommandLineCommands(), and lldb::SBCommandInterpreter::HandleCompletionWithDescriptions().
void SBStringList::AppendList | ( | const lldb::SBStringList & | strings | ) |
Definition at line 87 of file SBStringList.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_up.
|
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(), and lldb::SBBreakpoint::GetNames().
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().
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::SBBreakpointLocation::SetCommandLineCommands(), lldb::SBBreakpointName::SetCommandLineCommands(), lldb::SBBreakpoint::SetCommandLineCommands(), and lldb::SBEnvironment::SetEntries().
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(), and lldb::SBEnvironment::SetEntries().
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(), AppendString(), Clear(), GetSize(), GetStringAtIndex(), and operator->().
|
explicit |
Definition at line 59 of file SBStringList.cpp.
References LLDB_INSTRUMENT_VA.
|
protected |
Definition at line 51 of file SBStringList.cpp.
References m_opaque_up.
|
protected |
Definition at line 40 of file SBStringList.cpp.
References IsValid(), and m_opaque_up.
|
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, and m_opaque_up.
|
friend |
Definition at line 47 of file SBStringList.h.
|
friend |
Definition at line 48 of file SBStringList.h.
|
friend |
Definition at line 49 of file SBStringList.h.
|
friend |
Definition at line 45 of file SBStringList.h.
|
friend |
Definition at line 46 of file SBStringList.h.
|
friend |
Definition at line 50 of file SBStringList.h.
|
private |
Definition at line 63 of file SBStringList.h.
Referenced by AppendList(), AppendString(), Clear(), GetSize(), GetStringAtIndex(), operator*(), operator->(), operator=(), and SBStringList().