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(SBCommandReturnObject self) GetError(SBCommandReturnObject self, bool if_no_immediate) -> char const *
GetErrorSize(SBCommandReturnObject self)
GetOutput(SBCommandReturnObject self) GetOutput(SBCommandReturnObject self, bool only_if_no_immediate) -> char const *
GetOutputSize(SBCommandReturnObject self)
GetStatus(SBCommandReturnObject self)
HasResult(SBCommandReturnObject self)
IsValid(SBCommandReturnObject self)
Print(SBCommandReturnObject self, …)
PutCString(SBCommandReturnObject self, …)
PutError(SBCommandReturnObject self, SBFile file) PutError(SBCommandReturnObject self, lldb::FileSP BORROWED) -> size_t
PutOutput(SBCommandReturnObject self, …) PutOutput(SBCommandReturnObject self, lldb::FileSP BORROWED) -> size_t
SetError(SBCommandReturnObject self, …) SetError(SBCommandReturnObject self, char const * error_cstr)
SetImmediateErrorFile(…) SetImmediateErrorFile(SBCommandReturnObject self, lldb::FileSP BORROWED) SetImmediateErrorFile(SBCommandReturnObject self, lldb::FileSP BORROWED, bool transfer_ownership)
SetImmediateOutputFile(…) SetImmediateOutputFile(SBCommandReturnObject self, lldb::FileSP BORROWED) SetImmediateOutputFile(SBCommandReturnObject self, lldb::FileSP BORROWED, bool transfer_ownership)
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 if_no_immediate) -> char const *

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)

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)