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

#include <StructuredData.h>

Inheritance diagram for lldb_private::StructuredData::Null:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::StructuredData::Null:
Collaboration graph
[legend]

Public Member Functions

 Null ()
 
 ~Null () override=default
 
bool IsValid () const override
 
void Serialize (llvm::json::OStream &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 ()
 
IntegerGetAsInteger ()
 
uint64_t GetIntegerValue (uint64_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
 

Detailed Description

Definition at line 522 of file StructuredData.h.

Constructor & Destructor Documentation

◆ Null()

lldb_private::StructuredData::Null::Null ( )
inline

Definition at line 524 of file StructuredData.h.

◆ ~Null()

lldb_private::StructuredData::Null::~Null ( )
overridedefault

Member Function Documentation

◆ IsValid()

bool lldb_private::StructuredData::Null::IsValid ( ) const
inlineoverridevirtual

Reimplemented from lldb_private::StructuredData::Object.

Definition at line 528 of file StructuredData.h.

◆ Serialize()

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

Implements lldb_private::StructuredData::Object.

Definition at line 168 of file StructuredData.cpp.


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