- class QOpcUaStructureDefinition¶
The OPC UA StructureDefinition type. More…
Added in version 6.7.
Synopsis¶
Methods¶
def
__init__()
def
baseDataType()
def
fields()
def
__ne__()
def
__eq__()
def
setFields()
def
structureType()
def
swap()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description¶
This is the Qt OPC UA representation for the OPC UA StructureDefinition type defined in OPC UA part 3. It describes the structure of a structured type.
- class StructureType¶
- __init__()¶
Default constructs a structure definition with no parameters set.
- __init__(arg__1)
- Parameters:
arg__1 –
QOpcUaStructureDefinition
Constructs a structure definition from
rhs
.- baseDataType()¶
- Return type:
str
Returns the node id of the base data type of the struct type.
See also
- defaultEncodingId()¶
- Return type:
str
Returns the default encoding node ID for the struct type.
See also
- fields()¶
- Return type:
.list of QOpcUaStructureField
Returns the fields of the struct type.
See also
- __ne__(rhs)¶
- Parameters:
- Return type:
bool
Returns
true
iflhs
is not equal torhs
.- __eq__(rhs)¶
- Parameters:
- Return type:
bool
Returns
true
iflhs
is equal torhs
.- setBaseDataType(baseDataType)¶
- Parameters:
baseDataType – str
Sets the base data type node id of the type to
baseDataType
.See also
- setDefaultEncodingId(defaultEncodingId)¶
- Parameters:
defaultEncodingId – str
Sets the default encoding node ID of the struct type to
defaultEncodingId
.See also
- setFields(fields)¶
- Parameters:
fields – .list of QOpcUaStructureField
Sets the fields of the struct type to
fields
.See also
- setStructureType(structureType)¶
- Parameters:
structureType –
StructureType
Sets the structure type to
structureType
.See also
- structureType()¶
- Return type:
Returns the structure type of the struct type.
See also
- swap(other)¶
- Parameters:
other –
QOpcUaStructureDefinition
Swaps structure definition object
other
with this structure definition object. This operation is very fast and never fails.