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