pyuaf.util.primitives
¶
This module defines some primitive data types (since Python does not differentiate clearly between, for example, an UInt32 and an Int16 value.
class Boolean¶
-
class
pyuaf.util.primitives.
Boolean
(*args)¶ Construct a primitive.
Methods:
-
__init__
([value])¶ Construct a primitive.
Construct a new Boolean value with an optional initial value.
-
static
type
()¶ Get the type of the value, in this case
pyuaf.util.opcuatypes.Boolean
.Returns: pyuaf.util.opcuatypes.Boolean
Return type: int
-
static
typeName
()¶ Get the name of the type of the value, in this case
"Boolean"
.Returns: "Boolean"
Return type: str
-
Attributes:
-
value
¶ A bool value.
-
class SByte¶
-
class
pyuaf.util.primitives.
SByte
(*args)¶ Construct a primitive.
Methods:
-
__init__
([value])¶ Construct a primitive.
Construct a new SByte value with an optional initial value.
-
static
type
()¶ Get the type of the value, in this case
pyuaf.util.opcuatypes.SByte
.Returns: pyuaf.util.opcuatypes.SByte
Return type: int
-
static
typeName
()¶ Get the name of the type of the value, in this case
"SByte"
.Returns: "SByte"
Return type: str
-
Attributes:
-
value
¶ An
int
value.
-
class Byte¶
-
class
pyuaf.util.primitives.
Byte
(*args)¶ Construct a primitive.
Methods:
-
__init__
([value])¶ Construct a primitive.
Construct a new Byte value with an optional initial value.
-
static
type
()¶ Get the type of the value, in this case
pyuaf.util.opcuatypes.Byte
.Returns: pyuaf.util.opcuatypes.Byte
Return type: int
-
static
typeName
()¶ Get the name of the type of the value, in this case
"Byte"
.Returns: "Byte"
Return type: str
-
Attributes:
-
value
¶ An
int
value.
-
class Int16¶
-
class
pyuaf.util.primitives.
Int16
(*args)¶ Construct a primitive.
Methods:
-
__init__
([value])¶ Construct a primitive.
Construct a new Int16 value with an optional initial value.
-
static
type
()¶ Get the type of the value, in this case
pyuaf.util.opcuatypes.Int16
.Returns: pyuaf.util.opcuatypes.Int16
Return type: int
-
static
typeName
()¶ Get the name of the type of the value, in this case
"Int16"
.Returns: "Int16"
Return type: str
-
Attributes:
-
value
¶ An
int
value.
-
class UInt16¶
-
class
pyuaf.util.primitives.
UInt16
(*args)¶ Construct a primitive.
Methods:
-
__init__
([value])¶ Construct a primitive.
Construct a new UInt16 value with an optional initial value.
-
static
type
()¶ Get the type of the value, in this case
pyuaf.util.opcuatypes.UInt16
.Returns: pyuaf.util.opcuatypes.UInt16
Return type: int
-
static
typeName
()¶ Get the name of the type of the value, in this case
"UInt16"
.Returns: "UInt16"
Return type: str
-
Attributes:
-
value
¶ An
int
value.
-
class Int32¶
-
class
pyuaf.util.primitives.
Int32
(*args)¶ Construct a primitive.
Methods:
-
__init__
([value])¶ Construct a primitive.
Construct a new Int32 value with an optional initial value.
-
static
type
()¶ Get the type of the value, in this case
pyuaf.util.opcuatypes.Int32
.Returns: pyuaf.util.opcuatypes.Int32
Return type: int
-
static
typeName
()¶ Get the name of the type of the value, in this case
"Int32"
.Returns: "Int32"
Return type: str
-
Attributes:
-
value
¶ An
int
value.
-
class UInt32¶
-
class
pyuaf.util.primitives.
UInt32
(*args)¶ Construct a primitive.
Methods:
-
__init__
([value])¶ Construct a primitive.
Construct a new UInt32 value with an optional initial value.
-
static
type
()¶ Get the type of the value, in this case
pyuaf.util.opcuatypes.UInt32
.Returns: pyuaf.util.opcuatypes.UInt32
Return type: int
-
static
typeName
()¶ Get the name of the type of the value, in this case
"UInt32"
.Returns: "UInt32"
Return type: str
-
Attributes:
-
value
¶ An
int
value.
-
class Int64¶
-
class
pyuaf.util.primitives.
Int64
(*args)¶ Construct a primitive.
Methods:
-
__init__
([value])¶ Construct a primitive.
Construct a new Int64 value with an optional initial value.
-
static
type
()¶ Get the type of the value, in this case
pyuaf.util.opcuatypes.Int64
.Returns: pyuaf.util.opcuatypes.Int64
Return type: int
-
static
typeName
()¶ Get the name of the type of the value, in this case
"Int64"
.Returns: "Int64"
Return type: str
-
Attributes:
-
value
¶ An
int
value.
-
class UInt64¶
-
class
pyuaf.util.primitives.
UInt64
(*args)¶ Construct a primitive.
Methods:
-
__init__
([value])¶ Construct a primitive.
Construct a new UInt64 value with an optional initial value.
-
static
type
()¶ Get the type of the value, in this case
pyuaf.util.opcuatypes.UInt64
.Returns: pyuaf.util.opcuatypes.UInt64
Return type: int
-
static
typeName
()¶ Get the name of the type of the value, in this case
"UInt64"
.Returns: "UInt64"
Return type: str
-
Attributes:
-
value
¶ An
int
value.
-
class Float¶
-
class
pyuaf.util.primitives.
Float
(*args)¶ Construct a primitive.
Methods:
-
__init__
([value])¶ Construct a primitive.
Construct a new Float value with an optional initial value.
-
static
type
()¶ Get the type of the value, in this case
pyuaf.util.opcuatypes.Float
.Returns: pyuaf.util.opcuatypes.Float
Return type: int
-
static
typeName
()¶ Get the name of the type of the value, in this case
"Float"
.Returns: "Float"
Return type: str
-
Attributes:
-
value
¶ A float value.
-
class Double¶
-
class
pyuaf.util.primitives.
Double
(*args)¶ Construct a primitive.
Methods:
-
__init__
([value])¶ Construct a primitive.
Construct a new Double value with an optional initial value.
-
static
type
()¶ Get the type of the value, in this case
pyuaf.util.opcuatypes.Double
.Returns: pyuaf.util.opcuatypes.Double
Return type: int
-
static
typeName
()¶ Get the name of the type of the value, in this case
"Double"
.Returns: "Double"
Return type: str
-
Attributes:
-
value
¶ A float value.
-
class String¶
-
class
pyuaf.util.primitives.
String
(*args)¶ Construct a primitive.
Methods:
-
__init__
([value])¶ Construct a primitive.
Construct a new String value with an optional initial value.
-
static
type
()¶ Get the type of the value, in this case
pyuaf.util.opcuatypes.String
.Returns: pyuaf.util.opcuatypes.String
Return type: int
-
static
typeName
()¶ Get the name of the type of the value, in this case
"String"
.Returns: "String"
Return type: str
-
Attributes:
-
value
¶ A string value.
-
class ByteString¶
-
class
pyuaf.util.primitives.
ByteString
(*args)¶ Construct a primitive.
Methods:
-
__init__
([value])¶ Construct a primitive.
Construct a new ByteString value with an optional initial value.
-
static
type
()¶ Get the type of the value, in this case
pyuaf.util.opcuatypes.ByteString
.Returns: pyuaf.util.opcuatypes.ByteString
Return type: int
-
static
typeName
()¶ Get the name of the type of the value, in this case
"ByteString"
.Returns: "ByteString"
Return type: str
-
Attributes:
-
value
¶ A built-in Python
bytearray
value.
-
class BooleanArray¶
An array of Boolean
instances.
You can also specify an array of Booleans with a python list
of Boolean
instances.
But, in case you want an empty list, then you need to use BooleanArray because
an empty python list
does not contain any type information of the contents of the list.
class SByteArray¶
An array of SByte
instances.
You can also specify an array of SBytes with a python list
of SByte
instances.
But, in case you want an empty list, then you need to use SByteArray because
an empty python list
does not contain any type information of the contents of the list.
class ByteArray¶
An array of Byte
instances.
You can also specify an array of Bytes with a python list
of Byte
instances.
But, in case you want an empty list, then you need to use ByteArray because
an empty python list
does not contain any type information of the contents of the list.
class Int16Array¶
An array of Int16
instances.
You can also specify an array of Int16s with a python list
of Int16
instances.
But, in case you want an empty list, then you need to use Int16Array because
an empty python list
does not contain any type information of the contents of the list.
class UInt16Array¶
An array of UInt16
instances.
You can also specify an array of UInt16s with a python list
of UInt16
instances.
But, in case you want an empty list, then you need to use UInt16Array because
an empty python list
does not contain any type information of the contents of the list.
class Int32Array¶
An array of Int32
instances.
You can also specify an array of Int32s with a python list
of Int32
instances.
But, in case you want an empty list, then you need to use Int32Array because
an empty python list
does not contain any type information of the contents of the list.
class UInt32Array¶
An array of UInt32
instances.
You can also specify an array of UInt32s with a python list
of UInt32
instances.
But, in case you want an empty list, then you need to use UInt32Array because
an empty python list
does not contain any type information of the contents of the list.
class Int64Array¶
An array of Int16
instances.
You can also specify an array of Int64s with a python list
of Int64
instances.
But, in case you want an empty list, then you need to use Int64Array because
an empty python list
does not contain any type information of the contents of the list.
class UInt64Array¶
An array of UInt64
instances.
You can also specify an array of UInt64s with a python list
of UInt64
instances.
But, in case you want an empty list, then you need to use UInt64Array because
an empty python list
does not contain any type information of the contents of the list.
class FloatArray¶
An array of Float
instances.
You can also specify an array of Floats with a python list
of Float
instances.
But, in case you want an empty list, then you need to use FloatArray because
an empty python list
does not contain any type information of the contents of the list.
class DoubleArray¶
An array of Double
instances.
You can also specify an array of Doubles with a python list
of Double
instances.
But, in case you want an empty list, then you need to use DoubleArray because
an empty python list
does not contain any type information of the contents of the list.
class StringArray¶
An array of String
instances.
You can also specify an array of Strings with a python list
of String
instances.
But, in case you want an empty list, then you need to use StringArray because
an empty python list
does not contain any type information of the contents of the list.
class ByteStringArray¶
An array of ByteString
instances.
You can also specify an array of ByteStrings with a python list
of ByteString
instances.
But, in case you want an empty list, then you need to use ByteStringArray because
an empty python list
does not contain any type information of the contents of the list.