En esta página

QOpcUaRange Class

El tipo de rango OPC UA. Más...

Cabecera: #include <QOpcUaRange>
CMake: find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa)
qmake: QT += opcua

Funciones públicas

QOpcUaRange()
QOpcUaRange(double low, double high)
QOpcUaRange(const QOpcUaRange &rhs)
double high() const
double low() const
void setHigh(double high)
void setLow(double low)
operator QVariant() const
QOpcUaRange &operator=(const QOpcUaRange &rhs)
bool operator==(const QOpcUaRange &rhs) const

Descripción detallada

Esta es la representación Qt OPC UA para el tipo de rango OPC UA definido en OPC UA 1.05 parte 8, 5.6.2. Consta de dos valores dobles que marcan el mínimo y el máximo del rango. Los rangos se utilizan principalmente para almacenar información sobre los valores aceptables para un nodo.

Documentación de la función miembro

QOpcUaRange::QOpcUaRange()

Por defecto construye un rango sin parámetros establecidos.

QOpcUaRange::QOpcUaRange(double low, double high)

Construye un rango con valor bajo low y valor alto high.

QOpcUaRange::QOpcUaRange(const QOpcUaRange &rhs)

Construye un rango a partir de rhs.

double QOpcUaRange::high() const

Devuelve el valor alto del rango.

Véase también setHigh().

double QOpcUaRange::low() const

Devuelve el valor bajo del rango.

Véase también setLow().

void QOpcUaRange::setHigh(double high)

Establece el valor alto del rango en high.

Véase también high().

void QOpcUaRange::setLow(double low)

Establece el valor bajo del rango en low.

Véase también low().

QOpcUaRange::operator QVariant() const

Convierte este rango a QVariant.

QOpcUaRange &QOpcUaRange::operator=(const QOpcUaRange &rhs)

Establece los valores de rhs en este rango.

bool QOpcUaRange::operator==(const QOpcUaRange &rhs) const

Devuelve true si este rango tiene el mismo valor que 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.