QOpcUaStructureField Class
El tipo de campo StructureField de OPC UA. Más...
| Cabecera: | #include <QOpcUaStructureField> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa)target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
| Desde: | Qt 6.7 |
Funciones Públicas
| QOpcUaStructureField(qint32 valueRank = -1) | |
| QOpcUaStructureField(const QOpcUaStructureField &other) | |
| QOpcUaStructureField(QOpcUaStructureField &&other) | |
| ~QOpcUaStructureField() | |
| QList<quint32> | arrayDimensions() const |
| QString | dataType() const |
| QOpcUaLocalizedText | description() const |
| bool | isOptional() const |
| quint32 | maxStringLength() const |
| QString | name() const |
| void | setArrayDimensions(const QList<quint32> &arrayDimensions) |
| void | setDataType(const QString &dataTypeId) |
| void | setDescription(const QOpcUaLocalizedText &description) |
| void | setIsOptional(bool isOptional) |
| void | setMaxStringLength(quint32 maxStringLength) |
| void | setName(const QString &name) |
| void | setValueRank(qint32 valueRank) |
| void | swap(QOpcUaStructureField &other) |
| qint32 | valueRank() const |
| operator QVariant() const | |
| QOpcUaStructureField & | operator=(QOpcUaStructureField &&other) |
| QOpcUaStructureField & | operator=(const QOpcUaStructureField &other) |
No miembros relacionados
| bool | operator!=(const QOpcUaStructureField &lhs, const QOpcUaStructureField &rhs) |
| bool | operator==(const QOpcUaStructureField &lhs, const QOpcUaStructureField &rhs) |
Descripción detallada
Esta es la representación Qt OPC UA para el tipo OPC UA StructureField definido en OPC UA parte 3. Describe un campo de tipo estructurado.
Documentación de la función miembro
[explicit] QOpcUaStructureField::QOpcUaStructureField(qint32 valueRank = -1)
Construye un campo de estructura con valueRank.
QOpcUaStructureField::QOpcUaStructureField(const QOpcUaStructureField &other)
Construye un campo de estructura a partir de other.
[constexpr noexcept] QOpcUaStructureField::QOpcUaStructureField(QOpcUaStructureField &&other)
Mover-construye un nuevo campo de estructura a partir de other.
Nota: El objeto movido-desde other se coloca en un estado parcialmente formado, en el que las únicas operaciones válidas son la destrucción y la asignación de un nuevo valor.
[noexcept] QOpcUaStructureField::~QOpcUaStructureField()
Destruye este objeto de campo de estructura.
QList<quint32> QOpcUaStructureField::arrayDimensions() const
Devuelve las dimensiones del array del campo struct.
Véase también setArrayDimensions().
QString QOpcUaStructureField::dataType() const
Devuelve el ID del nodo de tipo de datos del campo struct.
Véase también setDataType().
QOpcUaLocalizedText QOpcUaStructureField::description() const
Devuelve la descripción del campo struct.
Véase también setDescription().
bool QOpcUaStructureField::isOptional() const
Devuelve true si el campo struct es opcional.
Véase también setIsOptional().
quint32 QOpcUaStructureField::maxStringLength() const
Devuelve la longitud máxima de cadena del campo struct.
Véase también setMaxStringLength().
QString QOpcUaStructureField::name() const
Devuelve el nombre del campo struct.
Véase también setName().
void QOpcUaStructureField::setArrayDimensions(const QList<quint32> &arrayDimensions)
Establece las dimensiones del array del campo struct en arrayDimensions.
Véase también arrayDimensions().
void QOpcUaStructureField::setDataType(const QString &dataTypeId)
Establece el ID del nodo de tipo de datos del campo struct en dataTypeId.
Véase también dataType().
void QOpcUaStructureField::setDescription(const QOpcUaLocalizedText &description)
Establece la descripción del campo struct en description.
Véase también description().
void QOpcUaStructureField::setIsOptional(bool isOptional)
Establece la bandera opcional del campo struct a isOptional.
Véase también isOptional().
void QOpcUaStructureField::setMaxStringLength(quint32 maxStringLength)
Establece la longitud máxima de cadena del campo struct en maxStringLength.
Véase también maxStringLength().
void QOpcUaStructureField::setName(const QString &name)
Establece el nombre del campo struct en name.
Véase también name().
void QOpcUaStructureField::setValueRank(qint32 valueRank)
Establece el rango de valor del campo struct a valueRank.
Véase también valueRank().
[noexcept] void QOpcUaStructureField::swap(QOpcUaStructureField &other)
Intercambia el objeto de campo de estructura other con este objeto de campo de estructura. Esta operación es muy rápida y nunca falla.
qint32 QOpcUaStructureField::valueRank() const
Devuelve el rango de valores del campo struct.
Véase también setValueRank().
QOpcUaStructureField::operator QVariant() const
Convierte este campo de estructura a QVariant.
[noexcept] QOpcUaStructureField &QOpcUaStructureField::operator=(QOpcUaStructureField &&other)
Mover-asigna other a esta instancia QOpcUaStructureField.
Nota: El objeto movido-desde other se coloca en un estado parcialmente formado, en el que las únicas operaciones válidas son la destrucción y la asignación de un nuevo valor.
QOpcUaStructureField &QOpcUaStructureField::operator=(const QOpcUaStructureField &other)
Establece los valores de other en este campo de estructura.
No miembros relacionados
[noexcept] bool operator!=(const QOpcUaStructureField &lhs, const QOpcUaStructureField &rhs)
Devuelve true lhs no es igual a rhs.
[noexcept] bool operator==(const QOpcUaStructureField &lhs, const QOpcUaStructureField &rhs)
Devuelve true lhs es igual a rhs.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.