DEENESPTFRRUARHIKOZHNL

클래스 ara::diag::DiagnosticSovdArrayContentElementDataIterator

[SWS_DM_02215] Upstream: RS_Diag_04260

class DiagnosticSovdArrayContentElementDataIterator {...};

Iterator for a DiagnosticSovdArrayContentElementData.

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Forwarding-Header#include "ara/diag/diag_fwd.h"
Scopenamespace ara::diag

사용자 가이드AI 생성

진단 콘텐츠 내의 개별 SOVD 배열 요소를 순차적으로 순회하고 역참조하는 데 사용됩니다.
AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 326a63144281 출처 열린 질문 (3)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

진단 콘텐츠 내의 개별 SOVD 배열 요소를 순차적으로 순회하고 역참조하는 데 사용됩니다.

클래스 ara::diag::DiagnosticSovdArrayContentElementDataIterator은 진단 콘텐츠 내에서 SOVD 배열 요소를 단계별로 순회하는 데 사용됩니다([SWS_DM_02215], AUTOSAR_AP_SWS_Diagnostics §8.60.4 “Class: DiagnosticSovdArrayContentElementDataIterator”). 비교, 전위 증가를 통한 전진, 그리고 DiagnosticSovdContentElementData에 대한 참조 또는 포인터를 제공하기 위한 역참조 연산자를 제공합니다([SWS_DM_02216], [SWS_DM_02220]). 모든 함수는 스레드 안전하며 noexcept으로 명시되어 있으므로 역참조 전에 애플리케이션에서 대상 영역의 유효성을 확인해야 합니다.

컨텍스트

클래스 ara::diag::DiagnosticSovdArrayContentElementDataIterator은 SOVD 기반 진단 통신(Service-Oriented Vehicle Diagnostics) 내에서 배열 요소를 위한 특정 반복자를 제공합니다([SWS_DM_02215], AUTOSAR_AP_SWS_Diagnostics §8.60.4 “Class: DiagnosticSovdArrayContentElementDataIterator”). 주요 책임은 데이터 배열의 요소를 순차적으로 탐색할 수 있도록 표준화된 반복 인터페이스를 제공하는 것입니다. 상호작용 대상으로는 호출하는 진단 애플리케이션 및 참조되는 DiagnosticSovdContentElementData 유형의 대상 요소가 있습니다([SWS_DM_02216], [SWS_DM_02217]). 반복자는 헤더 ara/diag/diagnostic_sovd_content_element_data.h에 선언되어 있습니다(AUTOSAR_AP_SWS_Diagnostics §8.60.4.1 “Public Member Functions”).

수명 주기

사양은 ara::diag::DiagnosticSovdArrayContentElementDataIterator에 대해 자체 공개 생성자를 정의하지 않으므로, 인스턴스는 해당 SOVD 컨테이너 구조에 의해 해당 반복자 메서드를 통해 생성 및 제공됩니다(해석). 질문 Q-e1fbf51ab4acc197 (열림) 반복자 자체는 기본 페이로드에 대한 소유권을 갖지 않고 메모리의 각 요소에 대한 참조만 유지합니다. 따라서 반복자 인스턴스의 유효성은 상위 데이터 구조의 수명 및 유효성에 엄격하게 연결될 것으로 추정됩니다(해석). 질문 Q-c01219664b4adc56 (열림)

라이프사이클 및 동시성과 관련하여 모든 멤버 함수는 예외 안전(exception safe) 및 스레드 안전(thread-safe)으로 명시되어 있습니다([SWS_DM_02216], [SWS_DM_02218], [SWS_DM_02219], [SWS_DM_02220]). 이를 통해 기본 데이터 구조가 동시에 파괴적으로 수정되지 않는 한 여러 스레드에 걸쳐 동시 읽기 및 전진 작업을 수행할 수 있습니다.

사용 경로

정규 흐름은 C++ 전진 반복자의 전형적인 패턴을 따릅니다. 애플리케이션은 operator!=([SWS_DM_02219]) 또는 operator==([SWS_DM_02218], AUTOSAR_AP_SWS_Diagnostics §8.60.4.1.1.5 “operator==”)를 통해 현재 반복자 위치를 끝 반복자와 비교합니다. 끝에 아직 도달하지 않은 경우, DiagnosticSovdContentElementData에 대한 참조를 반환하는 역참조 operator*([SWS_DM_02216])를 통하거나 해당 포인터를 반환하는 화살표 연산자 operator->([SWS_DM_02217], AUTOSAR_AP_SWS_Diagnostics §8.60.4.1.1.4 “operator->”)을 통해 현재 요소에 대한 읽기 접근이 수행됩니다. 그런 다음 애플리케이션은 전위 증가 연산자 operator++을 사용하여 위치를 다음 배열 요소로 전진시킵니다([SWS_DM_02220], AUTOSAR_AP_SWS_Diagnostics §8.60.4.1.1.3 “operator++”).

SOVD 배열 요소에 대한 순차적 반복애플리케이션DiagnosticSovdArrayContentElementDataIteratorDiagnosticSovdContentElementDataloopSolange it != endoperator!=(endIterator)trueoperator*()DiagnosticSovdContentElementData에 대한 참조Elementdaten verarbeitenoperator++()증가된 반복자에 대한 참조

