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

#include <SBStringList.h>

Public Member Functions

 SBStringList ()
 
 SBStringList (const lldb::SBStringList &rhs)
 
const SBStringListoperator= (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::StringListoperator-> ()
 
const lldb_private::StringListoperator-> () const
 
const lldb_private::StringListoperator* () const
 

Private Attributes

std::unique_ptr< lldb_private::StringListm_opaque_up
 

Friends

class SBCommandInterpreter
 
class SBDebugger
 
class SBBreakpoint
 
class SBBreakpointLocation
 
class SBBreakpointName
 
class SBStructuredData
 

Detailed Description

Definition at line 16 of file SBStringList.h.

Constructor & Destructor Documentation

◆ SBStringList() [1/3]

SBStringList::SBStringList ( )

Definition at line 17 of file SBStringList.cpp.

References LLDB_INSTRUMENT_VA.

◆ SBStringList() [2/3]

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.

◆ ~SBStringList()

SBStringList::~SBStringList ( )
default

◆ SBStringList() [3/3]

SBStringList::SBStringList ( const lldb_private::StringList lldb_strings)
protected

Definition at line 19 of file SBStringList.cpp.

References m_opaque_up.

Member Function Documentation

◆ AppendList() [1/3]

void SBStringList::AppendList ( const char **  strv,
int  strc 
)

◆ AppendList() [2/3]

void SBStringList::AppendList ( const lldb::SBStringList strings)

Definition at line 87 of file SBStringList.cpp.

References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ AppendList() [3/3]

void SBStringList::AppendList ( const lldb_private::StringList strings)
protected

Definition at line 97 of file SBStringList.cpp.

References IsValid(), and m_opaque_up.

◆ AppendString()

void SBStringList::AppendString ( const char *  str)

◆ Clear()

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().

◆ GetSize()

uint32_t SBStringList::GetSize ( ) const

◆ GetStringAtIndex() [1/2]

const char * SBStringList::GetStringAtIndex ( size_t  idx)

◆ GetStringAtIndex() [2/2]

const char * SBStringList::GetStringAtIndex ( size_t  idx) const

◆ IsValid()

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->().

◆ operator bool()

SBStringList::operator bool ( ) const
explicit

Definition at line 59 of file SBStringList.cpp.

References LLDB_INSTRUMENT_VA.

◆ operator*()

const lldb_private::StringList & SBStringList::operator* ( ) const
protected

Definition at line 51 of file SBStringList.cpp.

References m_opaque_up.

◆ operator->() [1/2]

lldb_private::StringList * SBStringList::operator-> ( )
protected

Definition at line 40 of file SBStringList.cpp.

References IsValid(), and m_opaque_up.

◆ operator->() [2/2]

const lldb_private::StringList * SBStringList::operator-> ( ) const
protected

Definition at line 47 of file SBStringList.cpp.

References m_opaque_up.

◆ operator=()

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.

Friends And Related Function Documentation

◆ SBBreakpoint

friend class SBBreakpoint
friend

Definition at line 47 of file SBStringList.h.

◆ SBBreakpointLocation

friend class SBBreakpointLocation
friend

Definition at line 48 of file SBStringList.h.

◆ SBBreakpointName

friend class SBBreakpointName
friend

Definition at line 49 of file SBStringList.h.

◆ SBCommandInterpreter

friend class SBCommandInterpreter
friend

Definition at line 45 of file SBStringList.h.

◆ SBDebugger

friend class SBDebugger
friend

Definition at line 46 of file SBStringList.h.

◆ SBStructuredData

friend class SBStructuredData
friend

Definition at line 50 of file SBStringList.h.

Member Data Documentation

◆ m_opaque_up

std::unique_ptr<lldb_private::StringList> lldb::SBStringList::m_opaque_up
private

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