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

Public Member Functions

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

Detailed Description

Definition at line 545 of file StructuredData.h.

Constructor & Destructor Documentation

◆ Null()

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

Definition at line 547 of file StructuredData.h.

◆ ~Null()

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

Member Function Documentation

◆ GetDescription()

void StructuredData::Null::GetDescription ( lldb_private::Stream s) const

Reimplemented from lldb_private::StructuredData::Object.

Definition at line 285 of file StructuredData.cpp.

References lldb_private::Stream::Printf().

◆ IsValid()

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

Reimplemented from lldb_private::StructuredData::Object.

Definition at line 551 of file StructuredData.h.

◆ Serialize()

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

Implements lldb_private::StructuredData::Object.

Definition at line 183 of file StructuredData.cpp.

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