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)ΒΆ