DEENESPTFRRUARHIKOZHNL

klasse ara::diag::DiagnosticSovdArrayContentElementDataView

[SWS_DM_02227] Upstream: RS_Diag_04260

class DiagnosticSovdArrayContentElementDataView {...};

View on a DiagnosticSovdContentElementData with Array type.

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

User GuideAI-GEGENEREERD

Biedt getypeerde lees- en schrijftoegang tot array-elementen van SOVD-diagnosedata via indices en iteratoren.
DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: d333ea0efb38 Herkomst Open vragen (2)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Biedt getypeerde lees- en schrijftoegang tot array-elementen van SOVD-diagnosedata via indices en iteratoren.

De klasse biedt een gestructureerde interface voor willekeurige en iteratorgebaseerde toegang tot arraygebaseerde diagnostische data-elementen van het Adaptive Platform ([SWS_DM_02227]). Deze stelt applicaties in staat om dynamisch primitieve datawaarden en complexe inhoudselementen toe te voegen en om preventief geheugencapaciteit te reserveren. Bij incompatibele datatypes, ongeldige indextoegang of expliciet ingestelde fouttoestanden worden foutcodes via Result-types naar de aanroeper gepropageerd ([SWS_DM_02228]). Alle gespecificeerde operaties zijn volgens de standaard volledig uitzonderings- en thread-safe geïmplementeerd.

Context

De klasse ara::diag::DiagnosticSovdArrayContentElementDataView is gedefinieerd in AUTOSAR_AP_SWS_Diagnostics §8.60.5 “Class: DiagnosticSovdArrayContentElementDataView” onder [SWS_DM_02227]. Deze dient in de AUTOSAR Adaptive-diagnosemodule als een getypeerde view op een diagnostisch inhoudselement (DiagnosticSovdContentElementData) met het onderliggende type ArrayContentElementData. De declaratie vindt plaats via de header ara/diag/diagnostic_sovd_content_element_data.h.

Haar primaire verantwoordelijkheid ligt in de gestructureerde inkapseling van array-operaties voor Service-Oriented Vehicle Diagnostics (SOVD). Als interactiepartners fungeren aanroepende diagnose-applicaties die SOVD-datastructuren verwerken of aanbieden, evenals de onderliggende generieke datacontainers. De toegang tot afzonderlijke array-elementen wordt afgehandeld via dedicated iteratoren of via getypeerde indexoperatoren.

Levenscyclus

Als view-object bezit de instantie vermoedelijk niet het exclusieve eigenaarschap over de eigenlijke payload, maar bindt zich aan het geheugen van een bestaande DiagnosticSovdContentElementData. Vraag Q-04a43d21a981ea92 (open) De levenscyclus van de data doorloopt de volgende fasen:

  • Geheugenreservering en capaciteit: Voorafgaand aan het invoegen van grotere hoeveelheden data kan via Reserve ([SWS_DM_02240]) de interne geheugencapaciteit anticiperend worden vastgelegd. De actuele capaciteit kan worden vastgesteld met Capacity ([SWS_DM_02231]).
  • Vullen: Nieuwe elementen worden sequentieel toegevoegd via overloads van PushBack. Ondersteund worden primitieve datatypes zoals std::int64_t ([SWS_DM_02241]), std::uint64_t ([SWS_DM_02242]), double ([SWS_DM_02243]), bool ([SWS_DM_02244]) en ara::core::StringView ([SWS_DM_02245]), evenals geneste DiagnosticSovdContentElementData-instanties ([SWS_DM_02246]).
  • Inspectie en opschoning: De bezettingsstatus kan te allen tijde worden opgevraagd via Size ([SWS_DM_02230]) en Empty ([SWS_DM_02232]). Afzonderlijke elementen kunnen per iterator worden verwijderd via Erase ([SWS_DM_02247]), terwijl Clear ([SWS_DM_02233]) de gehele array reset.

Wat betreft concurrency en uitzonderingsgedrag zijn volgens de specificatie alle lidfuncties van de klasse uitzonderingsveilig (gedeclareerd met noexcept) en thread-safe ontworpen.

Gebruikspad

Een typisch gebruikstraject omvat de voorbereidende capaciteitsreservering, het stapsgewijs vullen met data, het uitlezen van de elementen en de uiteindelijke validatie op fouttoestanden:

  1. Capaciteit reserveren: De applicatie roept Reserve aan om dynamische herallocaties bij opeenvolgende schrijfacties te minimaliseren ([SWS_DM_02240]).
  2. Elementen invoegen: Datarecords worden toegevoegd met behulp van PushBack ([SWS_DM_02241]).
  3. Elementen lezen of doorlopen: Toegang vindt plaats via willekeurige toegang via operator[] ([SWS_DM_02234], [SWS_DM_02235]) of sequentieel via iteratoren via Begin/End ([SWS_DM_02236], [SWS_DM_02237]) respectievelijk CBegin/CEnd ([SWS_DM_02238], [SWS_DM_02239]).
  4. Status controleren: Na afronding van de operaties controleert de applicatie via HasError of de array-inhoud foutloos is gebleven ([SWS_DM_02228]).
