QRangeModelAdapter::RowIterator Struct
struct QRangeModelAdapter::RowIterator모델의 행을 대상으로 STL 스타일의 비const 이터레이터를 제공합니다. 더 보기...
이 구조체는 기술 미리보기 단계에 있으며 변경될 수 있습니다.
이 구조체는 Qt 6.11에서 도입되었습니다.
공개 함수
| RowIterator(const QRangeModelAdapter<Range, Protocol, Model>::RowIterator &other) | |
| RowIterator(QRangeModelAdapter<Range, Protocol, Model>::RowIterator &&other) | |
| ~RowIterator() | |
| QRangeModelAdapter<Range, Protocol, Model>::RowIterator & | operator=(QRangeModelAdapter<Range, Protocol, Model>::RowIterator &&other) |
| QRangeModelAdapter<Range, Protocol, Model>::RowIterator & | operator=(const QRangeModelAdapter<Range, Protocol, Model>::RowIterator &other) |
상세 설명
이테레이터는 ` std::random_access_iterator`를 모델로 합니다. 모델이 리스트인 경우, 이테레이터를 역참조하면 모델에서 가리키는 항목에 대한 ` DataReference ` 래퍼가 반환됩니다.
테이블과 트리의 경우, 이터레이터의 참조를 해제하면 가리키는 행에 대한 RowReference 가 반환됩니다.
멤버 함수 문서
[default] RowIterator::RowIterator(const QRangeModelAdapter<Range, Protocol, Model>::RowIterator &other)
RowIterator 의 인스턴스를 복사 생성합니다.
[default] RowIterator::RowIterator(QRangeModelAdapter<Range, Protocol, Model>::RowIterator &&other)
RowIterator 의 인스턴스를 move 생성합니다.
[default] RowIterator::~RowIterator()
RowIterator 의 인스턴스를 삭제합니다.
[default] QRangeModelAdapter<Range, Protocol, Model>::RowIterator &RowIterator::operator=(QRangeModelAdapter<Range, Protocol, Model>::RowIterator &&other)
other 를 이 RowIterator 인스턴스에 할당합니다.
[default] QRangeModelAdapter<Range, Protocol, Model>::RowIterator &RowIterator::operator=(const QRangeModelAdapter<Range, Protocol, Model>::RowIterator &other)
other 를 이 RowIterator 인스턴스에 복사-할당합니다.
© 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.