QOpcUaEnumField Class
OPC UA StructureDefinition 유형. 더 보기...
| 헤더: | #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 |
| 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()
Default는 매개변수가 설정되지 않은 열거형 필드를 생성합니다.
QOpcUaEnumField::QOpcUaEnumField(const QOpcUaEnumField &other)
other 에서 열거형 필드를 생성합니다.
[constexpr noexcept default] QOpcUaEnumField::QOpcUaEnumField(QOpcUaEnumField &&other)
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)
enum 필드의 열거형 값을 value 로 설정합니다.
value()도 참조하십시오 .
[noexcept] void QOpcUaEnumField::swap(QOpcUaEnumField &other)
other 의 열거형 필드 객체를 이 열거형 필드 객체로 교체합니다. 이 작업은 매우 빠르며 절대 실패하지 않습니다.
qint64 QOpcUaEnumField::value() const
enum 필드의 열거형 값을 반환합니다.
setValue()도 참조하십시오 .
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 를 반환합니다.
© 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.