Sequentie voor het beheren en opvragen van array-elementenAnwendungArrayViewArrayDataReserve(10)Capaciteit reserverenPushBack(val)Element toevoegenResult<void>operator[](0)Element referenzierenElementdatenResult<reference_wrapper>HasError()Result<void>

Sequentiediagram: Typisch verloop van het vullen, indexeren en controleren op fouten van een SOVD-array-element. Bronnen: [SWS_DM_02240], [SWS_DM_02241], [SWS_DM_02234], [SWS_DM_02228].

Foutscenario's

Methoden met foutpotentieel gebruiken ara::core::Result voor het terugmelden van foutieve voorwaarden of het afbreken van de uitvoering in plaats van C++-exceptions:

  • Type-incongruentie: Operaties zoals PushBack ([SWS_DM_02241]) of operator[] ([SWS_DM_02234]) vereisen dat het ingekapselde element daadwerkelijk van het type ArrayContentElementData is. Anders leveren ze een overeenkomstige fout in het Result-object op. Bij PushBack moet het ingevoegde type bovendien overeenkomen met het datatype dat in de constructor van het array-element is vastgelegd.
  • Mislukte verwijdering: De aanroep van Erase ([SWS_DM_02247]) retourneert een fout in het Result als het doel niet van het type ArrayContentElementData is of als het element niet via de opgegeven iterator kon worden verwijderd.
  • Expliciete fouttoestanden: Via SetError ([SWS_DM_02229]) kan aan de array-inhoud een ara::core::ErrorCode worden toegewezen. Als de inhoud op deze manier als foutief wordt gemarkeerd, levert het opvragen via HasError ([SWS_DM_02228]) de foutcode als ara::diag::DiagSovdErrc op.

Deze klassehandleiding is gebaseerd op de AUTOSAR-specificatie R25-11 en is gecureerd door AI.

Ledenkaart

Klassendiagram

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

G nara__diag__DiagnosticSovdArrayContentElementDataView429 DiagnosticSovdArrayContentElementDataView + Begin() + CBegin() + CEnd() + Capacity() + Clear() + Empty() + End() + Erase() + HasError() + PushBack() + Reserve() + SetError() + Size() + operator[]()

Detailweergave

Kies een item in de inhoudsopgave.

Methoden

Begin functie

Returns the begin operator of an array. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData

auto Begin () noexcept -> DiagnosticSovdArrayContentElementData Iterator;
Capacity functie

Returns the capacity of the Array content element. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData

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

Returns the begin operator of an array. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData

auto CBegin () noexcept -> DiagnosticSovdArrayContentElementDataConst Iterator;
CEnd functie

Returns the end operator of an array. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData

auto CEnd () noexcept -> DiagnosticSovdArrayContentElementDataConst Iterator;
Clear functie

Clears the Array. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData

auto Clear () noexcept -> void;
Empty functie

Returns if the Array is empty. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData

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

Returns the end operator of an array. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData

Erase functie

Erases a content element from DiagnosticSovdContentElementData. The current element shall be of ArrayContentElementData

auto Erase (DiagnosticSovdArrayContentElementDataIterator iterator) noexcept -> ara::core::Result< void >;
HasError functie

Returns if the content contains an error.

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

Pushes back a DiagnosticSovdContentElementData with signed int as primitive type. The current element shall be of ArrayContentElementData and the element to add of the specified in the ArrayContentElementData constructor

Overloads PushBack 6
auto PushBack (std::int64_t content_element) noexcept -> ara::core::Result< void >; SWS_DM_02241
auto PushBack (std::uint64_t content_element) noexcept -> ara::core::Result< void >; SWS_DM_02242
auto PushBack (double content_element) noexcept -> ara::core::Result< void >; SWS_DM_02243
auto PushBack (bool content_element) noexcept -> ara::core::Result< void >; SWS_DM_02244
auto PushBack (ara::core::StringView content_element) noexcept -> ara::core::Result< void >; SWS_DM_02245
auto PushBack (DiagnosticSovdContentElementData content_element) noexcept -> void; SWS_DM_02246
Reserve functie

Reserves the capacity of the DiagnosticSovdArrayContentElementData.

auto Reserve (std::size_t capacity) noexcept -> void;
SetError functie

Sets the array content to be erroneous.

void SetError (ara::core::ErrorCode error_code) noexcept;
Size functie

