DEENESPTFRRUARHIKOZHNL

class ara::diag::DiagnosticSovdRecordContentElementDataConstView

[SWS_DM_02295] Upstream: RS_Diag_04260

class DiagnosticSovdRecordContentElementDataConstView {...};

Const view on a DiagnosticSovdContentElementData with Record type.

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

User GuideKI-GENERIERT

Bietet schreibgeschützten, thread-sicheren Lesezugriff auf Record-Elemente diagnostischer SOVD-Daten.
KI-GENERIERT ungeprüft Modell: gemini-3.8-flash-medium · Aufwand: medium · Temperatur: nicht steuerbar · Prompt: 5db4cee55bd3 Herkunft Offene Fragen (1)
KI-generiertgemini-3.8-flash-medium · 2026-10-13

Bietet schreibgeschützten, thread-sicheren Lesezugriff auf Record-Elemente diagnostischer SOVD-Daten.

Die Klasse bietet eine unveränderliche Ansicht auf strukturierte SOVD-Record-Inhaltselemente zur effizienten und schreibgeschützten Auswertung in Diagnoseanwendungen ([SWS_DM_02295]). Anwender können den Fehlerstatus über Ergebnisobjekte prüfen, Datensatzelemente gezielt per Schlüssel adressieren oder den gesamten Inhalt sequenziell mittels konstanter Iteratoren durchlaufen ([SWS_DM_02300]). Sämtliche Schnittstellen sind vollständig thread-sicher und als ausnahmesicher deklariert, setzen jedoch voraus, dass das referenzierte Inhaltselement dem erwarteten Record-Typ entspricht.

Kontext

Die Klasse ara::diag::DiagnosticSovdRecordContentElementDataConstView definiert eine unveränderliche Ansicht (Const View) auf diagnostische SOVD-Inhaltselemente des Datensatztyps Record ([SWS_DM_02295], AUTOSAR_AP_SWS_Diagnostics §8.60.9 „Class: DiagnosticSovdRecordContentElementDataConstView“). Die Schnittstelle wird über den Header #include "ara/diag/diagnostic_sovd_content_element_data.h" bereitgestellt ([SWS_DM_02298]). Sie ermöglicht Diagnose-Anwendungen das gezielte, strukturierte Auslesen von hierarchisch gegliederten Datenfeldern eines SOVD-Inhaltselements, ohne Kopien der Nutzdaten anlegen oder modifizierende Operationen durchführen zu müssen.

Zu den primären Interaktionspartnern gehören die aufrufende Diagnosekomponente, das zugrunde liegende Objekt vom Typ DiagnosticSovdContentElementData sowie die darüber adressierten Einzelelemente, welche als konstante Referenzverpackung std::reference_wrapper<DiagnosticSovdContentElementData const> oder über konstante Iteratoren bereitgestellt werden ([SWS_DM_02300], [SWS_DM_02301]).

Lebenszyklus

Als Ansichtstyp besitzt ara::diag::DiagnosticSovdRecordContentElementDataConstView vermutlich keine eigene Inhaberschaft (Ownership) der zugrunde liegenden Nutzdaten; die Gültigkeit der Ansicht dürfte an die Lebensdauer des referenzierten DiagnosticSovdContentElementData-Objekts gebunden sein. Frage Q-4aca4f6f723cd3f5 (offen) Die Zerstörung der View-Instanz gibt lediglich den Ansichtsdeskriptor frei, lässt aber die zugrunde liegende Datenstruktur unberührt.

Hinsichtlich der Nebenläufigkeit sind sämtliche Elementfunktionen der Klasse explizit als thread-sicher und ausnahmesicher (noexcept) spezifiziert ([SWS_DM_02296], [SWS_DM_02298]). Mehrere Threads können somit parallel und synchronisationsfrei lesend auf die Schnittstelle zugreifen, sofern die referenzierte Datenstruktur während des Zugriffs nicht nebenläufig verändert wird.

Nutzungspfad

Ein typischer Ablauf zur Auswertung eines Record-Elements gliedert sich in Fehlerüberprüfung, Dimensionsprüfung und Elementzugriff:

  1. Fehlerzustand prüfen: Vor der Verarbeitung wird über HasError() validiert, ob der Inhalt fehlerfrei vorliegt ([SWS_DM_02296]).
  2. Belegung abfragen: Über Empty() kann geprüft werden, ob der Datensatz leer ist ([SWS_DM_02299], AUTOSAR_AP_SWS_Diagnostics §8.60.9.1.1.5 „Empty“). Die Methoden Size() und Capacity() liefern die Elementanzahl sowie die Kapazität des Datensatzes ([SWS_DM_02297], [SWS_DM_02298], AUTOSAR_AP_SWS_Diagnostics §8.60.9.1.1.4 „Capacity“).
  3. Gezielter Elementzugriff: Vor dem Zugriff auf ein benanntes Feld kann mittels HasContentElement() das Vorhandensein eines Schlüssels geprüft werden ([SWS_DM_02305]). Der wahlfreie Zugriff erfolgt anschließend über operator[] mit Übergabe eines ara::core::StringView, welcher eine Referenz auf das Unterelement zurückgibt ([SWS_DM_02300]). Alternativ liefert Find() einen Iterator auf das gefundene Element ([SWS_DM_02306]).
  4. Sequenzielle Iteration: Zur vollständigen Traversierung aller Unterelemente stehen die Iterator-Methoden Begin() / End() sowie CBegin() / CEnd() zur Verfügung, die Instanzen von DiagnosticSovdRecordContentElementDataConstIterator zurückgeben ([SWS_DM_02301], [SWS_DM_02302], [SWS_DM_02303], [SWS_DM_02304], AUTOSAR_AP_SWS_Diagnostics §8.60.9.1.1.1 „Begin“, AUTOSAR_AP_SWS_Diagnostics §8.60.9.1.1.2 „CBegin“, AUTOSAR_AP_SWS_Diagnostics §8.60.9.1.1.3 „CEnd“).
Nutzungspfad der Record-KonstantenansichtAnwendungview: DiagnosticSovdRecordContentElementDataConstViewHasError()Result<void> (Erfolg)HasContentElement(key)Result<bool> (true)operator[](key)Result<reference_wrapper<DiagnosticSovdContentElementData const>>

Sequenzdiagramm: Aufrufreihenfolge zur Fehlerprüfung und schlüsselbasierten Elementabfrage. Quellen: [SWS_DM_02296], [SWS_DM_02300], [SWS_DM_02305].

Fehlerszenarien

Die Klasse nutzt zur Fehlerbehandlung den Rückgabetyp ara::core::Result anstelle von C++-Ausnahmen:

  • Interner Fehlerzustand: Weist das zugrunde liegende SOVD-Inhaltselement einen Fehler auf, gibt HasError() ein ara::core::Result<void> zurück, das den Fehlercode ara::diag::DiagSovdErrc enthält ([SWS_DM_02296]).
  • Fehlender Schlüssel oder Typkonflikt: Beim Zugriff über operator[] oder der Prüfung mit HasContentElement() liefert der Rückgabewert ein Fehler-Result, falls das DiagnosticSovdContentElementData nicht vom Typ RecordContentElementData oder ContentData ist oder der angegebene Schlüssel nicht existiert ([SWS_DM_02300], [SWS_DM_02305]).
  • Verletzung von Vorbedingungen: Für die Methoden Begin(), End(), CBegin(), CEnd(), Size(), Capacity(), Empty() und Find() gilt als Vorbedingung, dass das referenzierte Inhaltselement vom Typ RecordContentElementData oder ContentData sein muss ([SWS_DM_02297], [SWS_DM_02298], [SWS_DM_02299], [SWS_DM_02301], [SWS_DM_02302], [SWS_DM_02303], [SWS_DM_02304], [SWS_DM_02306]).

Dieser Leitfaden basiert auf der Spezifikation AUTOSAR Adaptive Platform Release R25-11.

Mitgliederkarte

Klassendiagramm

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

G nara__diag__DiagnosticSovdRecordContentElementDataConstView167 DiagnosticSovdRecordContentElementDataConstView + Begin() + CBegin() + CEnd() + Capacity() + Empty() + End() + Find() + HasContentElement() + HasError() + Size() + operator[]()

Detailansicht

Wähle in der Gliederung einen Eintrag aus.

Methoden

Begin function

Returns the begin operator of a RecordContentElementData. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

auto Begin () noexcept -> DiagnosticSovdRecordContentElementDataConst Iterator;
Capacity function

