LLDB mainline
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
lldb_private::ScriptedInterface Class Referenceabstract

#include <ScriptedInterface.h>

Inheritance diagram for lldb_private::ScriptedInterface:
Inheritance graph
[legend]

Public Member Functions

 ScriptedInterface ()=default
 
virtual ~ScriptedInterface ()=default
 
StructuredData::GenericSP GetScriptObjectInstance ()
 
virtual llvm::SmallVector< llvm::StringLiteral > GetAbstractMethods () const =0
 

Static Public Member Functions

template<typename Ret >
static Ret ErrorWithMessage (llvm::StringRef caller_name, llvm::StringRef error_msg, Status &error, LLDBLog log_caterogy=LLDBLog::Process)
 
template<typename T = StructuredData::ObjectSP>
static bool CheckStructuredDataObject (llvm::StringRef caller, T obj, Status &error)
 
static bool CreateInstance (lldb::ScriptLanguage language, ScriptedInterfaceUsages usages)
 

Protected Attributes

StructuredData::GenericSP m_object_instance_sp
 

Detailed Description

Definition at line 25 of file ScriptedInterface.h.

Constructor & Destructor Documentation

◆ ScriptedInterface()

lldb_private::ScriptedInterface::ScriptedInterface ( )
default

◆ ~ScriptedInterface()

virtual lldb_private::ScriptedInterface::~ScriptedInterface ( )
virtualdefault

Member Function Documentation

◆ CheckStructuredDataObject()

template<typename T = StructuredData::ObjectSP>
static bool lldb_private::ScriptedInterface::CheckStructuredDataObject ( llvm::StringRef  caller,
obj,
Status error 
)
inlinestatic

Definition at line 56 of file ScriptedInterface.h.

References error().

◆ CreateInstance()

static bool lldb_private::ScriptedInterface::CreateInstance ( lldb::ScriptLanguage  language,
ScriptedInterfaceUsages  usages 
)
inlinestatic

Definition at line 73 of file ScriptedInterface.h.

◆ ErrorWithMessage()

template<typename Ret >
static Ret lldb_private::ScriptedInterface::ErrorWithMessage ( llvm::StringRef  caller_name,
llvm::StringRef  error_msg,
Status error,
LLDBLog  log_caterogy = LLDBLog::Process 
)
inlinestatic

◆ GetAbstractMethods()

virtual llvm::SmallVector< llvm::StringLiteral > lldb_private::ScriptedInterface::GetAbstractMethods ( ) const
pure virtual

◆ GetScriptObjectInstance()

StructuredData::GenericSP lldb_private::ScriptedInterface::GetScriptObjectInstance ( )
inline

Member Data Documentation

◆ m_object_instance_sp

StructuredData::GenericSP lldb_private::ScriptedInterface::m_object_instance_sp
protected

Definition at line 79 of file ScriptedInterface.h.

Referenced by GetScriptObjectInstance().


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