Returns the size of the Array content element. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData

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

Operatoren

operator[] functie 2

Access the content element with specified index of an array. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData

Overloads [] 2
auto operator[] (std::size_t index) noexcept -> ara::core::Result< std::reference_wrapper< DiagnosticSovdContentElementData > >; DIRECTION NOT index -- DEFINED SWS_DM_02234
auto operator[] (std::size_t index) const noexcept -> ara::core::Result< std::reference_wrapper< DiagnosticSovdContent ElementData const > >; DIRECTION NOT index -- DEFINED SWS_DM_02235

Documentatie van de methoden

functie Begin [SWS_DM_02236] Upstream: RS_Diag_04260

auto Begin () noexcept -> DiagnosticSovdArrayContentElementData Iterator;

Returns the begin operator of an array. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData

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

Rückgabewert

TypBeschreibung
DiagnosticSovdArrayContentElementDataIteratorThe iterator

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

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

functie CBegin [SWS_DM_02238] Upstream: RS_Diag_04260

auto CBegin () noexcept -> DiagnosticSovdArrayContentElementDataConst Iterator;

Returns the begin operator of an array. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData

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

Rückgabewert

TypBeschreibung
DiagnosticSovdArrayContentElementDataConstIteratorThe iterator

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

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

functie CEnd [SWS_DM_02239] Upstream: RS_Diag_04260

auto CEnd () noexcept -> DiagnosticSovdArrayContentElementDataConst Iterator;

Returns the end operator of an array. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData

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

Rückgabewert

TypBeschreibung
DiagnosticSovdArrayContentElementDataConstIteratorThe iterator

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

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

functie Capacity [SWS_DM_02231] Upstream: RS_Diag_04260

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

Returns the capacity of the Array content element. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData

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

Rückgabewert

TypBeschreibung
std::size_tThe capacity of the ArrayContentElementData

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

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

functie Clear [SWS_DM_02233] Upstream: RS_Diag_04260

auto Clear () noexcept -> void;

Clears the Array. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: 6da40b1d207a Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Gebruik

De lidfunctie Clear van de klasse ara::diag::DiagnosticSovdArrayContentElementDataView maakt de volledige inhoud van een SOVD-array-element ([SWS_DM_02233]) leeg. De aanroep wordt beschikbaar gesteld via de header #include "ara/diag/diagnostic_sovd_content_element_data.h". De methode heeft de signatuur auto Clear () noexcept -> void;. Zij werkt synchroon, accepteert geen parameters en levert geen retourwaarde op ([SWS_DM_02233]).

Foutafhandeling en randvoorwaarden

Conform de specificatie is de functie gedefinieerd als uitzonderingsveilig (exception safe) en voorzien van de specificator noexcept ([SWS_DM_02233]). Zij geeft noch foutcodes noch een ara::core::Result terug. Als bindende eis geldt dat de gereferentieerde DiagnosticSovdContentElementData van het type ArrayContentElementData moet zijn ([SWS_DM_02233]). Aangezien er geen fouten worden gesignaleerd, zal de naleving van dit type vermoedelijk al tijdens de constructietijd door de view-klasse zijn gewaarborgd. Vraag Q-cdb2385e081c3456 (open)

Concurrency

De specificatie classificeert de methode uitdrukkelijk als thread-safe (thread-safe) ([SWS_DM_02233]). Aanroepen van Clear kunnen daarom zonder externe synchronisatie gelijktijdig vanuit meerdere threads plaatsvinden.

Samenspel in het diagnosesubsysteem

Binnen de SOVD-datastructuren is de bewerking nauw verbonden met andere wis-methoden:

  • DiagnosticSovdContentElementData::Clear ([SWS_DM_02338]) vormt de generieke tegenhanger op elementniveau, maar geeft een ara::core::Result<void> terug en faalt wanneer het object geen array representeert.
  • DiagnosticSovdRecordContentElementDataView::Clear ([SWS_DM_02276]) neemt de analoge opschoning voor datastructuren van het type RecordContentElementData resp. ContentData voor zijn rekening.
  • In de klassieke foutgeheugencontext dient daarentegen ara::diag::DTCInformation::Clear ([SWS_DM_00671]) voor het asynchroon opschonen van UDS-DTC's via ara::core::Future.

Deze gebruiksinstructie is geautomatiseerd gegenereerd op basis van de AUTOSAR Adaptive-specificatie R25-11.

Implementer's Guide volgt (complexiteit I1)

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

Rückgabewert

TypBeschreibung
None

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

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

functie Empty [SWS_DM_02232] Upstream: RS_Diag_04260

auto Empty () const noexcept -> bool;

Returns if the Array is empty. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData

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

Rückgabewert

TypBeschreibung
boolIf the array is empty

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

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

