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)

GetDescription(SBCommandReturnObject self, ...)

GetError(-> char const)

GetErrorData(SBCommandReturnObject self)

GetErrorSize(SBCommandReturnObject self)

GetOutput(-> char const)

GetOutputSize(SBCommandReturnObject self)

GetStatus(SBCommandReturnObject self)

HasResult(SBCommandReturnObject self)

IsValid(SBCommandReturnObject self)

Print(SBCommandReturnObject self, ...)

PutCString(SBCommandReturnObject self, ...)

PutError(-> size_t)

PutOutput(-> size_t)

SetError()

SetImmediateErrorFile(-> None)

SetImmediateOutputFile(-> None)

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)#
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#
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) None
SetImmediateErrorFile(SBCommandReturnObject self, SBFile file)#
SetImmediateErrorFile(SBCommandReturnObject self, lldb::FileSP BORROWED) None
SetImmediateErrorFile(SBCommandReturnObject self, lldb::FileSP BORROWED, bool transfer_ownership) None
SetImmediateOutputFile(SBCommandReturnObject self, SBFile file)#
SetImmediateOutputFile(SBCommandReturnObject self, lldb::FileSP BORROWED) None
SetImmediateOutputFile(SBCommandReturnObject self, lldb::FileSP BORROWED, bool transfer_ownership) None
SetStatus(SBCommandReturnObject self, lldb::ReturnStatus status)#
Succeeded(SBCommandReturnObject self) bool#
flush(SBCommandReturnObject self)#
write(SBCommandReturnObject self, char const * str)#