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

उपयोगकर्ता गाइडएआई जनित

डायग्नोस्टिक सामग्री में अलग-अलग SOVD ऐरे तत्वों को क्रमिक रूप से पार करने और डीरेफ़रेंस करने का कार्य करता है।
एआई-जनित असत्यापित मॉडल: 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#d0460322
Content hash
d0460322
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#27f2748d
Content hash
27f2748d
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#65a36ff2
Content hash
65a36ff2
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#354a80ce
Content hash
354a80ce
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#938ddca5
Content hash
938ddca5
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