functie End [SWS_DM_02237] Upstream: RS_Diag_04260

auto End () noexcept -> DiagnosticSovdArrayContentElementDataIterator;

Returns the end operator of an array. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData

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

Rückgabewert

TypBeschreibung
DiagnosticSovdArrayContentElementDataIteratorThe iterator

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

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

functie Erase [SWS_DM_02247] Upstream: RS_Diag_04260

auto Erase (DiagnosticSovdArrayContentElementDataIterator iterator) noexcept -> ara::core::Result< void >;

Erases a content element from DiagnosticSovdContentElementData. The current element shall be of ArrayContentElementData

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: 413be4c2f44c Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Gebruik

De methode Erase van de klasse ara::diag::DiagnosticSovdArrayContentElementDataView dient voor het verwijderen van een element uit diagnostische SOVD-inhoudsgegevens ([SWS_DM_02247], SWS Diagnostics §8.60.5.1.1.8 “Erase”). Als parameter accepteert de functie een iterator van het type DiagnosticSovdArrayContentElementDataIterator, die verwijst naar het te verwijderen element. De aanroep vindt plaats als een synchrone operatie; dit volgt vermoedelijk uit de directe teruggave van ara::core::Result<void> zonder asynchroon future-patroon. Vraag Q-28de22574e525c78 (open)

Foutafhandeling en randvoorwaarden

De functie is gedeclareerd met noexcept en bezit de eigenschappen exception safe en thread-safe ([SWS_DM_02247]). Mislukt het verwijderen, dan levert de methode een fout op via de geretourneerde ara::core::Result. Dit is het geval wanneer de bovenliggende DiagnosticSovdContentElementData niet van het vereiste type ArrayContentElementData is of het element om andere redenen niet kon worden verwijderd ([SWS_DM_02247]).

Samenspel

Binnen de SOVD-interface correspondeert deze operatie met de verwijdermethode Erase van de onderliggende datacontainer DiagnosticSovdContentElementData voor array-elementen ([SWS_DM_02352]). Voor record-structuren bestaan met DiagnosticSovdRecordContentElementDataView::Erase en de overeenkomstige container-methode analoge tegenhangers ([SWS_DM_02294], [SWS_DM_02374]).

Deze gebruiksinstructie is geautomatiseerd gegenereerd op basis van de AUTOSAR-specificatie.

Implementer's Guide volgt (complexiteit I1)

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

Parameter (in)

ParameterBeschreibung
iteratorThe iterator pointing to the element to erase

Rückgabewert

TypBeschreibung
ara::core::Result< void >void result or an error if DiagnosticSovdContentElementData is not of type ArrayContentElementData or the element couldn’t be erased

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

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

functie HasError [SWS_DM_02228] 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::DiagnosticSovdArrayContentElementDataView
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_02228
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02228@rel:R25-11#c609fdab
Content hash
c609fdab
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02228
Status: valid/unmigrated Version: rel:R25-11#ff8a30d1 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_02228@rel:R25-11#ff8a30d1
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

functie PushBack [SWS_DM_02241] Upstream: RS_Diag_04260

auto PushBack (std::int64_t content_element) noexcept -> ara::core::Result< void >;

Pushes back a DiagnosticSovdContentElementData with signed int as primitive type. The current element shall be of ArrayContentElementData and the element to add of the specified in the ArrayContentElementData constructor

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: c37b8f1a434c Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

De synchrone memberfunctie PushBack dient ertoe om een signed integer-element van het type std::int64_t toe te voegen aan een arraystructuur van diagnose-SOVD-inhoudselementen ([SWS_DM_02241], AUTOSAR_AP_SWS_Diagnostics §8.60.5.1.1.14 “PushBack”). Ze is in het headerbestand ara/diag/diagnostic_sovd_content_element_data.h gedeclareerd en gedefinieerd als noexcept ([SWS_DM_02241]).

Voor een succesvolle aanroep gelden de volgende voorwaarden en interfacevereisten:

  • Aanroepcontext en randvoorwaarden: Het doelobject van de klasse ara::diag::DiagnosticSovdArrayContentElementDataView moet een ArrayContentElementData vertegenwoordigen, en het toe te voegen primitieve type moet overeenkomen met het in de constructor gedefinieerde elementtype ([SWS_DM_02241]).
  • Retourwaarde en foutafhandeling: De functie retourneert een ara::core::Result<void>. Schiet de controle tekort omdat het onderliggende element niet van het type ArrayContentElementData is, dan bevat het resultaat een fout ([SWS_DM_02241]). Interpretation: Een discrepantie met het in de constructor voorgeschreven datatype wordt vermoedelijk analoog als fout in het resultaatobject gemeld. Vraag Q-d4715ecbd0f12d26 (open)
  • Gelijktijdigheid: De functie is als thread-safe en exception-safe gespecificeerd ([SWS_DM_02241]).

