QOpcUaEnumField Class
OPC UA 구조 정의 유형입니다. 더 보기...
헤더: | #include <QOpcUaEnumField> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
qmake: | QT += opcua |
이후: | Qt 6.7 |
공용 함수
QOpcUaEnumField() | |
QOpcUaEnumField(const QOpcUaEnumField &other) | |
QOpcUaEnumField(QOpcUaEnumField &&other) | |
~QOpcUaEnumField() | |
QOpcUaLocalizedText | description() const |
QOpcUaLocalizedText | displayName() const |
QString | name() const |
void | setDescription(const QOpcUaLocalizedText &description) |
void | setDisplayName(const QOpcUaLocalizedText &displayName) |
void | setName(const QString &name) |
void | setValue(qint64 value) |
void | swap(QOpcUaEnumField &other) |
qint64 | value() const |
QVariant | operator QVariant() const |
QOpcUaEnumField & | operator=(QOpcUaEnumField &&other) |
QOpcUaEnumField & | operator=(const QOpcUaEnumField &rhs) |
관련 비회원
bool | operator!=(const QOpcUaEnumField &lhs, const QOpcUaEnumField &rhs) |
bool | operator==(const QOpcUaEnumField &lhs, const QOpcUaEnumField &rhs) |
멤버 함수 문서
QOpcUaEnumField::QOpcUaEnumField()
기본값은 매개변수가 설정되지 않은 열거형 필드를 구성합니다.
QOpcUaEnumField::QOpcUaEnumField(const QOpcUaEnumField &other)
other 에서 열거형 필드를 구성합니다.
[noexcept]
QOpcUaEnumField::QOpcUaEnumField(QOpcUaEnumField &&other)
Move - other 에서 새 열거형 필드를 만듭니다.
참고: 이동한 개체 other 는 부분적으로 형성된 상태로 배치되며, 유효한 작업은 소멸과 새 값 할당뿐입니다.
[noexcept]
QOpcUaEnumField::~QOpcUaEnumField()
이 열거형 정의 객체를 삭제합니다.
QOpcUaLocalizedText QOpcUaEnumField::description() const
열거형 필드에 대한 설명을 반환합니다.
setDescription()도 참조하세요 .
QOpcUaLocalizedText QOpcUaEnumField::displayName() const
열거형 필드의 표시 이름을 반환합니다.
setDisplayName()도 참조하세요 .
QString QOpcUaEnumField::name() const
열거형 필드의 이름을 반환합니다.
setName()도 참조하세요 .
void QOpcUaEnumField::setDescription(const QOpcUaLocalizedText &description)
열거형 필드에 대한 설명을 description 로 설정합니다.
description()도 참조하세요 .
void QOpcUaEnumField::setDisplayName(const QOpcUaLocalizedText &displayName)
열거형 필드의 표시 이름을 displayName 로 설정합니다.
displayName()도 참조하세요 .
void QOpcUaEnumField::setName(const QString &name)
열거형 필드의 이름을 name 로 설정합니다.
name()도 참조하세요 .
void QOpcUaEnumField::setValue(qint64 value)
열거형 필드의 열거형 값을 value 로 설정합니다.
value()도 참조하세요 .
[noexcept]
void QOpcUaEnumField::swap(QOpcUaEnumField &other)
열거형 필드 객체 other 를 이 열거형 필드 객체로 바꿉니다. 이 작업은 매우 빠르며 실패하지 않습니다.
qint64 QOpcUaEnumField::value() const
열거형 필드의 열거형 값을 반환합니다.
setValue()도 참조하세요 .
QVariant QOpcUaEnumField::operator QVariant() const
이 열거형 필드를 QVariant 로 변환합니다.
[noexcept]
QOpcUaEnumField &QOpcUaEnumField::operator=(QOpcUaEnumField &&other)
이동 - other 을 이 QOpcUaEnumField 인스턴스에 할당합니다.
참고: 이동된 other 객체는 부분적으로 형성된 상태로 배치되며, 유효한 작업은 소멸과 새 값 할당뿐입니다.
QOpcUaEnumField &QOpcUaEnumField::operator=(const QOpcUaEnumField &rhs)
이 열거형 필드에 rhs 의 값을 설정합니다.
관련 비회원
[noexcept]
bool operator!=(const QOpcUaEnumField &lhs, const QOpcUaEnumField &rhs)
lhs 이 rhs 과 같지 않으면 true
을 반환합니다 .
[noexcept]
bool operator==(const QOpcUaEnumField &lhs, const QOpcUaEnumField &rhs)
lhs 이 rhs 과 같으면 true
을 반환합니다 .
© 2025 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.