9#ifndef LLDB_API_SBSTRUCTUREDDATA_H
10#define LLDB_API_SBSTRUCTUREDDATA_H
41 explicit operator bool()
const;
81 "Specify if the value is signed or unsigned",
82 "uint64_t GetUnsignedIntegerValue(uint64_t fail_value = 0)")
83 uint64_t GetIntegerValue(uint64_t fail_value = 0) const;
void SetStringValue(const char *value)
Change the type to string and overwrite the previous data with the new value.
lldb::SBStructuredData GetItemAtIndex(size_t idx) const
Return the value corresponding to an index if this data structure is array.
lldb::SBStructuredData & operator=(const lldb::SBStructuredData &rhs)
friend class SBLaunchInfo
int64_t GetSignedIntegerValue(int64_t fail_value=0) const
Return the integer value if this data structure is an integer type.
void SetGenericValue(SBScriptObject value)
Change the type to generic and overwrite the previous data with the new value.
lldb::SBError GetDescription(lldb::SBStream &stream) const
friend class lldb_private::python::SWIGBridge
friend class SBCommandReturnObject
void SetBooleanValue(bool value)
Change the type to boolean and overwrite the previous data with the new value.
size_t GetStringValue(char *dst, size_t dst_len) const
Provides the string value if this data structure is a string type.
lldb::SBScriptObject GetGenericValue() const
Return the generic pointer if this data structure is a generic type.
bool GetBooleanValue(bool fail_value=false) const
Return the boolean value if this data structure is a boolean type.
StructuredDataImplUP m_impl_up
void SetUnsignedIntegerValue(uint64_t value)
Change the type to unsigned interger and overwrite the previous data with the new value.
LLDB_DEPRECATED_FIXME("Specify if the value is signed or unsigned", "uint64_t GetUnsignedIntegerValue(uint64_t fail_value = 0)") uint64_t GetIntegerValue(uint64_t fail_value=0) const
lldb::StructuredDataType GetType() const
Return the type of data in this data structure.
friend class SBBreakpoint
uint64_t GetUnsignedIntegerValue(uint64_t fail_value=0) const
Return the integer value if this data structure is an integer type.
void SetSignedIntegerValue(int64_t value)
Change the type to signed interger and overwrite the previous data with the new value.
size_t GetSize() const
Return the size (i.e.
bool GetKeys(lldb::SBStringList &keys) const
Fill keys with the keys in this object and return true if this data structure is a dictionary.
friend class SBThreadPlan
lldb::SBError GetAsJSON(lldb::SBStream &stream) const
void SetFloatValue(double value)
Change the type to float and overwrite the previous data with the new value.
lldb::SBStructuredData GetValueForKey(const char *key) const
Return the value corresponding to a key if this data structure is a dictionary type.
lldb::SBError SetFromJSON(lldb::SBStream &stream)
double GetFloatValue(double fail_value=0.0) const
Return the floating point value if this data structure is a floating type.
friend class SBBreakpointName
friend class SBBreakpointLocation
friend class SBAttachInfo
friend class SBCommandInterpreter
void SetValueForKey(const char *key, SBStructuredData &value)
Set the value corresponding to a key.
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::Event > EventSP
std::unique_ptr< lldb_private::StructuredDataImpl > StructuredDataImplUP