De methode is onderdeel van een familie getypeerde overbelastingen binnen DiagnosticSovdArrayContentElementDataView voor unsigned integers ([SWS_DM_02242]), drijvende-kommagetallen ([SWS_DM_02243]), waarheidswaarden ([SWS_DM_02244]), tekenreeksen ([SWS_DM_02245]) en volledige gegevenselementen ([SWS_DM_02246]). Corresponderende methoden bestaan bovendien op de gegevensklasse DiagnosticSovdContentElementData zelf ([SWS_DM_02346]).

Deze tekst is door een AI gegenereerd op basis van de specificatie AUTOSAR R25-11.

Implementer's Guide volgt (complexiteit I2)

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

Parameter (in)

ParameterBeschreibung
content_elementThe content element to push back

Rückgabewert

TypBeschreibung
ara::core::Result< void >void result or an error if DiagnosticSovdContentElementData is not of type ArrayContentElementData

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

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

functie PushBack [SWS_DM_02242] Upstream: RS_Diag_04260

auto PushBack (std::uint64_t content_element) noexcept -> ara::core::Result< void >;

Pushes back a DiagnosticSovdContentElementData with unsigned int as primitive type. The current element shall be of ArrayContentElementData and the element to add of the specified in the ArrayContentElementData constructor

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: c25599049c83 Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Gebruik

De synchrone API-functie PushBack van de klasse ara::diag::DiagnosticSovdArrayContentElementDataView voegt een unsigned 64-bits integerwaarde (std::uint64_t) als primitief gegevenselement toe aan het einde van een bestaand SOVD-array-element [SWS_DM_02242]. De opname vindt plaats via het headerbestand ara/diag/diagnostic_sovd_content_element_data.h SWS Diagnostics §8.60.5.1.1.15 “PushBack”. Voorwaarde voor een succesvolle aanroep is dat het huidige element een ArrayContentElementData vertegenwoordigt en de toe te voegen waarde overeenkomt met het in de constructor gedefinieerde elementtype [SWS_DM_02242].

Foutafhandeling en gelijktijdigheid

De functie signaleert haar uitvoeringsstatus via ara::core::Result<void> [SWS_DM_02242]. Is het doelobject niet van het type ArrayContentElementData, dan levert de functie een fout in het resultaat terug [SWS_DM_02242]. Aangezien er geen specifieke foutcodes worden genoemd (Interpretation: fouttoestanden worden generiek door het Result gesignaleerd), moet de aanroeper het Result-object evalueren. Vraag Q-95f2dd96e2681368 (open) De methode is gedeclareerd als noexcept, garandeert exception-veiligheid en is expliciet als thread-safe gespecificeerd [SWS_DM_02242].

Samenspel

De bewerking behoort tot een familie typespecifieke overbelastingen binnen DiagnosticSovdArrayContentElementDataView, die analoog signed integers via std::int64_t [SWS_DM_02241], drijvende-kommagetallen via double [SWS_DM_02243], waarheidswaarden via bool [SWS_DM_02244], tekenreeksen via ara::core::StringView [SWS_DM_02245] of gestructureerde elementen van het type DiagnosticSovdContentElementData [SWS_DM_02246] verwerken. Een gelijksoortige implementatie voor std::uint64_t wordt bovendien door DiagnosticSovdContentElementData beschikbaar gesteld [SWS_DM_02347].

Deze gebruiksinstructie is geautomatiseerd gegenereerd en is uitsluitend gebaseerd op de specificatiegegevens uit AUTOSAR R25-11.

Implementer's Guide volgt (complexiteit I2)

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

Parameter (in)

ParameterBeschreibung
content_elementThe content element to push back

Rückgabewert

TypBeschreibung
ara::core::Result< void >void result or an error if DiagnosticSovdContentElementData is not of type ArrayContentElementData

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

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

functie PushBack [SWS_DM_02243] Upstream: RS_Diag_04260

auto PushBack (double content_element) noexcept -> ara::core::Result< void >;

Pushes back a DiagnosticSovdContentElementData with double as primitive type. The current element shall be of ArrayContentElementData and the element to add of the specified in the ArrayContentElementData constructor

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: 57dd45f522f9 Herkomst
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Gebruik

De synchrone methode PushBack wordt via het headerbestand #include "ara/diag/diagnostic_sovd_content_element_data.h" in de scope van de klasse ara::diag::DiagnosticSovdArrayContentElementDataView beschikbaar gesteld ([SWS_DM_02243], AUTOSAR_AP_SWS_Diagnostics §8.60.5.1.1.13 “PushBack”). Ze voegt een primitieve drijvende-kommawaarde van het type double als inhoudselement toe aan een bestaande array ([SWS_DM_02243]). De enige overdrachtsparameter is het toe te voegen gegeven content_element.

