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]
 
__repr__(self) source code
 
__init__(self, *args)
__init__(lldb::SBCommandReturnObject self) -> SBCommandReturnObject __init__(lldb::SBCommandReturnObject self, SBCommandReturnObject rhs) -> SBCommandReturnObject
source code
 
IsValid(self)
IsValid(SBCommandReturnObject self) -> bool
source code
 
__nonzero__(self) source code
 
__bool__(self) 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) -> char const GetOutput(SBCommandReturnObject self, bool only_if_no_immediate) -> char const *
source code
 
GetError(self, *args)
GetError(SBCommandReturnObject self) -> char const GetError(SBCommandReturnObject self, bool if_no_immediate) -> char 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, char const * fallback_error_cstr=None) SetError(SBCommandReturnObject self, SBError error) SetError(SBCommandReturnObject self, char 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, char const * message)
source code
 
AppendWarning(self, *args)
AppendWarning(SBCommandReturnObject self, char 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, char const * string)
source code
 
Print(self, *args)
Print(SBCommandReturnObject self, char const * str)
source code
 
__str__(self)
__str__(SBCommandReturnObject self) -> PyObject *
source code
 
write(self, *args)
write(SBCommandReturnObject self, char const * str)
source code
 
flush(self)
flush(SBCommandReturnObject self)
source code
Class Variables [hide private]
  __swig_setmethods__ = {}
  __setattr__ = lambda self, name, value:
  __swig_getmethods__ = {}
  __getattr__ = lambda self, name:
  __swig_destroy__ = _lldb.delete_SBCommandReturnObject
  __del__ = lambda self: