QOpcUaStructureField Class
OPC UA 구조 필드 유형. 자세히...
헤더: | #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 |
QVariant | 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 에서 구조 필드를 구성합니다.
[noexcept]
QOpcUaStructureField::QOpcUaStructureField(QOpcUaStructureField &&other)
Move - 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()도 참조하세요 .
QVariant 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 과 같습니다.
© 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.