SBCommandReturnObjectΒΆ

class lldb.SBCommandReturnObject(*args)ΒΆ

Represents a container which holds the result from command execution. It works with SBCommandInterpreter.HandleCommand() to encapsulate the result of command execution.

See SBCommandInterpreter for example usage of SBCommandReturnObject.

Methods Summary

AppendMessage(SBCommandReturnObject self, ...)

AppendWarning(SBCommandReturnObject self, ...)

Clear(SBCommandReturnObject self)

GetCommand()

Get the command as the user typed it.

GetDescription(SBCommandReturnObject self, ...)

GetError(-> char const)

GetErrorData(SBCommandReturnObject self)

GetErrorSize(SBCommandReturnObject self)

GetOutput(-> char const)

GetOutputSize(SBCommandReturnObject self)

GetStatus(SBCommandReturnObject self)

GetValues(SBCommandReturnObject self, lldb)

HasResult(SBCommandReturnObject self)

IsValid(SBCommandReturnObject self)

Print(SBCommandReturnObject self, ...)

PutCString(SBCommandReturnObject self, ...)

PutError(-> size_t)

PutOutput(-> size_t)

SetError()

SetImmediateErrorFile()

SetImmediateOutputFile()

SetStatus(SBCommandReturnObject self, lldb)

Succeeded(SBCommandReturnObject self)

flush(SBCommandReturnObject self)

write(SBCommandReturnObject self, ...)

Methods Documentation

AppendMessage(SBCommandReturnObject self, char const * message)ΒΆ
AppendWarning(SBCommandReturnObject self, char const * message)ΒΆ
Clear(SBCommandReturnObject self)ΒΆ
GetCommand()ΒΆ

Get the command as the user typed it. Empty string if commands were run on behalf of lldb.

GetDescription(SBCommandReturnObject self, SBStream description) boolΒΆ
GetError(SBCommandReturnObject self) char constΒΆ
GetError(SBCommandReturnObject self, bool only_if_no_immediate) char const *
GetErrorData(SBCommandReturnObject self) SBStructuredDataΒΆ
GetErrorSize(SBCommandReturnObject self) size_tΒΆ
GetOutput(SBCommandReturnObject self) char constΒΆ
GetOutput(SBCommandReturnObject self, bool only_if_no_immediate) char const *
GetOutputSize(SBCommandReturnObject self) size_tΒΆ
GetStatus(SBCommandReturnObject self) lldb::ReturnStatusΒΆ
GetValues(SBCommandReturnObject self, lldb: :DynamicValueType use_dynamic) SBValueListΒΆ
HasResult(SBCommandReturnObject self) boolΒΆ
IsValid(SBCommandReturnObject self) boolΒΆ
Print(SBCommandReturnObject self, char const * str)ΒΆ
PutCString(SBCommandReturnObject self, char const * string)ΒΆ
PutError(SBCommandReturnObject self, SBFile file) size_tΒΆ
PutError(SBCommandReturnObject self, lldb: :FileSP BORROWED) size_t
PutOutput(SBCommandReturnObject self, SBFile file) size_tΒΆ
PutOutput(SBCommandReturnObject self, lldb: :FileSP BORROWED) size_t
SetError(SBCommandReturnObject self, SBError error, char const * fallback_error_cstr=None)ΒΆ
SetError(SBCommandReturnObject self, char const * error_cstr)
SetImmediateErrorFile(SBCommandReturnObject self, SBFile file)ΒΆ
SetImmediateErrorFile(SBCommandReturnObject self, lldb: :FileSP BORROWED)
SetImmediateErrorFile(SBCommandReturnObject self, lldb: :FileSP BORROWED, bool transfer_ownership)
SetImmediateOutputFile(SBCommandReturnObject self, SBFile file)ΒΆ
SetImmediateOutputFile(SBCommandReturnObject self, lldb: :FileSP BORROWED)
SetImmediateOutputFile(SBCommandReturnObject self, lldb: :FileSP BORROWED, bool transfer_ownership)
SetStatus(SBCommandReturnObject self, lldb: :ReturnStatus status)ΒΆ
Succeeded(SBCommandReturnObject self) boolΒΆ
flush(SBCommandReturnObject self)ΒΆ
write(SBCommandReturnObject self, char const * str)ΒΆ