LLDB  mainline
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
lldb_private::BreakpointIDList Class Reference

#include <BreakpointIDList.h>

Collaboration diagram for lldb_private::BreakpointIDList:
Collaboration graph

Public Types

typedef std::vector< BreakpointIDBreakpointIDArray

Public Member Functions

 BreakpointIDList ()
virtual ~BreakpointIDList ()
size_t GetSize () const
const BreakpointIDGetBreakpointIDAtIndex (size_t index) const
bool RemoveBreakpointIDAtIndex (size_t index)
void Clear ()
bool AddBreakpointID (BreakpointID bp_id)
bool AddBreakpointID (const char *bp_id)
bool FindBreakpointID (BreakpointID &bp_id, size_t *position) const
bool FindBreakpointID (const char *bp_id, size_t *position) const
void InsertStringArray (llvm::ArrayRef< const char * > string_array, CommandReturnObject &result)

Static Public Member Functions

static std::pair< llvm::StringRef, llvm::StringRef > SplitIDRangeExpression (llvm::StringRef in_string)
static void FindAndReplaceIDRanges (Args &old_args, Target *target, bool allow_locations, BreakpointName::Permissions ::PermissionKinds purpose, CommandReturnObject &result, Args &new_args)

Private Member Functions

 BreakpointIDList (const BreakpointIDList &)=delete
const BreakpointIDListoperator= (const BreakpointIDList &)=delete

Private Attributes

BreakpointIDArray m_breakpoint_ids
BreakpointID m_invalid_id

Detailed Description

Definition at line 25 of file BreakpointIDList.h.

Member Typedef Documentation

◆ BreakpointIDArray

Definition at line 28 of file BreakpointIDList.h.

Constructor & Destructor Documentation

◆ BreakpointIDList() [1/2]

BreakpointIDList::BreakpointIDList ( )

Definition at line 23 of file BreakpointIDList.cpp.

◆ ~BreakpointIDList()

BreakpointIDList::~BreakpointIDList ( )

◆ BreakpointIDList() [2/2]

lldb_private::BreakpointIDList::BreakpointIDList ( const BreakpointIDList )

Member Function Documentation

◆ AddBreakpointID() [1/2]

bool BreakpointIDList::AddBreakpointID ( BreakpointID  bp_id)

◆ AddBreakpointID() [2/2]

bool BreakpointIDList::AddBreakpointID ( const char *  bp_id)

◆ Clear()

void BreakpointIDList::Clear ( )

Definition at line 44 of file BreakpointIDList.cpp.

References m_breakpoint_ids.

◆ FindAndReplaceIDRanges()

void BreakpointIDList::FindAndReplaceIDRanges ( Args old_args,
Target target,
bool  allow_locations,
BreakpointName::Permissions ::PermissionKinds  purpose,
CommandReturnObject result,
Args new_args 

◆ FindBreakpointID() [1/2]

bool BreakpointIDList::FindBreakpointID ( BreakpointID bp_id,
size_t *  position 
) const

◆ FindBreakpointID() [2/2]

bool BreakpointIDList::FindBreakpointID ( const char *  bp_id,
size_t *  position 
) const

◆ GetBreakpointIDAtIndex()

const BreakpointID & BreakpointIDList::GetBreakpointIDAtIndex ( size_t  index) const

◆ GetSize()

size_t BreakpointIDList::GetSize ( ) const

◆ InsertStringArray()

void BreakpointIDList::InsertStringArray ( llvm::ArrayRef< const char * >  string_array,
CommandReturnObject result 

◆ operator=()

const BreakpointIDList& lldb_private::BreakpointIDList::operator= ( const BreakpointIDList )

◆ RemoveBreakpointIDAtIndex()

bool BreakpointIDList::RemoveBreakpointIDAtIndex ( size_t  index)

Definition at line 36 of file BreakpointIDList.cpp.

References m_breakpoint_ids.

◆ SplitIDRangeExpression()

std::pair< llvm::StringRef, llvm::StringRef > BreakpointIDList::SplitIDRangeExpression ( llvm::StringRef  in_string)

Member Data Documentation

◆ m_breakpoint_ids

BreakpointIDArray lldb_private::BreakpointIDList::m_breakpoint_ids

◆ m_invalid_id

BreakpointID lldb_private::BreakpointIDList::m_invalid_id

Definition at line 69 of file BreakpointIDList.h.

Referenced by GetBreakpointIDAtIndex().

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