functie DiagnosticSovdRecord [SWS_DM_02260] Upstream: RS_Diag_04260
auto operator-> () noexcept -> DiagnosticSovdContentElementDataWithKey *;
Dereference operator.
Gebruik en semantiek
De dereferentie-operator operator-> van de klasse ara::diag::DiagnosticSovdRecordContentElementDataIterator dient voor synchrone lidtoegang tot een geadresseerd gegevenselement ([SWS_DM_02260]). De aanroep retourneert een pointer van het type DiagnosticSovdContentElementDataWithKey* naar het huidige element ([SWS_DM_02260]). De interface is gedefinieerd in de header ara/diag/diagnostic_sovd_content_element_data.h ([SWS_DM_02260]).
Gelijktijdigheid en randvoorwaarden
De functie is aangeduid als noexcept, garandeert uitzonderingsveiligheid (exception safe) en is gespecificeerd als thread-safe ([SWS_DM_02260]). Er bestaat geen specifieke foutcode voor deze lidfunctie. Interpretatie: vóór de aanroep moet de iterator naar een geldig gegevenselement wijzen en mag deze niet overeenkomen met het einde van het bereik, aangezien het derefereren van een ongeldige iterator vermoedelijk leidt tot ongedefinieerd gedrag. Vraag Q-735b580a0b2c8330 (open)
Samenspel
De iterator wordt in het kader van de verwerking van record-inhoud samen met andere functies gebruikt:
- Deze kan worden verkregen via zoekoperaties zoals
FindopDiagnosticSovdRecordContentElementDataView([SWS_DM_02285]). - De lusbesturing verloopt doorgaans via de prefix-incrementoperator
operator++([SWS_DM_02263]) en de ongelijkheidsoperatoroperator!=([SWS_DM_02262]) in vergelijking met de end-iterator uitRecordEnd([SWS_DM_02360]). - Voor alleen-lezen-contexten is
DiagnosticSovdRecordContentElementDataConstIteratorbeschikbaar, waarvanoperator->een pointer naarconst DiagnosticSovdContentElementDataWithKeyretourneert ([SWS_DM_02266]).
Deze gebruiksinstructie is geautomatiseerd aangemaakt en is gebaseerd op de AUTOSAR-specificaties.
Implementer's Guide volgt (complexiteit I2)
| Header-Datei | #include "ara/diag/diagnostic_sovd_content_element_data.h" |
|---|---|
| Scope | class ara::diag::DiagnosticSovdRecordContentElementDataIterator |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | thread-safe |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| DiagnosticSovdContent Return a pointer to the DiagnosticSovdAbstractContentDataWith ElementDataWithKey * Key | |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_DM_02260- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_DM_02260@rel:R25-11#23176b83- Content hash
23176b83- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02260
Status: valid/unmigrated
Version: rel:R25-11#c2b0a45d
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_02260@rel:R25-11#c2b0a45d
Requirement Text as-of this release:
Curation Decisions:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
|---|---|---|---|---|
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
gemini-3.8-flash-low· 2026-10-13 · Duits origineel