lldb.SBCommandReturnObject

Package lldb :: Class SBCommandReturnObject |
[hide private]
[frames] | no frames]

# Class SBCommandReturnObject

source code

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.

Instance Methods | [hide private]
__setattr__(self, name, value) x.__setattr__('name', value) <==> x.name = value | source code
__getattr__(self, name) | source code
__repr__(self) repr(x) | source code
__init__(self, *args) __init__(lldb::SBCommandReturnObject self) -> SBCommandReturnObject __init__(lldb::SBCommandReturnObject self, SBCommandReturnObject rhs) -> SBCommandReturnObject | source code
__swig_destroy__(...) delete_SBCommandReturnObject(SBCommandReturnObject self) |
__del__(self) | source code
__nonzero__(self) | source code
IsValid(self) IsValid(SBCommandReturnObject self) -> bool | source code
GetOutputSize(self) GetOutputSize(SBCommandReturnObject self) -> size_t | source code
GetErrorSize(self) GetErrorSize(SBCommandReturnObject self) -> size_t | source code
GetOutput(self, *args) GetOutput(SBCommandReturnObject self) -> str const GetOutput(SBCommandReturnObject self, bool only_if_no_immediate) -> str const * | source code
GetError(self, *args) GetError(SBCommandReturnObject self) -> str const GetError(SBCommandReturnObject self, bool if_no_immediate) -> str const * | source code
PutOutput(self, *args) PutOutput(SBCommandReturnObject self, FILE * fh) -> size_t | source code
PutError(self, *args) PutError(SBCommandReturnObject self, FILE * fh) -> size_t | source code
Clear(self) Clear(SBCommandReturnObject self) | source code
SetStatus(self, *args) SetStatus(SBCommandReturnObject self, lldb::ReturnStatus status) | source code
SetError(self, *args) SetError(SBCommandReturnObject self, SBError error, str const * fallback_error_cstr=None) SetError(SBCommandReturnObject self, SBError error) SetError(SBCommandReturnObject self, str const * error_cstr) | source code
GetStatus(self) GetStatus(SBCommandReturnObject self) -> lldb::ReturnStatus | source code
Succeeded(self) Succeeded(SBCommandReturnObject self) -> bool | source code
HasResult(self) HasResult(SBCommandReturnObject self) -> bool | source code
AppendMessage(self, *args) AppendMessage(SBCommandReturnObject self, str const * message) | source code
AppendWarning(self, *args) AppendWarning(SBCommandReturnObject self, str const * message) | source code
GetDescription(self, *args) GetDescription(SBCommandReturnObject self, SBStream description) -> bool | source code
SetImmediateOutputFile(self, *args) SetImmediateOutputFile(SBCommandReturnObject self, FILE * fh) | source code
SetImmediateErrorFile(self, *args) SetImmediateErrorFile(SBCommandReturnObject self, FILE * fh) | source code
PutCString(self, *args) PutCString(SBCommandReturnObject self, str const * string) | source code
Print(self, *args) Print(SBCommandReturnObject self, str const * str) | source code
__str__(self) __str__(SBCommandReturnObject self) -> PyObject * | source code
write(self, *args) write(SBCommandReturnObject self, str const * str) | source code
flush(self) flush(SBCommandReturnObject self) | source code
Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__sizeof__`, `__subclasshook__`

Class Variables | [hide private]
| __swig_setmethods__ = ``{``}``
| __swig_getmethods__ = ``{``}``

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __setattr__(self, name, value) | source code
x.__setattr__('name', value) <==> x.name = value Overrides: object.__setattr__ (inherited documentation)

### __repr__(self) (Representation operator) | source code
repr(x) Overrides: object.__repr__ (inherited documentation)

### __init__(self, *args) (Constructor) | source code
__init__(lldb::SBCommandReturnObject self) -> SBCommandReturnObject __init__(lldb::SBCommandReturnObject self, SBCommandReturnObject rhs) -> SBCommandReturnObject Overrides: object.__init__

### __str__(self) (Informal representation operator) | source code
__str__(SBCommandReturnObject self) -> PyObject * Overrides: object.__str__