Returns the capacity of the RecordContentElementData. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

auto Capacity () const noexcept -> std::size_t;
CBegin function

Returns the begin operator of a RecordContentElementData. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

auto CBegin () noexcept -> DiagnosticSovdRecordContentElementDataConst Iterator;
CEnd function

Returns the end operator of a RecordContentElementData. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

auto CEnd () noexcept -> DiagnosticSovdRecordContentElementDataConst Iterator;
Empty function

Returns if the RecordContentElementData is empty. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

auto Empty () const noexcept -> bool;
End function

Returns the end operator of a RecordContentElementData. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

auto End () noexcept -> DiagnosticSovdRecordContentElementDataConst Iterator;
Find function

Find an element with the specified key. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

auto Find (ara::core::StringView key) const noexcept -> DiagnosticSovd RecordContentElementDataConstIterator;

Returns if the RecordContentElementData contains an element with the specified key. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

auto HasContentElement (ara::core::StringView key) const noexcept -> ara::core::Result< bool >;
HasError function

Returns if the content contains an error.

auto HasError () const noexcept -> ara::core::Result< void >;
Size function

Returns the count of elements in the RecordContentElementData. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

auto Size () const noexcept -> std::size_t;

Operatoren

operator[] function

Access the content element with specified key. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

auto operator[] (ara::core::StringView key) const noexcept -> ara::core::Result< std::reference_wrapper< DiagnosticSovdContent ElementData const > >;

Dokumentation der Methoden

function Begin [SWS_DM_02301] Upstream: RS_Diag_04260

auto Begin () noexcept -> DiagnosticSovdRecordContentElementDataConst Iterator;

Returns the begin operator of a RecordContentElementData. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

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

Rückgabewert

TypBeschreibung
DiagnosticSovdRecordContentElementDataConstIteratorThe iterator

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

Record
AUTOSAR/AP/record/SWS_DM_02301
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02301@rel:R25-11#841c2b71
Content hash
841c2b71
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02301
Status: valid/unmigrated Version: rel:R25-11#841c2b71 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_02301@rel:R25-11#841c2b71
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

function CBegin [SWS_DM_02303] Upstream: RS_Diag_04260

auto CBegin () noexcept -> DiagnosticSovdRecordContentElementDataConst Iterator;

Returns the begin operator of a RecordContentElementData. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

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

Rückgabewert

TypBeschreibung
DiagnosticSovdRecordContentElementDataConstIteratorThe iterator

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

Record
AUTOSAR/AP/record/SWS_DM_02303
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02303@rel:R25-11#07b5c901
Content hash
07b5c901
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02303
Status: valid/unmigrated Version: rel:R25-11#07b5c901 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_02303@rel:R25-11#07b5c901
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

function CEnd [SWS_DM_02304] Upstream: RS_Diag_04260

auto CEnd () noexcept -> DiagnosticSovdRecordContentElementDataConst Iterator;

Returns the end operator of a RecordContentElementData. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

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

Rückgabewert

TypBeschreibung
DiagnosticSovdRecordContentElementDataConstIteratorThe iterator

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

Record
AUTOSAR/AP/record/SWS_DM_02304
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02304@rel:R25-11#450bd183
Content hash
450bd183
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02304
Status: valid/unmigrated Version: rel:R25-11#450bd183 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_02304@rel:R25-11#450bd183
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

function Capacity [SWS_DM_02298] Upstream: RS_Diag_04260

auto Capacity () const noexcept -> std::size_t;

Returns the capacity of the RecordContentElementData. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

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

Rückgabewert

TypBeschreibung
std::size_tThe capacity of the RecordContentElementData

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

Record
AUTOSAR/AP/record/SWS_DM_02298
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02298@rel:R25-11#71bc48fb
Content hash
71bc48fb
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02298
Status: valid/unmigrated Version: rel:R25-11#71bc48fb 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_02298@rel:R25-11#71bc48fb
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

function Empty [SWS_DM_02299] Upstream: RS_Diag_04260

auto Empty () const noexcept -> bool;

Returns if the RecordContentElementData is empty. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

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

Rückgabewert

TypBeschreibung
boolIf the record is empty

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

Record
AUTOSAR/AP/record/SWS_DM_02299
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02299@rel:R25-11#c4815670
Content hash
c4815670
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02299
Status: valid/unmigrated Version: rel:R25-11#c4815670 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_02299@rel:R25-11#c4815670
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

