LLDB mainline
Public Member Functions | Protected Attributes | List of all members
lldb_private::StructuredData::Integer< N > Class Template Reference
Inheritance diagram for lldb_private::StructuredData::Integer< N >:
Inheritance graph
[legend]

Public Member Functions

 Integer (N i=0)
 
 ~Integer () override=default
 
void SetValue (N value)
 
GetValue ()
 
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
 

Protected Attributes

m_value
 

Detailed Description

template<typename N>
class lldb_private::StructuredData::Integer< N >

Definition at line 299 of file StructuredData.h.

Constructor & Destructor Documentation

◆ Integer()

template<typename N >
lldb_private::StructuredData::Integer< N >::Integer ( i = 0)
inline

Definition at line 303 of file StructuredData.h.

◆ ~Integer()

template<typename N >
lldb_private::StructuredData::Integer< N >::~Integer ( )
overridedefault

Member Function Documentation

◆ GetDescription()

template<typename N >
void lldb_private::StructuredData::Integer< N >::GetDescription ( lldb_private::Stream s) const
inlineoverridevirtual

◆ GetValue()

template<typename N >
N lldb_private::StructuredData::Integer< N >::GetValue ( )
inline

◆ Serialize()

template<typename N >
void lldb_private::StructuredData::Integer< N >::Serialize ( llvm::json::OStream &  s) const
inlineoverridevirtual

◆ SetValue()

template<typename N >
void lldb_private::StructuredData::Integer< N >::SetValue ( value)
inline

Member Data Documentation

◆ m_value

template<typename N >
N lldb_private::StructuredData::Integer< N >::m_value
protected

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