Foutafhandeling en randvoorwaarden

De functie retourneert een ara::core::Result<void> ([SWS_DM_02243]). Een succesvolle uitvoering vereist dat het huidige element van het type ArrayContentElementData is en het toe te voegen element overeenkomt met het type dat in de constructor van ArrayContentElementData is vastgelegd ([SWS_DM_02243]). Voor zover het doel niet van het type ArrayContentElementData is, mislukt de bewerking en retourneert deze een fout in het Result ([SWS_DM_02243]).

Concurrency

De functie is gedeclareerd als noexcept, waarborgt exception-veiligheid (exception safe) en is volgens de specificatie thread-safe ([SWS_DM_02243]). Meerdere threads kunnen de functie daarom gelijktijdig zonder externe synchronisatie aanroepen.

Samenspel

Binnen DiagnosticSovdArrayContentElementDataView bestaan typegelijke overbelastingen voor verdere primitieve datatypes, waaronder std::int64_t ([SWS_DM_02241]), std::uint64_t ([SWS_DM_02242]), bool ([SWS_DM_02244]), ara::core::StringView ([SWS_DM_02245]) evenals voor volledige DiagnosticSovdContentElementData-objecten ([SWS_DM_02246]). Analoge methoden staan ook op DiagnosticSovdContentElementData ter beschikking (bijv. [SWS_DM_02348]).

Deze tekst is gegenereerd door een AI op basis van de specificatie AUTOSAR R25-11.

Implementer's Guide volgt (complexiteit I2)

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

Parameter (in)

ParameterBeschreibung
content_elementThe content element to push back

Rückgabewert

TypBeschreibung
ara::core::Result< void >void result or an error if DiagnosticSovdContentElementData is not of type ArrayContentElementData

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

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

functie PushBack [SWS_DM_02244] Upstream: RS_Diag_04260

auto PushBack (bool content_element) noexcept -> ara::core::Result< void >;

Pushes back a DiagnosticSovdContentElementData with boolean as primitive type. The current element shall be of ArrayContentElementData and the element to add of the specified in the ArrayContentElementData constructor

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: 1dba5c9a049d Herkomst
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

De elementfunctie PushBack dient ertoe om een DiagnosticSovdContentElementData met het primitieve datatype bool toe te voegen aan een bestaand array-element ([SWS_DM_02244]). De interface is in de header ara/diag/diagnostic_sovd_content_element_data.h binnen de klasse ara::diag::DiagnosticSovdArrayContentElementDataView gedefinieerd (AUTOSAR_AP_SWS_Diagnostics §8.60.5.1.1.12 “PushBack”). Als invoerparameter neemt de synchrone functie de waarheidswaarde content_element aan ([SWS_DM_02244]).

Voorwaarde voor de aanroep is dat het huidige element van het type ArrayContentElementData is en de toe te voegen waarde overeenkomt met het type dat in de constructor van de datastructuur is gedeclareerd ([SWS_DM_02244]). Is het doelelement niet van het type ArrayContentElementData, dan mislukt de bewerking en retourneert deze een ara::core::Result<void> met een bijbehorende fout; bij succes bevat het resultaat een lege void ([SWS_DM_02244]).

Wat betreft de uitvoeringsveiligheid is de methode als noexcept gedeclareerd evenals als thread-safe (thread-safe) en exception-veilig (exception safe) gespecificeerd ([SWS_DM_02244]).

De methode is onderdeel van een familie getypeerde PushBack-overbelastingen binnen DiagnosticSovdArrayContentElementDataView. Naast booleaanse waarden dekken zusterfuncties het invoegen van integertypes zoals std::int64_t ([SWS_DM_02241]) en std::uint64_t ([SWS_DM_02242]), drijvende-kommawaarden double ([SWS_DM_02243]), tekenreeksen ara::core::StringView ([SWS_DM_02245]) evenals complexe gegevenselementen ([SWS_DM_02246]) af. Corresponderende bewerkingen staan bovendien op het niveau van DiagnosticSovdContentElementData ter beschikking, waaronder de booleaanse variant [SWS_DM_02349].

Deze gebruiksinstructie is geautomatiseerd opgesteld op basis van de specificatie AUTOSAR R25-11.

Implementer's Guide volgt (complexiteit I2)

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

Parameter (in)

ParameterBeschreibung
content_elementThe content element to push back

Rückgabewert

TypBeschreibung
ara::core::Result< void >void result or an error if DiagnosticSovdContentElementData is not of type ArrayContentElementData

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

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

functie PushBack [SWS_DM_02245] Upstream: RS_Diag_04260

