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) |
QVariant | 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()
기본값은 매개변수가 설정되지 않은 열거형 정의를 구성합니다.
QOpcUaEnumDefinition::QOpcUaEnumDefinition(const QOpcUaEnumDefinition &other)
other 에서 열거형 정의를 작성합니다.
[noexcept]
QOpcUaEnumDefinition::QOpcUaEnumDefinition(QOpcUaEnumDefinition &&other)
Move는 other 에서 새 열거형 정의를 생성합니다.
참고: 이동한 개체 other 는 부분적으로 형성된 상태로 배치되며, 유효한 작업은 파괴와 새 값의 할당뿐입니다.
[noexcept]
QOpcUaEnumDefinition::~QOpcUaEnumDefinition()
이 열거형 정의 객체를 삭제합니다.
QList<QOpcUaEnumField> QOpcUaEnumDefinition::fields() const
열거형 타입의 필드를 반환합니다.
setFields()도 참조하세요 .
void QOpcUaEnumDefinition::setFields(const QList<QOpcUaEnumField> &fields)
열거형 유형의 필드를 fields 로 설정합니다.
fields()도 참조하세요 .
[noexcept]
void QOpcUaEnumDefinition::swap(QOpcUaEnumDefinition &other)
열거형 정의 객체 other 를 이 열거형 정의 객체로 바꿉니다. 이 작업은 매우 빠르며 실패하지 않습니다.
QVariant 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
을 반환합니다 .
© 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.