DEENESPTFRRUARHIKOZHNL

클래스 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

사용자 가이드AI 생성

인덱스와 반복자를 통해 SOVD 진단 데이터의 배열 요소에 대한 형식화된 읽기 및 쓰기 액세스를 제공합니다.
AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: d333ea0efb38 출처 열린 질문 (2)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

인덱스와 반복자를 통해 SOVD 진단 데이터의 배열 요소에 대한 형식화된 읽기 및 쓰기 액세스를 제공합니다.

이 클래스는 Adaptive Platform의 배열 기반 진단 데이터 요소에 대한 임의 및 반복자 기반 액세스를 위한 구조화된 인터페이스를 제공합니다([SWS_DM_02227]). 이를 통해 애플리케이션은 기본 데이터 값과 복합 콘텐츠 요소를 동적으로 추가하고 메모리 용량을 사전 예약할 수 있습니다. 호환되지 않는 데이터 유형, 유효하지 않은 인덱스 액세스 또는 명시적으로 설정된 오류 상태의 경우 결과 유형(Result-Typen)을 통해 호출자에게 오류 코드가 전파됩니다([SWS_DM_02228]). 표준에 따르면 명시된 모든 작업은 완전한 예외 안전 및 스레드 안전 방식으로 구현되어 있습니다.

컨텍스트

클래스 ara::diag::DiagnosticSovdArrayContentElementDataView은 AUTOSAR_AP_SWS_Diagnostics §8.60.5 “Class: DiagnosticSovdArrayContentElementDataView”의 [SWS_DM_02227] 아래에 정의되어 있습니다. 이 클래스는 AUTOSAR Adaptive 진단 모듈에서 기본 유형이 ArrayContentElementData인 진단 콘텐츠 요소(DiagnosticSovdContentElementData)에 대한 형식화된 뷰 역할을 합니다. 선언은 헤더 ara/diag/diagnostic_sovd_content_element_data.h를 통해 이루어집니다.

이 클래스의 기본 책임은 Service-Oriented Vehicle Diagnostics(SOVD)를 위한 배열 작업의 구조화된 캡슐화에 있습니다. SOVD 데이터 구조를 처리하거나 제공하는 호출 진단 애플리케이션 및 기본 제네릭 데이터 컨테이너가 상호 작용 파트너로 작동합니다. 개별 필드 요소에 대한 액세스는 전용 반복자 또는 형식화된 인덱스 연산자를 통해 처리됩니다.

수명 주기

뷰 객체로서 해당 인스턴스는 실제 페이로드 데이터에 대한 독점적 소유권을 갖지 않고 기존 DiagnosticSovdContentElementData의 메모리에 바인딩되는 것으로 추정됩니다. 질문 Q-04a43d21a981ea92 (열림) 데이터의 수명 주기는 다음 단계를 거칩니다:

  • 메모리 예약 및 용량: 대량의 데이터를 삽입하기 전에 Reserve([SWS_DM_02240])을 통해 내부 메모리 용량을 사전에 결정할 수 있습니다. 현재 용량은 Capacity([SWS_DM_02231])를 사용하여 확인할 수 있습니다.
  • 채우기: 새 요소는 PushBack의 오버로드를 통해 순차적으로 추가됩니다. std::int64_t([SWS_DM_02241]), std::uint64_t([SWS_DM_02242]), double([SWS_DM_02243]), bool([SWS_DM_02244]), ara::core::StringView([SWS_DM_02245])와 같은 기본 데이터 유형 및 중첩된 DiagnosticSovdContentElementData 인스턴스([SWS_DM_02246])가 지원됩니다.
  • 검사 및 정리: 점유 상태는 Size([SWS_DM_02230]) 및 Empty([SWS_DM_02232])를 통해 언제든지 쿼리할 수 있습니다. 개별 요소는 Erase를 통해 반복자로 제거할 수 있으며([SWS_DM_02247]), Clear([SWS_DM_02233])은 전체 배열을 초기화합니다.

동시성 및 예외 동작과 관련하여, 사양에 따르면 클래스의 모든 멤버 함수는 예외 안전(noexcept으로 선언됨) 및 스레드 안전(“thread-safe”)으로 설계되었습니다.

사용 경로