auto PushBack (ara::core::StringView content_element) noexcept -> ara::core::Result< void >;

Pushes back a DiagnosticSovdContentElementData with string as primitive type. The current element shall be of ArrayContentElementData and the element to add of the specified in the ArrayContentElementData constructor

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: 265380479cb5 Herkomst
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Gebruik

De synchrone elementfunctie PushBack van de klasse ara::diag::DiagnosticSovdArrayContentElementDataView ([SWS_DM_02245], gedefinieerd in SWS Diagnostics §8.60.5.1.1.11 “PushBack”) voegt een nieuw element met het primitieve type tekenreeks toe aan een diagnostische SOVD-array. Hiervoor moet de header ara/diag/diagnostic_sovd_content_element_data.h worden ingevoegd. De functie ontvangt het toe te voegen element via de parameter content_element van het type ara::core::StringView.

Foutafhandeling

Als retourtype dient ara::core::Result<void>. Er wordt een fout geretourneerd in het resultaatobject als het huidige object niet van het type ArrayContentElementData is of als het type van het doorgegeven element niet overeenkomt met het in de constructor van ArrayContentElementData vastgelegde elementtype ([SWS_DM_02245]).

Gelijktijdigheid en beperkingen

De functie is gedeclareerd met de specificator noexcept. Zij biedt gegarandeerde exception-veiligheid (exception safe) en is onbeperkt thread-veilig (thread-safe) gespecificeerd ([SWS_DM_02245]).

Samenspel

De bewerking maakt deel uit van een familie overbelaste methoden. Binnen DiagnosticSovdArrayContentElementDataView bestaan verdere overbelastingen voor scalaire typen zoals std::int64_t ([SWS_DM_02241]), std::uint64_t ([SWS_DM_02242]), double ([SWS_DM_02243]) en bool ([SWS_DM_02244]), evenals voor volledige elementen van het type DiagnosticSovdContentElementData ([SWS_DM_02246]). Bovendien stelt ook de klasse ara::diag::DiagnosticSovdContentElementData een overeenkomstige PushBack-interface voor tekenreeksen beschikbaar ([SWS_DM_02350]).

Deze gebruiksinstructie is geautomatiseerd opgesteld op basis van de specificatie AUTOSAR Adaptive R25-11.

Implementer's Guide volgt (complexiteit I2)

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

Parameter (in)

ParameterBeschreibung
content_elementThe content element to push back

Rückgabewert

TypBeschreibung
ara::core::Result< void >void result or an error if DiagnosticSovdContentElementData is not of type ArrayContentElementData

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

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

functie PushBack [SWS_DM_02246] Upstream: RS_Diag_04260

auto PushBack (DiagnosticSovdContentElementData content_element) noexcept -> void;

Pushes back a DiagnosticSovdContentElementData. The current element shall be of ArrayContentElementData and the element to add of the specified in the ArrayContentElementData constructor

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: 016f2212a535 Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Gebruik

De synchrone memberfunctie PushBack van de klasse ara::diag::DiagnosticSovdArrayContentElementDataView (SWS Diagnostics §8.60.5.1.1.10 “PushBack”) voegt een element van het type DiagnosticSovdContentElementData toe aan een bestaande array-gegevensweergave ([SWS_DM_02246]). Als overdrachtsparameter neemt ze het toe te voegen object content_element by value over en heeft ze geen retourwaarde (void). De declaratie wordt via het headerbestand ara/diag/diagnostic_sovd_content_element_data.h beschikbaar gesteld.

Gelijktijdigheid en randvoorwaarden

De specificatie definieert de functie als exception-veilig (exception safe), thread-safe (thread-safe) en geannoteerd met noexcept ([SWS_DM_02246]). Als bindende randvoorwaarde vereist de bewerking dat het huidige element van het type ArrayContentElementData is en het toe te voegen element exact overeenkomt met het type dat in de constructor van ArrayContentElementData is vastgelegd ([SWS_DM_02246]).

Foutafhandeling en wisselwerking

In tegenstelling tot de overbelastingen voor primitieve types zoals std::int64_t ([SWS_DM_02241]), std::uint64_t ([SWS_DM_02242]), double ([SWS_DM_02243]), bool ([SWS_DM_02244]) of ara::core::StringView ([SWS_DM_02245]), die een ara::core::Result<void> voor foutoverdracht retourneren, levert deze methode void. Het ligt daarom vermoedelijk in de verantwoordelijkheid van de aanroeper om de typecompatibiliteit vooraf te controleren, aangezien runtimefouten aan deze interface niet via een Result-type worden gesignaleerd. Vraag Q-00739dff7d34e242 (open) Een equivalente methode voor het toevoegen van gegevenselementen is ook op DiagnosticSovdContentElementData gedefinieerd ([SWS_DM_02351]).

