|
LLDB mainline
|
#include <ScriptedMetadata.h>
Public Member Functions | |
| ScriptedMetadata (llvm::StringRef class_name, StructuredData::DictionarySP dict_sp) | |
| ScriptedMetadata (const ProcessInfo &process_info) | |
| ScriptedMetadata (const ScriptedMetadata &other)=default | |
| ScriptedMetadata & | operator= (const ScriptedMetadata &other)=default |
| operator bool () const | |
| llvm::StringRef | GetClassName () const |
| StructuredData::DictionarySP | GetArgsSP () const |
| const FileSpec & | GetSourcePath () const |
| void | SetSourcePath (const FileSpec &source_path) |
| uint32_t | GetHash () const |
| Get a unique identifier for this metadata based on its contents. | |
Private Attributes | |
| std::string | m_class_name |
| StructuredData::DictionarySP | m_args_sp |
| FileSpec | m_source_path |
Definition at line 19 of file ScriptedMetadata.h.
|
inline |
Definition at line 21 of file ScriptedMetadata.h.
References m_args_sp, and m_class_name.
Referenced by operator=(), and ScriptedMetadata().
|
inline |
Definition at line 25 of file ScriptedMetadata.h.
References lldb_private::ProcessInfo::GetScriptedMetadata(), m_args_sp, m_class_name, and m_source_path.
|
default |
References ScriptedMetadata().
|
inline |
Definition at line 40 of file ScriptedMetadata.h.
References m_args_sp.
Referenced by lldb_private::ScriptedThread::Create(), lldb_private::ScriptedBreakpointPythonInterface::CreatePluginObject(), lldb_private::ScriptedFrameProviderPythonInterface::CreatePluginObject(), lldb_private::ScriptedHookPythonInterface::CreatePluginObject(), lldb_private::ScriptedProcessPythonInterface::CreatePluginObject(), lldb_private::ScriptedThreadPlanPythonInterface::CreatePluginObject(), and lldb_private::ScriptedThreadPythonInterface::CreatePluginObject().
|
inline |
Definition at line 39 of file ScriptedMetadata.h.
References m_class_name.
Referenced by lldb_private::ScriptedPythonInterface::CreatePluginObject().
|
inline |
Get a unique identifier for this metadata based on its contents.
The ID is computed from the class name and arguments dictionary, not from the pointer address, so two metadata objects with the same contents will have the same ID.
Definition at line 51 of file ScriptedMetadata.h.
References lldb_private::StreamString::GetData(), m_args_sp, and m_class_name.
|
inline |
Definition at line 42 of file ScriptedMetadata.h.
References m_source_path.
|
inlineexplicit |
Definition at line 37 of file ScriptedMetadata.h.
References m_class_name.
|
default |
References ScriptedMetadata().
|
inline |
Definition at line 43 of file ScriptedMetadata.h.
References m_source_path.
|
private |
Definition at line 71 of file ScriptedMetadata.h.
Referenced by GetArgsSP(), GetHash(), ScriptedMetadata(), and ScriptedMetadata().
|
private |
Definition at line 70 of file ScriptedMetadata.h.
Referenced by GetClassName(), GetHash(), operator bool(), ScriptedMetadata(), and ScriptedMetadata().
|
private |
Definition at line 72 of file ScriptedMetadata.h.
Referenced by GetSourcePath(), ScriptedMetadata(), and SetSourcePath().