일반적인 사용 경로는 사전 용량 예약, 점진적인 데이터 채우기, 요소 읽기 및 오류 상태에 대한 최종 유효성 검사로 구성됩니다:

  1. 용량 예약: 애플리케이션은 후속 쓰기 액세스 시의 동적 재할당을 최소화하기 위해 Reserve을 호출합니다([SWS_DM_02240]).
  2. 요소 삽입: 레코드는 PushBack을 사용하여 추가됩니다([SWS_DM_02241]).
  3. 요소 읽기 또는 순회: 액세스는 operator[]([SWS_DM_02234], [SWS_DM_02235])을 통한 임의 방식이나, Begin/End([SWS_DM_02236], [SWS_DM_02237]) 또는 CBegin/CEnd([SWS_DM_02238], [SWS_DM_02239])를 통한 반복자 기반의 순차 방식으로 이루어집니다.
  4. 상태 확인: 작업이 완료된 후 애플리케이션은 HasError을 통해 배열 콘텐츠에 오류가 발생하지 않았는지 확인합니다([SWS_DM_02228]).
배열 요소 관리 및 조회를 위한 시퀀스애플리케이션ArrayViewArrayDataReserve(10)용량 예약PushBack(val)요소 추가Result<void>operator[](0)Element referenzierenElementdatenResult<reference_wrapper>HasError()Result<void>

시퀀스 다이어그램: SOVD 배열 요소의 채우기, 인덱싱 및 오류 검사를 위한 일반적인 흐름. 출처: [SWS_DM_02240], [SWS_DM_02241], [SWS_DM_02234], [SWS_DM_02228].

오류 시나리오

오류 가능성이 있는 메서드는 C++ 예외 대신 ara::core::Result을 사용하여 잘못된 사전 조건 또는 실행 중단을 보고합니다:

  • 유형 불일치: PushBack([SWS_DM_02241]) 또는 operator[]([SWS_DM_02234])와 같은 작업은 캡슐화된 요소가 실제로 ArrayContentElementData 유형일 것을 전제로 합니다. 그렇지 않은 경우 Result 객체에 해당 오류를 반환합니다. PushBack의 경우 삽입된 유형이 배열 요소의 생성자에 지정된 데이터 유형과도 일치해야 합니다.
  • 삭제 실패: 대상이 ArrayContentElementData 유형이 아니거나 지정된 반복자를 통해 요소를 제거할 수 없는 경우, Erase([SWS_DM_02247]) 호출은 Result에 오류를 반환합니다.
  • 명시적 오류 상태: SetError([SWS_DM_02229])을 통해 배열 콘텐츠에 ara::core::ErrorCode를 할당할 수 있습니다. 콘텐츠가 이와 같이 오류로 표시되면 쿼리 HasError([SWS_DM_02228])은 오류 코드를 ara::diag::DiagSovdErrc로 반환합니다.

이 클래스 가이드는 AUTOSAR 사양 R25-11을 기반으로 하며 AI를 통해 큐레이션되었습니다.

멤버 맵

클래스 다이어그램

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[]()

상세 보기

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

메서드

Begin 함수

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

auto Begin () noexcept -> DiagnosticSovdArrayContentElementData Iterator;
Capacity 함수

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

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

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

auto CBegin () noexcept -> DiagnosticSovdArrayContentElementDataConst Iterator;
CEnd 함수

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

auto CEnd () noexcept -> DiagnosticSovdArrayContentElementDataConst Iterator;
Clear 함수

Clears the Array. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData

auto Clear () noexcept -> void;
Empty 함수

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

auto Empty () const noexcept -> bool;
End 함수

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

Erase 함수

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

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

Returns if the content contains an error.

auto HasError () const noexcept -> ara::core::Result< void >;
PushBack 함수 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

오버로드 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 함수

Reserves the capacity of the DiagnosticSovdArrayContentElementData.

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

Sets the array content to be erroneous.

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

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

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

연산자

operator[] 함수 2

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

오버로드 [] 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

메서드 문서

함수 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#3b0542f2
Content hash
3b0542f2
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

함수 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#da710d9a
Content hash
da710d9a
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

함수 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#dfe7570e
Content hash
dfe7570e
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

함수 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#7b518bb7
Content hash
7b518bb7
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

함수 Clear [SWS_DM_02233] Upstream: RS_Diag_04260

auto Clear () noexcept -> void;

Clears the Array. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 6da40b1d207a 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용