시퀀스 다이어그램: SOVD 배열 요소에 대한 반복 루프 동안의 호출 시퀀스. 출처: [SWS_DM_02216], [SWS_DM_02219], [SWS_DM_02220].

오류 시나리오

반복자의 모든 메서드에는 사양 noexcept이 부여되어 있으며 정의상 예외를 발생시키지 않습니다([SWS_DM_02216], [SWS_DM_02217], [SWS_DM_02218], [SWS_DM_02219], [SWS_DM_02220]). ara::core::ErrorCode과 같은 오류 코드는 이러한 인터페이스에 제공되지 않습니다. 정확성은 애플리케이션의 호출 조건에 달려 있습니다. operator* 또는 operator->을 사용한 역참조는 반복자가 끝 위치가 아닌 유효한 배열 요소를 가리켜야 한다는 것을 사전 조건으로 엄격히 요구하며, 유효하지 않은 반복자에 접근하면 정의되지 않은 동작이 발생할 것으로 추정됩니다(해석). 질문 Q-63d87e38f9886f6b (열림)

이 클래스 가이드는 AUTOSAR 사양 R25-11을 기반으로 AI 큐레이션 어시스턴트에 의해 생성되었습니다.

멤버 맵

클래스 다이어그램

Hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); Klicken öffnet die jeweilige Klassenseite.

G nara__diag__DiagnosticSovdArrayContentElementDataIterator554 DiagnosticSovdArrayContentElementDataIterator + operator!=() + operator*() + operator++() + operator->() + operator==()

상세 보기

개요에서 항목을 선택하세요.

연산자

operator!= 함수

Not equal operator.

auto operator!= (DiagnosticSovdArrayContentElementDataIterator const &other) noexcept -> bool;
operator* 함수

Dereference operator.

auto operator* () noexcept -> DiagnosticSovdContentElementData &;
operator++ 함수

Increment operator.

auto operator++ () noexcept -> DiagnosticSovdArrayContentElementData Iterator &;
operator-> 함수

Dereference operator.

auto operator-> () noexcept -> DiagnosticSovdContentElementData *;
operator== 함수

Equal operator.

auto operator== (DiagnosticSovdArrayContentElementDataIterator const &other) noexcept -> bool;

메서드 문서

함수 operator!= [SWS_DM_02219] Upstream: RS_Diag_04260

auto operator!= (DiagnosticSovdArrayContentElementDataIterator const &other) noexcept -> bool;

Not equal operator.

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdArrayContentElementDataIterator
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
otherThe other iterator to test equality with

Rückgabewert

TypBeschreibung
boolTrue if operator are equals, false otherwise

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_02219
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02219@rel:R25-11#e6a7b203
Content hash
e6a7b203
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02219
Status: valid/unmigrated Version: rel:R25-11#6069fe65 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_02219@rel:R25-11#6069fe65
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 operator* [SWS_DM_02216] Upstream: RS_Diag_04260

auto operator* () noexcept -> DiagnosticSovdContentElementData &;

Dereference operator.

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdArrayContentElementDataIterator
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
DiagnosticSovdContentElementDataReturn a reference to the DiagnosticSovdContentElementData

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_02216
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02216@rel:R25-11#fc11281a
Content hash
fc11281a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02216
Status: valid/unmigrated Version: rel:R25-11#b1584ef2 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_02216@rel:R25-11#b1584ef2
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 operator++ [SWS_DM_02220] Upstream: RS_Diag_04260

auto operator++ () noexcept -> DiagnosticSovdArrayContentElementData Iterator &;

Increment operator.

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdArrayContentElementDataIterator
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
DiagnosticSovdArrayContentElementDataIteratorReference to the incremented iterator

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_02220
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02220@rel:R25-11#4eb1a2ee
Content hash
4eb1a2ee
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02220
Status: valid/unmigrated Version: rel:R25-11#c29d507b Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_02220@rel:R25-11#c29d507b
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 operator-> [SWS_DM_02217] Upstream: RS_Diag_04260

auto operator-> () noexcept -> DiagnosticSovdContentElementData *;

Dereference operator.

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdArrayContentElementDataIterator
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
DiagnosticSovdContentReturn a pointer to the DiagnosticSovdContentElementData ElementData *

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_02217
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02217@rel:R25-11#1196b943
Content hash
1196b943
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02217
Status: valid/unmigrated Version: rel:R25-11#9925393e Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_02217@rel:R25-11#9925393e
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 operator== [SWS_DM_02218] Upstream: RS_Diag_04260

auto operator== (DiagnosticSovdArrayContentElementDataIterator const &other) noexcept -> bool;

Equal operator.

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdArrayContentElementDataIterator
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
otherThe other iterator to test equality with

Rückgabewert

TypBeschreibung
boolTrue if operator are equals, false otherwise

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_02218
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02218@rel:R25-11#eb76b77e
Content hash
eb76b77e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02218
Status: valid/unmigrated Version: rel:R25-11#2c54c371 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_02218@rel:R25-11#2c54c371
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill