LLDB  mainline
Public Member Functions | Protected Attributes | List of all members
lldb_private::StructuredData::Integer Class Reference

#include <StructuredData.h>

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

Public Member Functions

 Integer (uint64_t i=0)
 
 ~Integer () override=default
 
void SetValue (uint64_t value)
 
uint64_t GetValue ()
 
void Dump (Stream &s, bool pretty_print=true) 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 ()
 
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
 

Protected Attributes

uint64_t m_value
 

Detailed Description

Definition at line 281 of file StructuredData.h.

Constructor & Destructor Documentation

◆ Integer()

lldb_private::StructuredData::Integer::Integer ( uint64_t  i = 0)
inline

Definition at line 283 of file StructuredData.h.

◆ ~Integer()

lldb_private::StructuredData::Integer::~Integer ( )
overridedefault

Member Function Documentation

◆ Dump()

void StructuredData::Integer::Dump ( Stream s,
bool  pretty_print = true 
) const
overridevirtual

◆ GetValue()

uint64_t lldb_private::StructuredData::Integer::GetValue ( )
inline

◆ SetValue()

void lldb_private::StructuredData::Integer::SetValue ( uint64_t  value)
inline

Definition at line 288 of file StructuredData.h.

Member Data Documentation

◆ m_value

uint64_t lldb_private::StructuredData::Integer::m_value
protected

Definition at line 295 of file StructuredData.h.


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