LLDB  mainline
Public Member Functions | List of all members
lldb_private::StructuredDataImpl Class Reference

#include <StructuredDataImpl.h>

Public Member Functions

 StructuredDataImpl ()
 
 StructuredDataImpl (const StructuredDataImpl &rhs)=default
 
 StructuredDataImpl (const lldb::EventSP &event_sp)
 
 ~StructuredDataImpl ()=default
 
StructuredDataImploperator= (const StructuredDataImpl &rhs)=default
 
bool IsValid () const
 
void Clear ()
 
Status GetAsJSON (Stream &stream) const
 
Status GetDescription (Stream &stream) const
 
StructuredData::ObjectSP GetObjectSP ()
 
void SetObjectSP (const StructuredData::ObjectSP &obj)
 
lldb::StructuredDataType GetType () const
 
size_t GetSize () const
 
StructuredData::ObjectSP GetValueForKey (const char *key) const
 
StructuredData::ObjectSP GetItemAtIndex (size_t idx) const
 
uint64_t GetIntegerValue (uint64_t fail_value=0) const
 
double GetFloatValue (double fail_value=0.0) const
 
bool GetBooleanValue (bool fail_value=false) const
 
size_t GetStringValue (char *dst, size_t dst_len) const
 

Detailed Description

Definition at line 26 of file StructuredDataImpl.h.

Constructor & Destructor Documentation

◆ StructuredDataImpl() [1/3]

lldb_private::StructuredDataImpl::StructuredDataImpl ( )
inline

Definition at line 28 of file StructuredDataImpl.h.

◆ StructuredDataImpl() [2/3]

lldb_private::StructuredDataImpl::StructuredDataImpl ( const StructuredDataImpl rhs)
default

◆ StructuredDataImpl() [3/3]

lldb_private::StructuredDataImpl::StructuredDataImpl ( const lldb::EventSP &  event_sp)
inline

Definition at line 32 of file StructuredDataImpl.h.

References operator=(), and ~StructuredDataImpl().

◆ ~StructuredDataImpl()

lldb_private::StructuredDataImpl::~StructuredDataImpl ( )
default

Referenced by StructuredDataImpl().

Member Function Documentation

◆ Clear()

void lldb_private::StructuredDataImpl::Clear ( )
inline

Definition at line 44 of file StructuredDataImpl.h.

◆ GetAsJSON()

Status lldb_private::StructuredDataImpl::GetAsJSON ( Stream stream) const
inline

Definition at line 49 of file StructuredDataImpl.h.

References lldb_private::Status::SetErrorString().

◆ GetBooleanValue()

bool lldb_private::StructuredDataImpl::GetBooleanValue ( bool  fail_value = false) const
inline

Definition at line 131 of file StructuredDataImpl.h.

◆ GetDescription()

Status lldb_private::StructuredDataImpl::GetDescription ( Stream stream) const
inline

Definition at line 61 of file StructuredDataImpl.h.

References lldb_private::Status::SetErrorString().

◆ GetFloatValue()

double lldb_private::StructuredDataImpl::GetFloatValue ( double  fail_value = 0.0) const
inline

Definition at line 127 of file StructuredDataImpl.h.

◆ GetIntegerValue()

uint64_t lldb_private::StructuredDataImpl::GetIntegerValue ( uint64_t  fail_value = 0) const
inline

Definition at line 123 of file StructuredDataImpl.h.

◆ GetItemAtIndex()

StructuredData::ObjectSP lldb_private::StructuredDataImpl::GetItemAtIndex ( size_t  idx) const
inline

Definition at line 114 of file StructuredDataImpl.h.

◆ GetObjectSP()

StructuredData::ObjectSP lldb_private::StructuredDataImpl::GetObjectSP ( )
inline

Definition at line 82 of file StructuredDataImpl.h.

◆ GetSize()

size_t lldb_private::StructuredDataImpl::GetSize ( ) const
inline

◆ GetStringValue()

size_t lldb_private::StructuredDataImpl::GetStringValue ( char *  dst,
size_t  dst_len 
) const
inline

Definition at line 135 of file StructuredDataImpl.h.

◆ GetType()

lldb::StructuredDataType lldb_private::StructuredDataImpl::GetType ( ) const
inline

Definition at line 86 of file StructuredDataImpl.h.

References lldb::eStructuredDataTypeInvalid.

◆ GetValueForKey()

StructuredData::ObjectSP lldb_private::StructuredDataImpl::GetValueForKey ( const char *  key) const
inline

Definition at line 105 of file StructuredDataImpl.h.

◆ IsValid()

bool lldb_private::StructuredDataImpl::IsValid ( ) const
inline

Definition at line 42 of file StructuredDataImpl.h.

◆ operator=()

StructuredDataImpl& lldb_private::StructuredDataImpl::operator= ( const StructuredDataImpl rhs)
default

Referenced by StructuredDataImpl().

◆ SetObjectSP()

void lldb_private::StructuredDataImpl::SetObjectSP ( const StructuredData::ObjectSP obj)
inline

Definition at line 84 of file StructuredDataImpl.h.


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