LLDB mainline
Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
lldb::SBScriptObject Class Reference

#include <SBScriptObject.h>

Public Member Functions

 SBScriptObject (const ScriptObjectPtr ptr, lldb::ScriptLanguage lang)
 
 SBScriptObject (const lldb::SBScriptObject &rhs)
 
 ~SBScriptObject ()
 
const lldb::SBScriptObjectoperator= (const lldb::SBScriptObject &rhs)
 
 operator bool () const
 
bool operator!= (const SBScriptObject &rhs) const
 
bool IsValid () const
 
lldb::ScriptObjectPtr GetPointer () const
 
lldb::ScriptLanguage GetLanguage () const
 

Protected Member Functions

lldb_private::ScriptObjectget ()
 
lldb_private::ScriptObjectref ()
 
const lldb_private::ScriptObjectref () const
 

Private Attributes

std::unique_ptr< lldb_private::ScriptObjectm_opaque_up
 

Friends

class SBStructuredData
 

Detailed Description

Definition at line 20 of file SBScriptObject.h.

Constructor & Destructor Documentation

◆ SBScriptObject() [1/2]

SBScriptObject::SBScriptObject ( const ScriptObjectPtr  ptr,
lldb::ScriptLanguage  lang 
)

Definition at line 19 of file SBScriptObject.cpp.

References LLDB_INSTRUMENT_VA.

◆ SBScriptObject() [2/2]

SBScriptObject::SBScriptObject ( const lldb::SBScriptObject rhs)

Definition at line 25 of file SBScriptObject.cpp.

References lldb_private::clone(), LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ ~SBScriptObject()

SBScriptObject::~SBScriptObject ( )
default

Member Function Documentation

◆ get()

ScriptObject * SBScriptObject::get ( )
protected

Definition at line 84 of file SBScriptObject.cpp.

References m_opaque_up.

◆ GetLanguage()

lldb::ScriptLanguage SBScriptObject::GetLanguage ( ) const

◆ GetPointer()

lldb::ScriptObjectPtr SBScriptObject::GetPointer ( ) const

Definition at line 59 of file SBScriptObject.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ IsValid()

bool SBScriptObject::IsValid ( ) const

Definition at line 47 of file SBScriptObject.cpp.

References LLDB_INSTRUMENT_VA.

Referenced by lldb::SBStructuredData::SBStructuredData().

◆ operator bool()

SBScriptObject::operator bool ( ) const
explicit

Definition at line 53 of file SBScriptObject.cpp.

References LLDB_INSTRUMENT_VA.

◆ operator!=()

bool SBScriptObject::operator!= ( const SBScriptObject rhs) const

Definition at line 41 of file SBScriptObject.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ operator=()

const SBScriptObject & SBScriptObject::operator= ( const lldb::SBScriptObject rhs)

Definition at line 33 of file SBScriptObject.cpp.

References lldb_private::clone(), LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ ref() [1/2]

ScriptObject & SBScriptObject::ref ( )
protected

Definition at line 71 of file SBScriptObject.cpp.

References lldb::eScriptLanguageNone, and m_opaque_up.

Referenced by lldb::SBStructuredData::SBStructuredData().

◆ ref() [2/2]

const ScriptObject & SBScriptObject::ref ( ) const
protected

Definition at line 77 of file SBScriptObject.cpp.

References m_opaque_up.

Friends And Related Function Documentation

◆ SBStructuredData

friend class SBStructuredData
friend

Definition at line 41 of file SBScriptObject.h.

Member Data Documentation

◆ m_opaque_up

std::unique_ptr<lldb_private::ScriptObject> lldb::SBScriptObject::m_opaque_up
private

Definition at line 50 of file SBScriptObject.h.

Referenced by get(), GetLanguage(), GetPointer(), operator!=(), operator=(), ref(), and SBScriptObject().


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