qi.Types* API¶
Introduction¶
All types referenced here are mostly useful in combination qi.bind().
See the documentation of qi.bind() to understand how to use them.
Reference¶
-
class
qi.Int8¶ Signed 8 bits Integer Type
-
class
qi.Int16¶ Signed 16 bits Integer Type
-
class
qi.Int32¶ Signed 32 bits Integer Type
-
class
qi.Int64¶ Signed 64 bits Integer Type
-
class
qi.UInt8¶ Unsigned 8 bits Integer Type
-
class
qi.UInt16¶ Unsigned 16 bits Integer Type
-
class
qi.UInt32¶ Unsigned 32 bits Integer Type
-
class
qi.UInt64¶ Unsigned 64 bits Integer Type
-
class
qi.Float¶ 32 bits Floating Point Type
-
class
qi.Double¶ 64 bits Floating Point Type
-
class
qi.String¶ String Type
-
class
qi.List(elementType)¶ List Type, an element type need to be specified
-
class
qi.Map(keyType, elementType)¶ List Type, a key and an element type need to be specified
-
class
qi.Struct(fields)¶ Structure Type
-
class
qi.Object¶ Object Type
-
class
qi.Dynamic¶ Any Type
-
class
qi.Buffer¶ Buffer Type
-
class
qi.AnyArguments¶ Any Arguments Types. A function or a signal taking AnyArguments will accept all kind of arguments. AnyArguments is a list of AnyValue
-
qi.typeof(a)¶ return the qi type of a variable
Warning
this function is only implemented for Object
-
qi.isinstance(a, type)¶ return true if a is of type type
Warning
this function is only implemented for Object