LLDB mainline
|
#include <BreakpointName.h>
Public Types | |
enum | PermissionKinds { listPerm = 0 , disablePerm = 1 , deletePerm = 2 , allPerms = 3 } |
Public Member Functions | |
Permissions (bool in_list, bool in_disable, bool in_delete) | |
Permissions (const Permissions &rhs) | |
Permissions () | |
const Permissions & | operator= (const Permissions &rhs) |
void | Clear () |
void | MergeInto (const Permissions &incoming) |
bool | GetAllowList () const |
bool | SetAllowList (bool value) |
bool | GetAllowDelete () const |
bool | SetAllowDelete (bool value) |
bool | GetAllowDisable () const |
bool | SetAllowDisable (bool value) |
bool | GetPermission (enum PermissionKinds permission) const |
bool | GetDescription (Stream *s, lldb::DescriptionLevel level) |
bool | IsSet (enum PermissionKinds permission) const |
bool | AnySet () |
Private Member Functions | |
bool | SetPermission (enum PermissionKinds permission, bool value) |
void | MergePermission (const Permissions &incoming, enum PermissionKinds permission) |
Private Attributes | |
bool | m_permissions [allPerms] |
Flags | m_set_mask |
Static Private Attributes | |
static const Flags::ValueType | permissions_mask [allPerms+1] |
Definition at line 32 of file BreakpointName.h.
Enumerator | |
---|---|
listPerm | |
disablePerm | |
deletePerm | |
allPerms |
Definition at line 35 of file BreakpointName.h.
|
inline |
Definition at line 42 of file BreakpointName.h.
References allPerms, deletePerm, disablePerm, listPerm, m_permissions, m_set_mask, and permissions_mask.
Referenced by MergeInto(), MergePermission(), operator=(), and Permissions().
|
inline |
Definition at line 49 of file BreakpointName.h.
References deletePerm, disablePerm, listPerm, m_permissions, m_set_mask, and Permissions().
|
inline |
Definition at line 57 of file BreakpointName.h.
References deletePerm, disablePerm, listPerm, m_permissions, and m_set_mask.
Referenced by Clear().
|
inline |
Definition at line 111 of file BreakpointName.h.
References allPerms, m_set_mask, and permissions_mask.
Referenced by GetDescription().
|
inline |
Definition at line 75 of file BreakpointName.h.
References Permissions().
|
inline |
Definition at line 91 of file BreakpointName.h.
References deletePerm, and GetPermission().
Referenced by lldb_private::Breakpoint::AllowDelete(), lldb::SBBreakpointName::GetAllowDelete(), and GetDescription().
|
inline |
Definition at line 94 of file BreakpointName.h.
References disablePerm, and GetPermission().
Referenced by lldb_private::Breakpoint::AllowDisable(), lldb::SBBreakpointName::GetAllowDisable(), and GetDescription().
|
inline |
Definition at line 88 of file BreakpointName.h.
References GetPermission(), and listPerm.
Referenced by lldb_private::Breakpoint::AllowList(), lldb::SBBreakpointName::GetAllowList(), and GetDescription().
bool BreakpointName::Permissions::GetDescription | ( | Stream * | s, |
lldb::DescriptionLevel | level ) |
Definition at line 27 of file BreakpointName.cpp.
References AnySet(), deletePerm, disablePerm, GetAllowDelete(), GetAllowDisable(), GetAllowList(), lldb_private::Stream::Indent(), lldb_private::Stream::IndentLess(), lldb_private::Stream::IndentMore(), IsSet(), listPerm, and lldb_private::Stream::Printf().
Referenced by lldb_private::BreakpointName::GetDescription().
|
inline |
Definition at line 99 of file BreakpointName.h.
References m_permissions.
Referenced by GetAllowDelete(), GetAllowDisable(), and GetAllowList().
|
inline |
Definition at line 106 of file BreakpointName.h.
References m_set_mask, and permissions_mask.
Referenced by GetDescription(), and MergePermission().
|
inline |
Definition at line 81 of file BreakpointName.h.
References deletePerm, disablePerm, listPerm, MergePermission(), and Permissions().
Referenced by lldb_private::Target::ConfigureBreakpointName().
|
inlineprivate |
Definition at line 130 of file BreakpointName.h.
References IsSet(), m_permissions, Permissions(), and SetPermission().
Referenced by MergeInto().
|
inline |
Definition at line 64 of file BreakpointName.h.
References deletePerm, disablePerm, listPerm, m_permissions, m_set_mask, and Permissions().
Definition at line 92 of file BreakpointName.h.
References deletePerm, and SetPermission().
Referenced by lldb::SBBreakpointName::SetAllowDelete().
Definition at line 95 of file BreakpointName.h.
References disablePerm, and SetPermission().
Referenced by lldb::SBBreakpointName::SetAllowDisable().
Definition at line 89 of file BreakpointName.h.
References listPerm, and SetPermission().
Referenced by lldb::SBBreakpointName::SetAllowList().
|
inlineprivate |
Definition at line 121 of file BreakpointName.h.
References m_permissions, m_set_mask, and permissions_mask.
Referenced by MergePermission(), SetAllowDelete(), SetAllowDisable(), and SetAllowList().
Definition at line 118 of file BreakpointName.h.
Referenced by GetPermission(), MergePermission(), operator=(), Permissions(), Permissions(), Permissions(), and SetPermission().
|
private |
Definition at line 119 of file BreakpointName.h.
Referenced by AnySet(), IsSet(), operator=(), Permissions(), Permissions(), Permissions(), and SetPermission().
|
staticprivate |
Definition at line 116 of file BreakpointName.h.
Referenced by AnySet(), IsSet(), Permissions(), and SetPermission().