function End [SWS_DM_02302] Upstream: RS_Diag_04260

auto End () noexcept -> DiagnosticSovdRecordContentElementDataConst Iterator;

Returns the end operator of a RecordContentElementData. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

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

Rückgabewert

TypBeschreibung
DiagnosticSovdRecordContentElementDataConstIteratorThe iterator

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

Record
AUTOSAR/AP/record/SWS_DM_02302
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02302@rel:R25-11#1495a9cd
Content hash
1495a9cd
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02302
Status: valid/unmigrated Version: rel:R25-11#1495a9cd 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_02302@rel:R25-11#1495a9cd
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

function Find [SWS_DM_02306] Upstream: RS_Diag_04260

auto Find (ara::core::StringView key) const noexcept -> DiagnosticSovd RecordContentElementDataConstIterator;

Find an element with the specified key. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

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

Parameter (in)

ParameterBeschreibung
keyThe key

Rückgabewert

TypBeschreibung
DiagnosticSovdRecordContentElementDataConstIteratorA DiagnosticSovdRecordContentElementDataIterator

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

Record
AUTOSAR/AP/record/SWS_DM_02306
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02306@rel:R25-11#8a7445ae
Content hash
8a7445ae
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02306
Status: valid/unmigrated Version: rel:R25-11#8a7445ae 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_02306@rel:R25-11#8a7445ae
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

function HasContentElement [SWS_DM_02305] Upstream: RS_Diag_04260

auto HasContentElement (ara::core::StringView key) const noexcept -> ara::core::Result< bool >;

Returns if the RecordContentElementData contains an element with the specified key. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

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

Parameter (in)

ParameterBeschreibung
keyThe key

Rückgabewert

TypBeschreibung
ara::core::Result< bool >boolean indicating if the elements is found or an error if Diagnostic SovdContentElementData is not of type RecordContentElement Data or ContentData OR the key is not found

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

Record
AUTOSAR/AP/record/SWS_DM_02305
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02305@rel:R25-11#375dbd09
Content hash
375dbd09
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02305
Status: valid/unmigrated Version: rel:R25-11#375dbd09 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_02305@rel:R25-11#375dbd09
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

function HasError [SWS_DM_02296] Upstream: RS_Diag_04260

auto HasError () const noexcept -> ara::core::Result< void >;

Returns if the content contains an error.

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

Rückgabewert

TypBeschreibung
ara::core::Result< void >void result if it doesn’t contain an error, otherwise the ara::diag::DiagSovdErrc

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

Record
AUTOSAR/AP/record/SWS_DM_02296
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02296@rel:R25-11#a6b50f7f
Content hash
a6b50f7f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02296
Status: valid/unmigrated Version: rel:R25-11#a6b50f7f 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_02296@rel:R25-11#a6b50f7f
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

function Size [SWS_DM_02297] Upstream: RS_Diag_04260

auto Size () const noexcept -> std::size_t;

Returns the count of elements in the RecordContentElementData. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

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

Rückgabewert

TypBeschreibung
std::size_tThe count of the RecordContentElementData

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

Record
AUTOSAR/AP/record/SWS_DM_02297
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02297@rel:R25-11#0d76c009
Content hash
0d76c009
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02297
Status: valid/unmigrated Version: rel:R25-11#0d76c009 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_02297@rel:R25-11#0d76c009
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

function operator[] [SWS_DM_02300] Upstream: RS_Diag_04260

auto operator[] (ara::core::StringView key) const noexcept -> ara::core::Result< std::reference_wrapper< DiagnosticSovdContent ElementData const > >;

Access the content element with specified key. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

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

Parameter (in)

ParameterBeschreibung
keyThe key

Rückgabewert

TypBeschreibung
ara::core::Result<std::reference_wrapper<DiagnosticSovdContentElementData const > >reference to the content element or an error if DiagnosticSovdContentElementData is not of type RecordContentElementData or ContentData OR the key is not found

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

Record
AUTOSAR/AP/record/SWS_DM_02300
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02300@rel:R25-11#fdb5d31b
Content hash
fdb5d31b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02300
Status: valid/unmigrated Version: rel:R25-11#fdb5d31b 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_02300@rel:R25-11#fdb5d31b
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