LLDB mainline
lldb_private::python::StructuredPythonObject Class Reference

#include <PythonDataObjects.h>

Inheritance diagram for lldb_private::python::StructuredPythonObject:
[legend]

Public Member Functions

 StructuredPythonObject ()
 StructuredPythonObject (PythonObject obj)
 ~StructuredPythonObject () override
bool IsValid () const override
void Serialize (llvm::json::OStream &s) const override
Public Member Functions inherited from lldb_private::StructuredData::Generic
 Generic (void *object=nullptr)
void SetValue (void *value)
void * GetValue () const
void GetDescription (lldb_private::Stream &s) const override
Public Member Functions inherited from lldb_private::StructuredData::Object
 Object (lldb::StructuredDataType t=lldb::eStructuredDataTypeInvalid)
virtual ~Object ()=default
virtual void Clear ()
lldb::StructuredDataType GetType () const
void SetType (lldb::StructuredDataType t)
ArrayGetAsArray ()
DictionaryGetAsDictionary ()
UnsignedIntegerGetAsUnsignedInteger ()
SignedIntegerGetAsSignedInteger ()
uint64_t GetUnsignedIntegerValue (uint64_t fail_value=0)
int64_t GetSignedIntegerValue (int64_t fail_value=0)
FloatGetAsFloat ()
double GetFloatValue (double fail_value=0.0)
BooleanGetAsBoolean ()
bool GetBooleanValue (bool fail_value=false)
StringGetAsString ()
llvm::StringRef GetStringValue (const char *fail_value=nullptr)
GenericGetAsGeneric ()
ObjectSP GetObjectForDotSeparatedPath (llvm::StringRef path)
void DumpToStdout (bool pretty_print=true) const
void Dump (lldb_private::Stream &s, bool pretty_print=true) const

Private Member Functions

 StructuredPythonObject (const StructuredPythonObject &)=delete
const StructuredPythonObjectoperator= (const StructuredPythonObject &)=delete

Detailed Description

Definition at line 747 of file PythonDataObjects.h.

Constructor & Destructor Documentation

◆ StructuredPythonObject() [1/3]

lldb_private::python::StructuredPythonObject::StructuredPythonObject ( )
inline

◆ StructuredPythonObject() [2/3]

lldb_private::python::StructuredPythonObject::StructuredPythonObject ( PythonObject obj)
inline

◆ ~StructuredPythonObject()

lldb_private::python::StructuredPythonObject::~StructuredPythonObject ( )
inlineoverride

◆ StructuredPythonObject() [3/3]

lldb_private::python::StructuredPythonObject::StructuredPythonObject ( const StructuredPythonObject & )
privatedelete

Member Function Documentation

◆ IsValid()

bool lldb_private::python::StructuredPythonObject::IsValid ( ) const
inlineoverridevirtual

◆ operator=()

const StructuredPythonObject & lldb_private::python::StructuredPythonObject::operator= ( const StructuredPythonObject & )
privatedelete

◆ Serialize()

void StructuredPythonObject::Serialize ( llvm::json::OStream & s) const
overridevirtual

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