Package dbus :: Class Int64
[hide private]
[frames] | no frames]

Class Int64

source code

          object --+        
                   |        
                long --+    
                       |    
_dbus_bindings._LongBase --+
                           |
                          Int64

A signed 64-bit integer between -0x8000 0000 0000 0000 and +0x7FFF FFFF FFFF FFFF, represented as a subtype of long.

Note that this may be changed in future to be a subtype of int on 64-bit platforms; applications should not rely on either behaviour.

This type only works on platforms where the C compiler has suitable 64-bit types, such as C99 long long.

Constructor:

dbus.Int64(value: long[, variant_level: int]) -> Int64

value must be within the allowed range, or OverflowError will be raised.

variant_level must be non-negative; the default is 0.



Instance Methods [hide private]
 
__new__(T, S, ...)
Returns: a new object with type S, a subtype of T
source code

Inherited from _dbus_bindings._LongBase: __delattr__, __getattribute__, __repr__, __setattr__

Inherited from long: __abs__, __add__, __and__, __cmp__, __coerce__, __div__, __divmod__, __float__, __floordiv__, __getnewargs__, __hash__, __hex__, __index__, __int__, __invert__, __long__, __lshift__, __mod__, __mul__, __neg__, __nonzero__, __oct__, __or__, __pos__, __pow__, __radd__, __rand__, __rdiv__, __rdivmod__, __rfloordiv__, __rlshift__, __rmod__, __rmul__, __ror__, __rpow__, __rrshift__, __rshift__, __rsub__, __rtruediv__, __rxor__, __str__, __sub__, __truediv__, __xor__

Inherited from object: __init__, __reduce__, __reduce_ex__

Instance Variables [hide private]
int variant_level
Indicates how many nested Variant containers this object is contained in: if a message's wire format has a variant containing a variant containing an int64, this is represented in Python by an Int64 with variant_level==2.
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__new__(T, S, ...)

source code 
Returns:
a new object with type S, a subtype of T

Overrides: _dbus_bindings._LongBase.__new__