QOpcUaStructureField Class
OPC UA StructureField 유형. 더 보기...
| 헤더: | #include <QOpcUaStructureField> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
| 다음부터: | Qt 6.7부터 |
공개 함수
| QOpcUaStructureField(qint32 valueRank = -1) | |
| QOpcUaStructureField(const QOpcUaStructureField &other) | |
| QOpcUaStructureField(QOpcUaStructureField &&other) | |
| ~QOpcUaStructureField() | |
| QList<quint32> | arrayDimensions() const |
| QString | dataType() const |
| QOpcUaLocalizedText | description() const |
| bool | isOptional() const |
| quint32 | maxStringLength() const |
| QString | name() const |
| void | setArrayDimensions(const QList<quint32> &arrayDimensions) |
| void | setDataType(const QString &dataTypeId) |
| void | setDescription(const QOpcUaLocalizedText &description) |
| void | setIsOptional(bool isOptional) |
| void | setMaxStringLength(quint32 maxStringLength) |
| void | setName(const QString &name) |
| void | setValueRank(qint32 valueRank) |
| void | swap(QOpcUaStructureField &other) |
| qint32 | valueRank() const |
| operator QVariant() const | |
| QOpcUaStructureField & | operator=(QOpcUaStructureField &&other) |
| QOpcUaStructureField & | operator=(const QOpcUaStructureField &other) |
관련 비멤버
| bool | operator!=(const QOpcUaStructureField &lhs, const QOpcUaStructureField &rhs) |
| bool | operator==(const QOpcUaStructureField &lhs, const QOpcUaStructureField &rhs) |
멤버 함수 설명
[explicit] QOpcUaStructureField::QOpcUaStructureField(qint32 valueRank = -1)
valueRank 를 사용하여 구조체 필드를 생성합니다.
QOpcUaStructureField::QOpcUaStructureField(const QOpcUaStructureField &other)
other 에서 구조체 필드를 생성합니다.
[constexpr noexcept default] QOpcUaStructureField::QOpcUaStructureField(QOpcUaStructureField &&other)
other 에서 새로운 구조체 필드를 이동 생성합니다.
참고: 이동된객체 other 는 부분적으로 형성된 상태가 되며, 이 상태에서는 소멸과 새 값 할당만이 유효한 연산입니다.
[noexcept] QOpcUaStructureField::~QOpcUaStructureField()
이 구조체 필드 객체를 삭제합니다.
QList<quint32> QOpcUaStructureField::arrayDimensions() const
구조체 필드의 배열 차원을 반환합니다.
setArrayDimensions()도 참조하십시오 .
QString QOpcUaStructureField::dataType() const
구조체 필드의 데이터 유형 노드 ID를 반환합니다.
setDataType()도 참조하십시오 .
QOpcUaLocalizedText QOpcUaStructureField::description() const
구조체 필드의 설명을 반환합니다.
setDescription()도 참조하십시오 .
bool QOpcUaStructureField::isOptional() const
구조체 필드가 선택적일 경우 ` true `를 반환합니다.
setIsOptional()도 참조하십시오 .
quint32 QOpcUaStructureField::maxStringLength() const
구조체 필드의 최대 문자열 길이를 반환합니다.
setMaxStringLength()도 참조하십시오 .
QString QOpcUaStructureField::name() const
구조체 필드의 이름을 반환합니다.
setName()도 참조하십시오 .
void QOpcUaStructureField::setArrayDimensions(const QList<quint32> &arrayDimensions)
구조체 필드의 배열 차원을 arrayDimensions 로 설정합니다.
arrayDimensions()도 참조하십시오 .
void QOpcUaStructureField::setDataType(const QString &dataTypeId)
구조체 필드의 데이터 유형 노드 ID를 ` dataTypeId`로 설정합니다.
dataType()도 참조하십시오 .
void QOpcUaStructureField::setDescription(const QOpcUaLocalizedText &description)
구조체 필드의 설명을 “ description ”로 설정합니다.
description()도 참조하십시오 .
void QOpcUaStructureField::setIsOptional(bool isOptional)
구조체 필드의 선택적 플래그를 isOptional 로 설정합니다.
isOptional()도 참조하십시오 .
void QOpcUaStructureField::setMaxStringLength(quint32 maxStringLength)
구조체 필드의 최대 문자열 길이를 maxStringLength 로 설정합니다.
maxStringLength()도 참조하십시오 .
void QOpcUaStructureField::setName(const QString &name)
구조체 필드의 이름을 ‘ name ’로 설정합니다.
name()도 참조하십시오 .
void QOpcUaStructureField::setValueRank(qint32 valueRank)
구조체 필드의 값 순위를 valueRank 로 설정합니다.
valueRank()도 참조하십시오 .
[noexcept] void QOpcUaStructureField::swap(QOpcUaStructureField &other)
other 의 구조체 필드 객체를 이 구조체 필드 객체로 교체합니다. 이 작업은 매우 빠르며 실패하는 경우가 전혀 없습니다.
qint32 QOpcUaStructureField::valueRank() const
구조체 필드의 값 순위를 반환합니다.
setValueRank()도 참조하십시오 .
QOpcUaStructureField::operator QVariant() const
이 구조체 필드를 ` QVariant`로 변환합니다.
[noexcept] QOpcUaStructureField &QOpcUaStructureField::operator=(QOpcUaStructureField &&other)
other 를 이 QOpcUaStructureField 인스턴스에 이동 할당합니다.
참고: 이동된객체 other 는 부분적으로 형성된 상태가 되며, 이 상태에서는 소멸과 새 값 할당만이 유효한 연산입니다.
QOpcUaStructureField &QOpcUaStructureField::operator=(const QOpcUaStructureField &other)
other 의 값을 이 구조체 필드에 설정합니다.
관련 비회원
[noexcept] bool operator!=(const QOpcUaStructureField &lhs, const QOpcUaStructureField &rhs)
true 를 반환합니다. lhs 은 rhs 과 다릅니다.
[noexcept] bool operator==(const QOpcUaStructureField &lhs, const QOpcUaStructureField &rhs)
true 를 반환합니다. lhs 는 rhs 와 같습니다.
© 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.