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 36 of file BreakpointName.h.
|
inline |
Definition at line 39 of file BreakpointName.h.
References allPerms, deletePerm, disablePerm, listPerm, m_permissions, m_set_mask, permissions_mask, and lldb_private::Flags::Set().
|
inline |
Definition at line 47 of file BreakpointName.h.
References deletePerm, disablePerm, listPerm, m_permissions, and m_set_mask.
|
inline |
Definition at line 55 of file BreakpointName.h.
References lldb_private::Flags::Clear(), deletePerm, disablePerm, listPerm, m_permissions, and m_set_mask.
Referenced by Clear().
|
inline |
Definition at line 109 of file BreakpointName.h.
References allPerms, lldb_private::Flags::AnySet(), m_set_mask, and permissions_mask.
Referenced by GetDescription().
|
inline |
Definition at line 74 of file BreakpointName.h.
References Permissions().
|
inline |
Definition at line 90 of file BreakpointName.h.
References deletePerm, and GetPermission().
Referenced by lldb_private::Breakpoint::AllowDelete(), lldb::SBBreakpointName::GetAllowDelete(), and GetDescription().
|
inline |
Definition at line 93 of file BreakpointName.h.
References disablePerm, and GetPermission().
Referenced by lldb_private::Breakpoint::AllowDisable(), lldb::SBBreakpointName::GetAllowDisable(), and GetDescription().
|
inline |
Definition at line 87 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 31 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 97 of file BreakpointName.h.
References m_permissions.
Referenced by GetAllowDelete(), GetAllowDisable(), GetAllowList(), and lldb_private::BreakpointName::GetPermission().
|
inline |
Definition at line 104 of file BreakpointName.h.
References m_set_mask, permissions_mask, and lldb_private::Flags::Test().
Referenced by GetDescription(), and MergePermission().
|
inline |
Definition at line 80 of file BreakpointName.h.
References deletePerm, disablePerm, listPerm, and MergePermission().
Referenced by lldb_private::Target::ConfigureBreakpointName().
|
inlineprivate |
Definition at line 128 of file BreakpointName.h.
References IsSet(), m_permissions, and SetPermission().
Referenced by MergeInto().
|
inline |
Definition at line 63 of file BreakpointName.h.
References deletePerm, disablePerm, listPerm, m_permissions, and m_set_mask.
|
inline |
Definition at line 91 of file BreakpointName.h.
References deletePerm, and SetPermission().
Referenced by lldb::SBBreakpointName::SetAllowDelete(), and BreakpointAccessOptionGroup::SetOptionValue().
|
inline |
Definition at line 94 of file BreakpointName.h.
References disablePerm, and SetPermission().
Referenced by lldb::SBBreakpointName::SetAllowDisable(), and BreakpointAccessOptionGroup::SetOptionValue().
|
inline |
Definition at line 88 of file BreakpointName.h.
References listPerm, and SetPermission().
Referenced by lldb::SBBreakpointName::SetAllowList(), and BreakpointAccessOptionGroup::SetOptionValue().
|
inlineprivate |
Definition at line 119 of file BreakpointName.h.
References m_permissions, m_set_mask, permissions_mask, and lldb_private::Flags::Set().
Referenced by MergePermission(), SetAllowDelete(), SetAllowDisable(), and SetAllowList().
|
private |
Definition at line 116 of file BreakpointName.h.
Referenced by GetPermission(), MergePermission(), operator=(), Permissions(), and SetPermission().
|
private |
Definition at line 117 of file BreakpointName.h.
Referenced by AnySet(), IsSet(), operator=(), Permissions(), and SetPermission().
|
staticprivate |
Definition at line 114 of file BreakpointName.h.
Referenced by AnySet(), IsSet(), Permissions(), and SetPermission().