QOpcUaEnumDefinition Class
OPC UA EnumDefinition 유형. 더 보기...
| 헤더: | #include <QOpcUaEnumDefinition> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
| 다음부터: | Qt 6.7부터 |
공개 함수
| QOpcUaEnumDefinition() | |
| QOpcUaEnumDefinition(const QOpcUaEnumDefinition &other) | |
| QOpcUaEnumDefinition(QOpcUaEnumDefinition &&other) | |
| ~QOpcUaEnumDefinition() | |
| QList<QOpcUaEnumField> | fields() const |
| void | setFields(const QList<QOpcUaEnumField> &fields) |
| void | swap(QOpcUaEnumDefinition &other) |
| operator QVariant() const | |
| QOpcUaEnumDefinition & | operator=(QOpcUaEnumDefinition &&other) |
| QOpcUaEnumDefinition & | operator=(const QOpcUaEnumDefinition &rhs) |
관련 비멤버
| bool | operator!=(const QOpcUaEnumDefinition &lhs, const QOpcUaEnumDefinition &rhs) |
| bool | operator==(const QOpcUaEnumDefinition &lhs, const QOpcUaEnumDefinition &rhs) |
멤버 함수 설명
QOpcUaEnumDefinition::QOpcUaEnumDefinition()
default는 매개변수가 지정되지 않은 열거형 정의를 생성합니다.
QOpcUaEnumDefinition::QOpcUaEnumDefinition(const QOpcUaEnumDefinition &other)
other 에서 열거형 정의를 생성합니다.
[constexpr noexcept default] QOpcUaEnumDefinition::QOpcUaEnumDefinition(QOpcUaEnumDefinition &&other)
other 에서 새로운 열거형 정의를 이동 생성합니다.
참고: 이동된객체 other 는 부분적으로 형성된 상태가 되며, 이 상태에서는 소멸과 새 값 할당만이 유효한 연산입니다.
[noexcept] QOpcUaEnumDefinition::~QOpcUaEnumDefinition()
이 열거형 정의 객체를 삭제합니다.
QList<QOpcUaEnumField> QOpcUaEnumDefinition::fields() const
enum 유형의 필드를 반환합니다.
setFields()도 참조하십시오 .
void QOpcUaEnumDefinition::setFields(const QList<QOpcUaEnumField> &fields)
열거형 타입의 필드를 ` fields`로 설정합니다.
fields()도 참조하십시오 .
[noexcept] void QOpcUaEnumDefinition::swap(QOpcUaEnumDefinition &other)
other 의 열거형 정의 객체를 이 열거형 정의 객체로 교체합니다. 이 작업은 매우 빠르며 절대 실패하지 않습니다.
QOpcUaEnumDefinition::operator QVariant() const
이 열거형 정의를 ` QVariant`로 변환합니다.
[noexcept] QOpcUaEnumDefinition &QOpcUaEnumDefinition::operator=(QOpcUaEnumDefinition &&other)
other 를 이 QOpcUaEnumDefinition 인스턴스에 이동 할당합니다.
참고: 이동된객체 other 는 부분적으로 형성된 상태가 되며, 이 상태에서는 소멸과 새 값 할당만이 유효한 연산입니다.
QOpcUaEnumDefinition &QOpcUaEnumDefinition::operator=(const QOpcUaEnumDefinition &rhs)
이 열거형 정의에서 rhs 에 있는 값들을 설정합니다.
관련 비회원
[noexcept] bool operator!=(const QOpcUaEnumDefinition &lhs, const QOpcUaEnumDefinition &rhs)
lhs 가 rhs 와 같지 않은 경우, true 을 반환합니다.
[noexcept] bool operator==(const QOpcUaEnumDefinition &lhs, const QOpcUaEnumDefinition &rhs)
lhs 가 rhs 와 같을 경우, true 를 반환합니다.
© 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.