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

Class value

source code


A class designed to wrap lldb.SBValue() objects so the resulting object can be used as a variable would be in code. So if you have a Point structure variable in your code in the current frame named "pt", you can initialize an instance of this class with it:

pt = lldb.value(lldb.frame.FindVariable("pt")) print pt print pt.x print pt.y

pt = lldb.value(lldb.frame.FindVariable("rectangle_array")) print rectangle_array[12] print rectangle_array[5].origin.x

Instance Methods [hide private]
 
__init__(self, sbvalue)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__nonzero__(self) source code
 
__str__(self)
str(x)
source code
 
__getitem__(self, key) source code
 
__iter__(self) source code
 
__getattr__(self, name) source code
 
__add__(self, other) source code
 
__sub__(self, other) source code
 
__mul__(self, other) source code
 
__floordiv__(self, other) source code
 
__mod__(self, other) source code
 
__divmod__(self, other) source code
 
__pow__(self, other) source code
 
__lshift__(self, other) source code
 
__rshift__(self, other) source code
 
__and__(self, other) source code
 
__xor__(self, other) source code
 
__or__(self, other) source code
 
__div__(self, other) source code
 
__truediv__(self, other) source code
 
__iadd__(self, other) source code
 
__isub__(self, other) source code
 
__imul__(self, other) source code
 
__idiv__(self, other) source code
 
__itruediv__(self, other) source code
 
__ifloordiv__(self, other) source code
 
__imod__(self, other) source code
 
__ipow__(self, other, modulo) source code
 
__ilshift__(self, other) source code
 
__irshift__(self, other) source code
 
__iand__(self, other) source code
 
__ixor__(self, other) source code
 
__ior__(self, other) source code
 
__neg__(self) source code
 
__pos__(self) source code
 
__abs__(self) source code
 
__invert__(self) source code
 
__complex__(self) source code
 
__int__(self) source code
 
__long__(self) source code
 
__float__(self) source code
 
__oct__(self) source code
 
__hex__(self) source code
 
__len__(self) source code
 
__eq__(self, other) source code
 
__neq__(self, other) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, sbvalue)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)