LLDB mainline
|
#include <StructuredData.h>
Public Member Functions | |
Generic (void *object=nullptr) | |
void | SetValue (void *value) |
void * | GetValue () const |
bool | IsValid () const override |
void | Serialize (llvm::json::OStream &s) const override |
void | GetDescription (lldb_private::Stream &s) const override |
![]() | |
Object (lldb::StructuredDataType t=lldb::eStructuredDataTypeInvalid) | |
virtual | ~Object ()=default |
virtual bool | IsValid () const |
virtual void | Clear () |
lldb::StructuredDataType | GetType () const |
void | SetType (lldb::StructuredDataType t) |
Array * | GetAsArray () |
Dictionary * | GetAsDictionary () |
Integer * | GetAsInteger () |
uint64_t | GetIntegerValue (uint64_t fail_value=0) |
Float * | GetAsFloat () |
double | GetFloatValue (double fail_value=0.0) |
Boolean * | GetAsBoolean () |
bool | GetBooleanValue (bool fail_value=false) |
String * | GetAsString () |
llvm::StringRef | GetStringValue (const char *fail_value=nullptr) |
Generic * | GetAsGeneric () |
ObjectSP | GetObjectForDotSeparatedPath (llvm::StringRef path) |
void | DumpToStdout (bool pretty_print=true) const |
virtual void | Serialize (llvm::json::OStream &s) const =0 |
void | Dump (lldb_private::Stream &s, bool pretty_print=true) const |
virtual void | GetDescription (lldb_private::Stream &s) const |
Private Attributes | |
void * | m_object |
Definition at line 563 of file StructuredData.h.
|
inlineexplicit |
Definition at line 565 of file StructuredData.h.
|
overridevirtual |
Reimplemented from lldb_private::StructuredData::Object.
Definition at line 278 of file StructuredData.cpp.
References lldb_private::Stream::Printf().
|
inline |
Definition at line 570 of file StructuredData.h.
References m_object.
|
inlineoverridevirtual |
Reimplemented from lldb_private::StructuredData::Object.
Definition at line 572 of file StructuredData.h.
References m_object.
|
overridevirtual |
Implements lldb_private::StructuredData::Object.
Definition at line 183 of file StructuredData.cpp.
|
inline |
Definition at line 568 of file StructuredData.h.
References m_object.
|
private |
Definition at line 579 of file StructuredData.h.
Referenced by GetValue(), IsValid(), and SetValue().