LLDB  mainline
Public Member Functions | Protected Member Functions | 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)
 
const lldb_private::StringListoperator-> () const
 
const lldb_private::StringListoperator* () const
 

Friends

class SBCommandInterpreter
 
class SBDebugger
 
class SBBreakpoint
 
class SBBreakpointLocation
 
class SBBreakpointName
 

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_RECORD_CONSTRUCTOR_NO_ARGS.

◆ SBStringList() [2/3]

SBStringList::SBStringList ( const lldb::SBStringList rhs)

Definition at line 27 of file SBStringList.cpp.

References lldb_private::clone(), and LLDB_RECORD_CONSTRUCTOR.

◆ ~SBStringList()

SBStringList::~SBStringList ( )

Definition at line 42 of file SBStringList.cpp.

◆ SBStringList() [3/3]

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

Definition at line 21 of file SBStringList.cpp.

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 85 of file SBStringList.cpp.

References AppendList(), IsValid(), and LLDB_RECORD_METHOD.

◆ AppendList() [3/3]

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

Definition at line 96 of file SBStringList.cpp.

References IsValid().

◆ AppendString()

void SBStringList::AppendString ( const char *  str)

◆ Clear()

void SBStringList::Clear ( )

◆ 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

Definition at line 121 of file SBStringList.cpp.

References GetStringAtIndex(), IsValid(), and LLDB_RECORD_METHOD_CONST.

◆ IsValid()

bool SBStringList::IsValid ( ) const

◆ operator bool()

SBStringList::operator bool ( ) const
explicit

Definition at line 56 of file SBStringList.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS.

◆ operator*()

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

Definition at line 48 of file SBStringList.cpp.

◆ operator->()

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

Definition at line 44 of file SBStringList.cpp.

◆ operator=()

const SBStringList & SBStringList::operator= ( const SBStringList rhs)

Definition at line 33 of file SBStringList.cpp.

References lldb_private::clone(), LLDB_RECORD_METHOD, and LLDB_RECORD_RESULT.

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.


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