pyuaf.util.structurefielddatatypes
¶
This module defines the datatypes of the fields of structures.
Attributes:
-
structurefielddatatypes.
Variant
= 0¶ The field is a built-in type (a Variant).
See also
-
structurefielddatatypes.
GenericStructure
= 1¶ The field is a
GenericStructureValue
.
-
structurefielddatatypes.
GenericStructureArray
= 2¶ The field is a
list
ofGenericStructureValue
instances (or aGenericStructureVector
, which is basically the same).
-
structurefielddatatypes.
GenericUnion
= 3¶ The field is a
GenericUnionValue
.
-
structurefielddatatypes.
GenericUnionArray
= 4¶ The field is a
list
ofGenericUnionValue
instances (or aGenericUnionVector
, which is basically the same).
-
structurefielddatatypes.
GenericOptionSet
= 5¶ The field is a GenericOptionSet.
-
structurefielddatatypes.
GenericUnionArray
= 4 The field is a GenericOptionSetArray.
-
structurefielddatatypes.
Empty
= 7¶ The field is empty.
-
Functions:
-
pyuaf.util.structurefielddatatypes.
toString
(datatype)¶ Get a string representation of the StructureFieldDataType.
Parameters: datatype ( int
) – The datatype, e.g.GenericUnionArray
.Returns: The name of the datatype, e.g. ‘GenericUnionArray’. Return type: str
-