LLDB mainline
|
Public Member Functions | |
Integer (N i=0) | |
~Integer () override=default | |
void | SetValue (N value) |
N | 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) |
Array * | GetAsArray () |
Dictionary * | GetAsDictionary () |
UnsignedInteger * | GetAsUnsignedInteger () |
SignedInteger * | GetAsSignedInteger () |
uint64_t | GetUnsignedIntegerValue (uint64_t fail_value=0) |
int64_t | GetSignedIntegerValue (int64_t fail_value=0) |
Float * | GetAsFloat () |
double | GetFloatValue (double fail_value=0.0) |
Boolean * | GetAsBoolean () |
bool | GetBooleanValue (bool fail_value=false) |
String * | GetAsString () |
llvm::StringRef | GetStringValue (const char *fail_value=nullptr) |
Generic * | GetAsGeneric () |
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 | |
N | m_value |
Definition at line 299 of file StructuredData.h.
|
inline |
Definition at line 303 of file StructuredData.h.
|
overridedefault |
|
inlineoverridevirtual |
Reimplemented from lldb_private::StructuredData::Object.
Definition at line 318 of file StructuredData.h.
References lldb_private::StructuredData::Integer< N >::m_value, and lldb_private::Stream::Printf().
|
inline |
Definition at line 312 of file StructuredData.h.
References lldb_private::StructuredData::Integer< N >::m_value.
Referenced by CommandObjectScriptingObjectParsed::CommandObjectScriptingObjectParsed(), CommandObjectScriptingObjectParsed::CommandOptions::ParseUsageMaskFromArray(), and CommandObjectScriptingObjectParsed::CommandOptions::SetOptionsFromArray().
|
inlineoverridevirtual |
Implements lldb_private::StructuredData::Object.
Definition at line 314 of file StructuredData.h.
References lldb_private::StructuredData::Integer< N >::m_value.
|
inline |
Definition at line 310 of file StructuredData.h.
References lldb_private::StructuredData::Integer< N >::m_value.
|
protected |