ara::diag::DiagnosticSovdArrayContentElementDataView 클래스의 멤버 함수 Clear은(는) SOVD 배열 요소([SWS_DM_02233])의 전체 콘텐츠를 비웁니다. 이 호출은 #include "ara/diag/diagnostic_sovd_content_element_data.h" 헤더를 통해 제공됩니다. 이 메서드는 auto Clear () noexcept -> void; 서명을 갖습니다. 동기식으로 작동하며, 매개변수를 받지 않고 반환 값을 제공하지 않습니다([SWS_DM_02233]).

오류 처리 및 제약 조건

사양에 따라 이 함수는 예외 안전(exception safe)으로 정의되어 있으며 지정자 noexcept이(가) 부여되어 있습니다([SWS_DM_02233]). 오류 코드나 ara::core::Result을(를) 반환하지 않습니다. 구속력 있는 요구사항으로서 참조된 DiagnosticSovdContentElementData은(는) ArrayContentElementData 유형이어야 합니다([SWS_DM_02233]). 어떠한 오류도 신호되지 않으므로, 이 유형의 준수는 뷰 클래스에 의해 이미 생성 시점에 보장될 것으로 보입니다. 질문 Q-cdb2385e081c3456 (열림)

동시성

사양은 이 메서드를 명시적으로 스레드 안전(thread-safe)으로 분류합니다([SWS_DM_02233]). 따라서 Clear에 대한 호출은 외부 동기화 없이 여러 스레드에서 동시에 발생할 수 있습니다.

진단 하위 시스템에서의 상호작용

SOVD 데이터 구조 내에서 이 작업은 다른 삭제 메서드들과 밀접하게 관련되어 있습니다:

  • DiagnosticSovdContentElementData::Clear ([SWS_DM_02338])은(는) 요소 수준에서의 일반적인 상대 항목을 구성하지만, ara::core::Result<void>을(를) 반환하며 객체가 배열을 나타내지 않는 경우 실패합니다.
  • DiagnosticSovdRecordContentElementDataView::Clear ([SWS_DM_02276])은(는) RecordContentElementData 또는 ContentData 유형의 데이터 구조에 대해 유사한 정리를 수행합니다.
  • 반면에 클래식 고장 메모리 컨텍스트에서는 ara::diag::DTCInformation::Clear ([SWS_DM_00671])이(가) ara::core::Future을(를) 통한 UDS DTC의 비동기 정리에 사용됩니다.

이 사용 지침은 AUTOSAR Adaptive 사양 R25-11을 기반으로 자동 생성되었습니다.

