Класс QOpcUaLiteralOperand
Тип OPC UA LiteralOperand. Подробнее...
| Заголовок: | #include <QOpcUaLiteralOperand> |
| qmake: | QT += opcua |
Открытые функции
| QOpcUaLiteralOperand(const QVariant &value, QOpcUa::Types type = QOpcUa::Types::Undefined) | |
| QOpcUaLiteralOperand(const QOpcUaLiteralOperand &rhs) | |
| QOpcUaLiteralOperand & | operator=(const QOpcUaLiteralOperand &rhs) |
| void | setType(QOpcUa::Types type) |
| void | setValue(const QVariant &value) |
| QOpcUa::Types | type() const |
| QVariant | value() const |
| QVariant | operator QVariant() const |
Подробное описание
Операнд LiteralOperand определён в OPC-UA части 4, 7.4.4.3. Он содержит литеральное значение, которое используется как операнд.
Документация по функциям-членам
QOpcUaLiteralOperand::QOpcUaLiteralOperand(const QVariant &value, QOpcUa::Types type = QOpcUa::Types::Undefined)
Создаёт операнд с значением value и типом type.
QOpcUaLiteralOperand::QOpcUaLiteralOperand(const QOpcUaLiteralOperand &rhs)
Создаёт операнд из rhs.
QOpcUaLiteralOperand &QOpcUaLiteralOperand::operator=(const QOpcUaLiteralOperand &rhs)
Устанавливает значения из rhs в этот QOpcUaLiteralOperand.
void QOpcUaLiteralOperand::setType(QOpcUa::Types type)
Устанавливает тип значения литерального операнда на type.
См. также type().
void QOpcUaLiteralOperand::setValue(const QVariant &value)
Устанавливает значение литерального операнда на value.
См. также value().
QOpcUa::Types QOpcUaLiteralOperand::type() const
Возвращает тип значения литерального операнда.
См. также setType().
QVariant QOpcUaLiteralOperand::value() const
Возвращает значение литерального операнда.
См. также setValue().
QVariant QOpcUaLiteralOperand::operator QVariant() const
Преобразует этот литеральный операнд в QVariant.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qopcualiteraloperand.html