Deze tekst is automatisch gegenereerd. Alle inhoudelijke uitspraken zijn gebaseerd op de specificatie AUTOSAR AP R25-11.

Implementer's Guide volgt (complexiteit I2)

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

Parameter (in)

ParameterBeschreibung
content_elementThe content element to push back

Rückgabewert

TypBeschreibung
None

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

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

functie Reserve [SWS_DM_02240] Upstream: RS_Diag_04260

auto Reserve (std::size_t capacity) noexcept -> void;

Reserves the capacity of the DiagnosticSovdArrayContentElementData.

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: b3494a8080d3 Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

De synchrone methode Reserve van de klasse ara::diag::DiagnosticSovdArrayContentElementDataView dient voor de vooraf-allocatie van geheugencapaciteit voor array-gegevenselementen ([SWS_DM_02240], SWS Diagnostics §8.60.5.1.1.16 “Reserve”). Zij wordt beschikbaar gesteld via de header #include "ara/diag/diagnostic_sovd_content_element_data.h" en accepteert de parameter capacity van het type std::size_t, die de beschikbaar te stellen capaciteit van de onderliggende DiagnosticSovdArrayContentElementData vastlegt ([SWS_DM_02240]). Een retourwaarde wordt niet teruggegeven ([SWS_DM_02240]).

Wat betreft foutafhandeling is de functie gedeclareerd als uitzonderingsveilig (exception safe) en noexcept ([SWS_DM_02240]). Zij maakt noch gebruik van foutcodes via ara::core::Result noch van C++-exceptions. Interpretatie: Bij een geheugentekort zal de allocatie intern vermoedelijk mislukken of tot een programmastop leiden, aangezien er voor de aanroeper geen foutkanaal beschikbaar is. Vraag Q-348805197c004eea (open)

Voor gelijktijdigheid is de bewerking expliciet als thread-safe (thread-safe) gespecificeerd ([SWS_DM_02240]). Aanroepen kunnen zodoende zonder externe vergrendeling vanuit parallelle threads plaatsvinden.

In het totale systeem vult de interface verwante reserveringsfuncties aan: terwijl DiagnosticSovdRecordContentElementDataView::Reserve analoog verantwoordelijk is voor record-datastructuren ([SWS_DM_02283], SWS Diagnostics §8.60.11.1.1.20 “Reserve”), levert de algemene basisklassefunctie DiagnosticSovdContentElementData::Reserve een ara::core::Result<void> op om bij een onjuist elementtype een fout te melden ([SWS_DM_02345], SWS Diagnostics §8.60.6.1.2.55 “Reserve”). In tegenstelling tot de niet-thread-safe geheugenreservering DiagnosticServiceDynamicAccessList::Reserve ([SWS_DM_01163], SWS Diagnostics §8.13.1.1.3.3 “Reserve”) werkt deze view-methode direct en gelijktijdig op SOVD-array-elementen.

Deze tekst is gegenereerd door een AI en dient als oriëntatiehulp. Bepalend zijn de gerefereerde AUTOSAR-specificaties.

Implementer's Guide volgt (complexiteit I1)

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

Parameter (in)

ParameterBeschreibung
capacityThe capacity

Rückgabewert

TypBeschreibung
None

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

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

functie SetError [SWS_DM_02229] Upstream: RS_Diag_04260

void SetError (ara::core::ErrorCode error_code) noexcept;

Sets the array content to be erroneous.

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

Parameter (in)

ParameterBeschreibung
error_codeThe error to set

Rückgabewert

TypBeschreibung
None

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

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

functie Size [SWS_DM_02230] Upstream: RS_Diag_04260

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

Returns the size of the Array content element. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData

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

Rückgabewert

TypBeschreibung
std::size_tThe size of the ArrayContentElementData

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

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

functie operator[] [SWS_DM_02234] Upstream: RS_Diag_04260

auto operator[] (std::size_t index) noexcept -> ara::core::Result< std::reference_wrapper< DiagnosticSovdContentElementData > >; DIRECTION NOT           index                      -- DEFINED

Access the content element with specified index of an array. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData

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

Rückgabewert

TypBeschreibung
ara::core::Result<std::reference_wrapper<DiagnosticSovdContentElementData > >reference to the content element or an error if DiagnosticSovdContentElementData is not of type ArrayContentElementData

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

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

functie operator[] [SWS_DM_02235] Upstream: RS_Diag_04260

auto operator[] (std::size_t index) const noexcept -> ara::core::Result< std::reference_wrapper< DiagnosticSovdContent ElementData const > >; DIRECTION NOT           index                      -- DEFINED

Access the content element with specified index of an array. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData

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

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 ArrayContentElementData

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

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