구현자 가이드 준비 중 (복잡도 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#011e92f3
Content hash
011e92f3
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

함수 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#5863eddc
Content hash
5863eddc
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

함수 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#15454767
Content hash
15454767
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

함수 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

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 413be4c2f44c 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용

ara::diag::DiagnosticSovdArrayContentElementDataView 클래스의 Erase 메서드는 진단 SOVD 콘텐츠 데이터에서 요소를 제거하는 역할을 합니다([SWS_DM_02247], SWS Diagnostics §8.60.5.1.1.8 “Erase”). 함수는 삭제할 요소를 가리키는 DiagnosticSovdArrayContentElementDataIterator 타입의 반복자를 매개변수로 전달받습니다. 호출은 동기 연산으로 수행되며, 이는 비동기 퓨처 패턴 없이 ara::core::Result<void>이(가) 직접 반환되는 점에 기인하는 것으로 보입니다. 질문 Q-28de22574e525c78 (열림)

오류 처리 및 제약 조건

이 함수는 noexcept(으)로 선언되어 있으며 exception safe 및 thread-safe 특성을 갖습니다([SWS_DM_02247]). 삭제에 실패하면 메서드는 반환된 ara::core::Result을(를) 통해 오류를 전달합니다. 이는 상위 DiagnosticSovdContentElementData이(가) 필요한 타입 ArrayContentElementData이(가) 아니거나 다른 이유로 요소를 제거할 수 없는 경우에 해당합니다([SWS_DM_02247]).

상호 작용

SOVD 인터페이스 내에서 이 연산은 배열 요소에 대한 기본 데이터 컨테이너 DiagnosticSovdContentElementData의 삭제 메서드 Erase과(와) 일치합니다([SWS_DM_02352]). 레코드 구조의 경우 DiagnosticSovdRecordContentElementDataView::Erase 및 해당 컨테이너 메서드와 유사한 대응 항목이 존재합니다([SWS_DM_02294], [SWS_DM_02374]).

이 사용 지침은 AUTOSAR 사양을 기반으로 자동 생성되었습니다.

구현자 가이드 준비 중 (복잡도 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#ce515b5f
Content hash
ce515b5f
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

함수 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#1f780fa0
Content hash
1f780fa0
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

함수 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

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: c37b8f1a434c 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

동기식 멤버 함수 PushBack은 std::int64_t 타입의 부호 있는 정수 요소를 진단 SOVD 콘텐츠 요소의 배열 구조에 추가하는 데 사용됩니다([SWS_DM_02241], AUTOSAR_AP_SWS_Diagnostics §8.60.5.1.1.14 “PushBack”). 이 함수는 헤더 파일 ara/diag/diagnostic_sovd_content_element_data.h에 선언되어 있으며 noexcept(으)로 정의되어 있습니다([SWS_DM_02241]).

성공적인 호출을 위해 다음 전제 조건 및 인터페이스 요구 사항이 적용됩니다:

  • 호출 컨텍스트 및 사전 조건: ara::diag::DiagnosticSovdArrayContentElementDataView 클래스의 대상 객체는 ArrayContentElementData을(를) 나타내야 하며, 추가할 기본 타입은 생성자에 정의된 요소 타입과 일치해야 합니다([SWS_DM_02241]).
  • 반환값 및 오류 처리: 이 함수는 ara::core::Result<void>을(를) 반환합니다. 기본 요소가 ArrayContentElementData 타입이 아니어서 검사가 실패하면 결과에 오류가 포함됩니다([SWS_DM_02241]). 해석: 생성자에 지정된 데이터 타입과의 불일치 역시 결과 객체에 오류로 보고될 것으로 추정됩니다. 질문 Q-d4715ecbd0f12d26 (열림)
  • 동시성: 이 함수는 thread-safe 및 exception-safe로 명시되어 있습니다([SWS_DM_02241]).

이 메서드는 부호 없는 정수([SWS_DM_02242]), 부동 소수점 수([SWS_DM_02243]), 불리언 값([SWS_DM_02244]), 문자열([SWS_DM_02245]) 및 완전한 데이터 요소([SWS_DM_02246])에 대한 DiagnosticSovdArrayContentElementDataView 내의 타입화된 오버로드 패밀리의 일부입니다. 데이터 클래스 DiagnosticSovdContentElementData 자체에도 해당하는 메서드가 존재합니다([SWS_DM_02346]).

이 텍스트는 AUTOSAR R25-11 사양을 바탕으로 AI에 의해 생성되었습니다.

구현자 가이드 준비 중 (복잡도 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#5a913565
Content hash
5a913565
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

함수 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

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: c25599049c83 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용

ara::diag::DiagnosticSovdArrayContentElementDataView 클래스의 동기식 API 함수 PushBack은 부호 없는 64비트 정수 값(std::uint64_t)을 기본 데이터 요소로서 기존 SOVD 배열 요소의 끝에 추가합니다 [SWS_DM_02242]. 포함은 헤더 파일 ara/diag/diagnostic_sovd_content_element_data.h를 통해 이루어집니다 SWS Diagnostics §8.60.5.1.1.15 “PushBack”. 성공적인 호출을 위한 전제 조건은 현재 요소가 ArrayContentElementData을(를) 나타내고 추가할 값이 생성자에 정의된 요소 타입과 일치해야 한다는 점입니다 [SWS_DM_02242].

오류 처리 및 동시성

이 함수는 ara::core::Result<void>을(를) 통해 실행 상태를 알립니다 [SWS_DM_02242]. 대상 객체가 ArrayContentElementData 타입이 아닌 경우 함수는 결과에 오류를 반환합니다 [SWS_DM_02242]. 특정 오류 코드가 언급되어 있지 않으므로(해석: 오류 상태는 Result을(를) 통해 일반적인 방식으로 전달됨), 호출자는 결과 객체를 평가해야 합니다. 질문 Q-95f2dd96e2681368 (열림) 이 메서드는 noexcept(으)로 선언되어 있고 예외 안전성을 보장하며 명시적으로 스레드 안전으로 지정되어 있습니다 [SWS_DM_02242].

상호 작용

이 연산은 DiagnosticSovdArrayContentElementDataView 내의 타입별 오버로드 패밀리에 속하며, 이는 유사하게 std::int64_t [SWS_DM_02241]를 통한 부호 있는 정수, double [SWS_DM_02243]를 통한 부동 소수점 수, bool [SWS_DM_02244]을 통한 불리언 값, ara::core::StringView [SWS_DM_02245]을 통한 문자열 또는 DiagnosticSovdContentElementData [SWS_DM_02246] 타입의 구조화된 요소를 처리합니다. std::uint64_t에 대한 유사한 구현이 DiagnosticSovdContentElementData에 의해서도 제공됩니다 [SWS_DM_02347].

이 사용 지침은 자동으로 생성되었으며 AUTOSAR R25-11의 사양 데이터만을 기반으로 합니다.

구현자 가이드 준비 중 (복잡도 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#3ed2f747
Content hash
3ed2f747
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

함수 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

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 57dd45f522f9 출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용

동기식 메서드 PushBack은 ara::diag::DiagnosticSovdArrayContentElementDataView 클래스의 스코프 내에서 헤더 파일 #include "ara/diag/diagnostic_sovd_content_element_data.h"을 통해 제공됩니다([SWS_DM_02243], AUTOSAR_AP_SWS_Diagnostics §8.60.5.1.1.13 “PushBack”). 이 메서드는 double 타입의 기본 부동 소수점 값을 콘텐츠 요소로서 기존 배열에 추가합니다([SWS_DM_02243]). 유일한 전달 매개변수는 추가할 데이터 content_element입니다.

오류 처리 및 제약 조건

이 함수는 ara::core::Result<void>을(를) 반환합니다([SWS_DM_02243]). 성공적인 실행을 위해서는 현재 요소가 ArrayContentElementData 타입이어야 하고 추가할 요소가 ArrayContentElementData 생성자에 정의된 타입과 일치해야 합니다([SWS_DM_02243]). 대상이 ArrayContentElementData 타입이 아닌 경우 연산은 실패하고 결과에 오류를 반환합니다([SWS_DM_02243]).

동시성

이 함수는 noexcept(으)로 선언되어 예외 안전성(exception safe)을 보장하며 사양에 따라 thread-safe입니다([SWS_DM_02243]). 따라서 여러 스레드가 외부 동기화 없이 이 함수를 동시에 호출할 수 있습니다.

상호 작용

DiagnosticSovdArrayContentElementDataView 내에는 std::int64_t([SWS_DM_02241]), std::uint64_t([SWS_DM_02242]), bool([SWS_DM_02244]), ara::core::StringView([SWS_DM_02245])을 비롯하여 완전한 DiagnosticSovdContentElementData 객체([SWS_DM_02246])를 위한 다른 기본 데이터 타입의 동일 타입 오버로드가 존재합니다. 유사한 메서드는 DiagnosticSovdContentElementData에서도 제공됩니다(예: [SWS_DM_02348]).

이 텍스트는 AUTOSAR R25-11 사양을 바탕으로 AI에 의해 생성되었습니다.

구현자 가이드 준비 중 (복잡도 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#c089355c
Content hash
c089355c
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

함수 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

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 1dba5c9a049d 출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

멤버 함수 PushBack은 기본 데이터 타입 bool을(를) 갖는 DiagnosticSovdContentElementData을(를) 기존 배열 요소에 추가하는 데 사용됩니다([SWS_DM_02244]). 이 인터페이스는 헤더 ara/diag/diagnostic_sovd_content_element_data.h의 ara::diag::DiagnosticSovdArrayContentElementDataView 클래스 내에 정의되어 있습니다(AUTOSAR_AP_SWS_Diagnostics §8.60.5.1.1.12 “PushBack”). 동기식 함수는 입력 매개변수로 불리언 값 content_element을(를) 받습니다([SWS_DM_02244]).

호출을 위한 전제 조건은 현재 요소가 ArrayContentElementData 타입이어야 하고 추가할 값이 데이터 구조의 생성자에 선언된 타입과 일치해야 한다는 점입니다([SWS_DM_02244]). 대상 요소가 ArrayContentElementData 타입이 아닌 경우 연산은 실패하고 해당 오류와 함께 ara::core::Result<void>을(를) 반환하며, 성공 시 결과에는 비어 있는 void이(가) 포함됩니다([SWS_DM_02244]).

실행 안전성과 관련하여 이 메서드는 noexcept(으)로 선언되었으며 스레드 안전(thread-safe) 및 예외 안전(exception safe)으로 명시되어 있습니다([SWS_DM_02244]).

이 메서드는 DiagnosticSovdArrayContentElementDataView 내의 형식화된 PushBack 오버로드 계열의 일부입니다. 부울 값 외에도 형제 함수들은 std::int64_t([SWS_DM_02241]) 및 std::uint64_t([SWS_DM_02242])와 같은 정수 유형, 부동소수점 값 double([SWS_DM_02243]), 문자열 ara::core::StringView([SWS_DM_02245]), 복합 데이터 요소([SWS_DM_02246])의 삽입을 지원합니다. 부울 변형인 [SWS_DM_02349]을(를) 포함하여 상응하는 연산들이 DiagnosticSovdContentElementData 수준에서도 제공됩니다.

이 사용 지침은 AUTOSAR R25-11 사양을 바탕으로 자동 생성되었습니다.

구현자 가이드 준비 중 (복잡도 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#253f15c4
Content hash
253f15c4
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

함수 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

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 265380479cb5 출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용

클래스 ara::diag::DiagnosticSovdArrayContentElementDataView([SWS_DM_02245], SWS Diagnostics §8.60.5.1.1.11 “PushBack”에 정의됨)의 동기 멤버 함수 PushBack은 원시 타입 문자열을 갖는 새 요소를 진단 SOVD 배열에 추가합니다. 이를 위해 헤더 ara/diag/diagnostic_sovd_content_element_data.h를 포함해야 합니다. 이 함수는 추가할 요소를 ara::core::StringView 타입의 매개변수 content_element를 통해 전달받습니다.

오류 처리

반환 타입으로 ara::core::Result<void>이 사용됩니다. 현재 객체가 ArrayContentElementData 타입이 아니거나 전달된 요소의 타입이 ArrayContentElementData의 생성자에서 지정된 요소 타입과 일치하지 않는 경우 결과 객체에 오류가 반환됩니다([SWS_DM_02245]).

동시성 및 제약사항

이 함수는 지정자 noexcept으로 선언되어 있습니다. 보장된 예외 안전성(exception safe)을 제공하며 제한 없는 스레드 안전(thread-safe)으로 명시되어 있습니다([SWS_DM_02245]).

상호 작용

이 작업은 오버로드된 메서드 제품군의 일부입니다. DiagnosticSovdArrayContentElementDataView 내에는 std::int64_t([SWS_DM_02241]), std::uint64_t([SWS_DM_02242]), double([SWS_DM_02243]) 및 bool([SWS_DM_02244])과 같은 스칼라 타입뿐만 아니라 DiagnosticSovdContentElementData 타입의 전체 요소([SWS_DM_02246])를 위한 추가 오버로드가 존재합니다. 또한 클래스 ara::diag::DiagnosticSovdContentElementData 역시 문자열에 대한 해당 PushBack 인터페이스를 제공합니다([SWS_DM_02350]).

본 사용 지침은 AUTOSAR Adaptive R25-11 명세를 기반으로 자동 작성되었습니다.

구현자 가이드 준비 중 (복잡도 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#a54bdca2
Content hash
a54bdca2
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

함수 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

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 016f2212a535 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용

ara::diag::DiagnosticSovdArrayContentElementDataView 클래스(SWS Diagnostics §8.60.5.1.1.10 “PushBack”)의 동기 멤버 함수 PushBack은(는) DiagnosticSovdContentElementData 유형의 요소를 기존 배열 데이터 뷰에 추가합니다([SWS_DM_02246]). 전달 매개변수로 추가할 객체 content_element을(를) 값으로 전달받으며 반환값은 없습니다(void). 선언은 헤더 파일 ara/diag/diagnostic_sovd_content_element_data.h을(를) 통해 제공됩니다.

동시성 및 사전 조건

사양에서는 이 함수를 예외 안전(exception safe), 스레드 안전(thread-safe) 및 noexcept(으)로 주석 처리된 것으로 정의합니다([SWS_DM_02246]). 구속력 있는 사전 조건으로서 이 연산은 현재 요소가 ArrayContentElementData 유형이어야 하며 추가할 요소가 ArrayContentElementData의 생성자에서 지정된 유형과 정확히 일치할 것을 요구합니다([SWS_DM_02246]).

오류 처리 및 상호 작용

오류 전달을 위해 ara::core::Result<void>을(를) 반환하는 std::int64_t([SWS_DM_02241]), std::uint64_t([SWS_DM_02242]), double([SWS_DM_02243]), bool([SWS_DM_02244]) 또는 ara::core::StringView([SWS_DM_02245])과 같은 기본 유형용 오버로드와 달리, 이 메서드는 void을(를) 반환합니다. 따라서 이 인터페이스에서는 런타임 오류가 Result 유형을 통해 신호되지 않으므로 사전에 유형 호환성을 확인하는 것은 호출자의 책임일 것입니다. 질문 Q-00739dff7d34e242 (열림) 데이터 요소를 추가하기 위한 동등한 메서드가 DiagnosticSovdContentElementData에도 정의되어 있습니다([SWS_DM_02351]).

이 텍스트는 자동으로 생성되었습니다. 모든 기술적 진술은 AUTOSAR AP R25-11 사양을 기반으로 합니다.

구현자 가이드 준비 중 (복잡도 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#ec712809
Content hash
ec712809
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

함수 Reserve [SWS_DM_02240] Upstream: RS_Diag_04260

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

Reserves the capacity of the DiagnosticSovdArrayContentElementData.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: b3494a8080d3 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

ara::diag::DiagnosticSovdArrayContentElementDataView 클래스의 동기식 메서드 Reserve은(는) 배열 데이터 요소([SWS_DM_02240], SWS Diagnostics §8.60.5.1.1.16 “Reserve”)를 위한 메모리 용량 사전 할당에 사용됩니다. 이 메서드는 #include "ara/diag/diagnostic_sovd_content_element_data.h" 헤더를 통해 제공되며, 기반이 되는 DiagnosticSovdArrayContentElementData의 제공할 용량을 결정하는 std::size_t 유형의 매개변수 capacity을(를) 받습니다([SWS_DM_02240]). 반환 값은 반환되지 않습니다([SWS_DM_02240]).

오류 처리와 관련하여 이 함수는 예외 안전(exception safe) 및 noexcept(으)로 선언되어 있습니다([SWS_DM_02240]). ara::core::Result을(를) 통한 오류 코드나 C++ 예외를 사용하지 않습니다. 해석: 메모리 부족 발생 시 호출자에게 사용할 수 있는 오류 채널이 없으므로 할당이 내부적으로 실패하거나 프로그램 중단으로 이어질 것으로 보입니다. 질문 Q-348805197c004eea (열림)

동시성과 관련하여 이 연산은 명시적으로 스레드 안전(thread-safe)으로 지정되어 있습니다([SWS_DM_02240]). 따라서 외부 잠금 없이 병렬 스레드에서 호출이 수행될 수 있습니다.

전체 시스템에서 이 인터페이스는 관련 예약 함수들을 보완합니다: DiagnosticSovdRecordContentElementDataView::Reserve이(가) 레코드 데이터 구조에 대해 유사하게 담당하는 반면([SWS_DM_02283], SWS Diagnostics §8.60.11.1.1.20 “Reserve”), 일반 기본 클래스 함수 DiagnosticSovdContentElementData::Reserve은(는) 잘못된 요소 유형인 경우 오류를 보고하기 위해 ara::core::Result<void>을(를) 반환합니다([SWS_DM_02345], SWS Diagnostics §8.60.6.1.2.55 “Reserve”). 스레드 안전하지 않은 메모리 예약 DiagnosticServiceDynamicAccessList::Reserve([SWS_DM_01163], SWS Diagnostics §8.13.1.1.3.3 “Reserve”)과 달리, 이 뷰 메서드는 SOVD 배열 요소에서 직접 및 동시성 있게 작동합니다.

이 텍스트는 AI에 의해 생성되었으며 가이드 역할을 합니다. 참조된 AUTOSAR 사양이 표준입니다.

구현자 가이드 준비 중 (복잡도 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#1badcb8e
Content hash
1badcb8e
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

함수 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#b881f3da
Content hash
b881f3da
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

함수 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#7a206cc2
Content hash
7a206cc2
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

함수 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#4de80e6b
Content hash
4de80e6b
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

함수 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#0b57291f
Content hash
0b57291f
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