DEENESPTFRRUARHIKOZHNL

클래스 ara::diag::DiagnosticSovdRecordContentElementDataView

[SWS_DM_02270] Upstream: RS_Diag_04260

class DiagnosticSovdRecordContentElementDataView {...};

View on a DiagnosticSovdContentElementData with Record type.

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

사용자 가이드AI 생성

SOVD 진단 데이터 레코드의 키 기반 관리 및 읽기를 위한 구조화된 뷰를 제공합니다.
AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 23c95a966eb0 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

SOVD 진단 데이터 레코드의 키 기반 관리 및 읽기를 위한 구조화된 뷰를 제공합니다.

이 클래스는 Adaptive Platform 진단을 위해 RecordContentElementData 타입의 SOVD 데이터 레코드에 대한 구조화된 뷰를 제공합니다(SWS Diagnostics §8.60.11 “Class: DiagnosticSovdRecordContentElementDataView”). Add 또는 operator[]와 같은 스레드 안전 메서드를 통해 기본 및 복합 진단 요소의 키 기반 추가, 읽기 및 관리를 가능하게 합니다([SWS_DM_02288]). 모든 작업의 전제 조건은 기본 데이터 요소가 필요한 레코드 타입이어야 한다는 것입니다. 그렇지 않으면 호출이 반환 결과(Result)에서 오류와 함께 중단됩니다.

컨텍스트

클래스 ara::diag::DiagnosticSovdRecordContentElementDataView은(는) Service-Oriented Vehicle Diagnostics(SOVD) 컨텍스트에서 RecordContentElementData 또는 ContentData 타입의 진단 데이터 요소에 대한 구조화된 뷰(View) 역할을 합니다(SWS Diagnostics §8.60.11 “Class: DiagnosticSovdRecordContentElementDataView”, [SWS_DM_02270]). 이를 통해 진단 애플리케이션 및 진단 런타임 시스템은 키-값 쌍으로 구성된 필드 기반 데이터 레코드(Record)를 생성, 읽기 및 수정할 수 있습니다([SWS_DM_02288]). 상호작용 파트너로서 한쪽에는 진단 데이터를 제공하거나 소비하는 진단 서비스 구현이 있고, 다른 쪽에는 DiagnosticSovdContentElementData 타입의 기본 제네릭 컨테이너 객체가 있습니다. 표준화된 인터페이스를 통해 뷰는 애플리케이션별 조작을 진단 콘텐츠의 물리적 저장 형태와 분리합니다.

수명 주기

뷰로서의 목적에 따라 인스턴스는 DiagnosticSovdContentElementData 타입의 기존 데이터 객체에 대한 참조만을 유지하는 것으로 보입니다(해석). 질문 Q-012bdd3d2b3a7ec4 (열림) 따라서 잘못된 참조를 방지하기 위해 참조된 데이터 레코드의 수명이 뷰의 존재를 반드시 포괄해야 합니다. 클래스의 선언된 모든 메서드는 명세에 따라 스레드 안전(thread-safe) 및 예외 안전(exception safe)으로 설계되었습니다([SWS_DM_02273], [SWS_DM_02288]). 데이터 레코드 내에 포함된 데이터 요소의 수명 주기는 동적으로 관리할 수 있습니다: 기존 요소는 Clear을(를) 통해 완전히 제거하거나([SWS_DM_02276]), Remove을(를) 통해 키를 기반으로 특정 대상을 삭제하거나([SWS_DM_02287]), 반복자를 사용하는 Erase을(를) 통해 컨테이너에서 제거할 수 있습니다([SWS_DM_02294]).

사용 경로

일반적인 사용 절차에는 메모리 준비, 요소 추가, 탐색 및 필드 읽기가 포함됩니다:

  • 메모리 준비: 알려진 요소 수에 대한 재할당을 방지하기 위해 Reserve을(를) 사용하여 용량을 미리 지정할 수 있습니다([SWS_DM_02283]). 현재 용량은 Capacity을(를) 통해 확인할 수 있습니다([SWS_DM_02274]).
  • 데이터 레코드 채우기: 오버로드된 Add 작업을 통해 키(key)를 지정하여 형식화된 값을 등록합니다. std::int64_t([SWS_DM_02288]), std::uint64_t([SWS_DM_02289]), double([SWS_DM_02290]), bool([SWS_DM_02291])과(와) 같은 원시 데이터 타입 및 ara::core::StringView([SWS_DM_02292])을(를) 통한 문자열 값이 지원됩니다. 마찬가지로 DiagnosticSovdContentElementData 타입의 중첩된 진단 요소를 추가할 수 있습니다([SWS_DM_02293]).
  • 검사 및 쿼리: 접근 전에 Empty([SWS_DM_02275])을(를) 사용하여 비어 있는지 확인하고 Size([SWS_DM_02273])을(를) 사용하여 존재하는 요소 수를 확인할 수 있습니다. 키의 존재 여부는 HasContentElement을(를) 통해 검증됩니다([SWS_DM_02284]).
  • 접근 및 순회: 특정 요소에 대한 접근은 대상 요소에 대한 참조를 반환하는 인덱스 연산자 operator[]을(를) 직접 통하거나([SWS_DM_02277], [SWS_DM_02278]), 검색 메서드 Find을(를) 통해 수행됩니다([SWS_DM_02285], [SWS_DM_02286]). 순회를 위해 Begin, End, CBegin 및 CEnd을(를) 통한 반복자가 제공됩니다([SWS_DM_02279], [SWS_DM_02280], [SWS_DM_02281], [SWS_DM_02282]).
View를 통한 레코드 처리 흐름애플리케이션RecordViewContentElementReserve(capacity)Add(key, value)요소 삽입확인Result<void>operator[](key)참조 확인(역참조)Referenz bereitstellenResult<reference_wrapper>HasError()Result<void>

시퀀스 다이어그램: SOVD 레코드 요소를 채우고 읽는 일반적인 절차. 출처: [SWS_DM_02283], [SWS_DM_02288], [SWS_DM_02277], [SWS_DM_02271].

오류 시나리오

데이터 레코드에 대한 작업은 컨테이너 타입 및 키 유효성과 관련하여 엄격한 전제 조건을 따릅니다:

  • 타입 충돌: 모든 접근, 삽입 및 삭제 메서드는 기본 요소가 RecordContentElementData 또는 ContentData 타입이어야 합니다. 그렇지 않으면 Add([SWS_DM_02288]), operator[]([SWS_DM_02277]), HasContentElement([SWS_DM_02284]) 및 Remove([SWS_DM_02287])과(와) 같은 작업이 실패하고 오류 상태의 ara::core::Result을(를) 반환합니다.
  • 찾을 수 없는 키: operator[]을(를) 통한 접근 또는 Remove을(를) 통한 삭제는 요청된 키가 데이터 레코드에 존재하지 않는 경우 오류를 반환합니다([SWS_DM_02277], [SWS_DM_02287]).
  • 삭제 시 유효하지 않은 반복자: Erase을(를) 통한 반복자 삭제는 잘못된 파라미터 또는 올바르지 않은 데이터 바인딩 시 오류 코드 DiagErrc::kInvalidArgument을(를) 반환합니다([SWS_DM_02294]).
  • 명시적 오류 처리: 메서드별 오류 외에도 데이터 레코드의 전체 상태를 SetError을(를) 사용하여 ara::core::ErrorCode(으)로 명시적으로 오류가 있는 것으로 표시할 수 있습니다([SWS_DM_02272]). 호출자는 HasError을(를) 통해 오류 유무를 확인할 수 있으며, 오류 발생 시 해당 ara::diag::DiagSovdErrc을(를) 반환합니다([SWS_DM_02271]).

이 가이드는 AUTOSAR AP R25-11 명세를 기반으로 AI 시스템에 의해 생성되었습니다.

멤버 맵

클래스 다이어그램

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

G nara__diag__DiagnosticSovdRecordContentElementDataView16 DiagnosticSovdRecordContentElementDataView + Add() + Begin() + CBegin() + CEnd() + Capacity() + Clear() + Empty() + End() + Erase() + Find() + HasContentElement() + HasError() + Remove() + Reserve() + SetError() + Size() … 1 weitere

상세 보기

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

메서드

Add 함수 6

Adds an element with the specified key with signed integer as primitive value. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData and the element to add shall not be of type ContentData

오버로드 Add 6
auto Add (ara::core::StringView key, std::int64_t content_element) noexcept -> ara::core::Result< void >; SWS_DM_02288
auto Add (ara::core::StringView key, std::uint64_t content_element) noexcept -> ara::core::Result< void >; SWS_DM_02289
auto Add (ara::core::StringView key, double content_element) noexcept -> ara::core::Result< void >; SWS_DM_02290
auto Add (ara::core::StringView key, bool content_element) noexcept -> ara::core::Result< void >; SWS_DM_02291
auto Add (ara::core::StringView key, ara::core::StringView content_ element) noexcept -> ara::core::Result< void >; SWS_DM_02292
auto Add (ara::core::StringView key, DiagnosticSovdContentElementData content_element) noexcept -> ara::core::Result< void >; SWS_DM_02293
Begin 함수

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

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

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

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

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

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

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

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

Removes all the content element in the RecordContentElementData. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

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

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

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

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

auto End () noexcept -> DiagnosticSovdRecordContentElementData Iterator;
Erase 함수

Erases a content element from DiagnosticSovdRecordContentElementData. The current element shall be of RecordContentElementData or ContentData

auto Erase (DiagnosticSovdRecordContentElementDataIterator iterator) noexcept -> ara::core::Result< void >;
Find 함수 2

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

오버로드 Find 2
auto Find (ara::core::StringView key) noexcept -> DiagnosticSovdRecord ContentElementDataIterator; SWS_DM_02285
auto Find (ara::core::StringView key) const noexcept -> DiagnosticSovd RecordContentElementDataConstIterator; SWS_DM_02286

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

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

Returns if the content contains an error.

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

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

auto Remove (ara::core::StringView key) noexcept -> ara::core::Result< bool >;
Reserve 함수

Reserves the capacity of the RecordContentElementData.

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

Sets the content to be erroneous.

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

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

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

연산자

operator[] 함수 2

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

오버로드 [] 2
auto operator[] (ara::core::StringView key) noexcept -> ara::core::Result< std::reference_wrapper< DiagnosticSovdContent ElementData > >; SWS_DM_02277
auto operator[] (ara::core::StringView key) const noexcept -> ara::core::Result< std::reference_wrapper< DiagnosticSovdContent ElementData const > >; SWS_DM_02278

메서드 문서

함수 Add [SWS_DM_02288] Upstream: RS_Diag_04260

auto Add (ara::core::StringView key, std::int64_t content_element) noexcept -> ara::core::Result< void >;

Adds an element with the specified key with signed integer as primitive value. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData and the element to add shall not be of type ContentData

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

사용

동기 함수 [SWS_DM_02288]은(는) 지정된 키 key(ara::core::StringView) 아래에 부호 있는 정수 값(std::int64_t)을 SOVD 데이터 구조에 삽입합니다. 이 함수는 ara::diag::DiagnosticSovdRecordContentElementDataView 클래스의 메서드로 선언되어 있으며 헤더 ara/diag/diagnostic_sovd_content_element_data.h을(를) 통해 포함됩니다.

전제 조건 및 오류 처리

[SWS_DM_02288]에 따르면 기반이 되는 DiagnosticSovdContentElementData 객체는 RecordContentElementData 또는 ContentData 유형이어야 하며, 추가할 요소 자체는 ContentData이(가) 아니어야 합니다. 이 함수는 noexcept(으)로 정의되며 ara::core::Result<void>을(를) 반환합니다. 대상 컨테이너에 호환되지 않는 유형이 있거나 요소를 추가할 수 없는 등의 이유로 연산이 실패하면 결과에 오류 코드가 포함됩니다. 해석: 이는 일반적으로 키 충돌 시에도 해당할 것으로 보입니다. 질문 Q-524c832a794559b7 (열림)

동시성 및 상호 작용

실행은 스레드 안전 및 예외 안전으로 명시되어 있습니다 [SWS_DM_02288]. 인터페이스 내에는 부호 없는 정수([SWS_DM_02289]), 부동소수점 수([SWS_DM_02290]), 부울 값([SWS_DM_02291]), 문자열([SWS_DM_02292]) 및 중첩된 데이터 요소([SWS_DM_02293])에 대한 동일 유형의 오버로드가 존재합니다. 동일한 메서드가 기본 클래스 DiagnosticSovdContentElementData에서도 제공됩니다([SWS_DM_02368]).

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

구현자 가이드 준비 중 (복잡도 I1)

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

Parameter (in)

ParameterBeschreibung
keyThe key
content_elementThe content element to add

Rückgabewert

TypBeschreibung
ara::core::Result< void >void result or an error if DiagnosticSovdContentElementData is not of type RecordContentElementData or ContentData OR the element cannot be added

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

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

함수 Add [SWS_DM_02289] Upstream: RS_Diag_04260

auto Add (ara::core::StringView key, std::uint64_t content_element) noexcept -> ara::core::Result< void >;

Adds an element with the specified key with unsigned integer as primitive value. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData and the element to add shall not be of type ContentData

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

클래스 ara::diag::DiagnosticSovdRecordContentElementDataView의 동기 멤버 함수 Add은 지정된 키([SWS_DM_02289]) 아래에 부호 없는 64비트 정수 값을 추가하는 역할을 합니다. ASAM SOVD에 따른 진단 통신을 제공하는 Diagnostic Management의 SOVD 기능 범위 내에서 사용됩니다(AUTOSAR_AP_SWS_Diagnostics §1.0 “Introduction and functional overview”, [SWS_DM_01369]).

사용 및 호출

이 메서드는 헤더 ara/diag/diagnostic_sovd_content_element_data.h을 통해 포함됩니다. 매개변수로 식별자 key을 ara::core::StringView로, 추가할 값 content_element을 std::uint64_t로 기대합니다([SWS_DM_02289]). 호출은 동기식으로 수행되고 noexcept으로 지정되어 있으며 결과를 ara::core::Result<void> 형식으로 반환합니다.

오류 처리 및 제약 조건

  • 타입 조건: 인스턴스화된 DiagnosticSovdContentElementData은 RecordContentElementData 또는 ContentData 타입이어야 합니다. 또한 추가할 요소 자체가 ContentData 타입이어서는 안 됩니다([SWS_DM_02289]).
  • 오류 동작: 이러한 타입 요구사항 중 하나가 위반되거나 요소를 추가할 수 없는 경우, 함수는 오류 상태의 ara::core::Result을 반환합니다([SWS_DM_02289]). 사양에서는 이 부분에 특정 오류 코드를 명시하지 않았으며, Result 객체가 진단 도메인의 해당 오류 코드를 반환할 것으로 추정됩니다. 질문 Q-ffca131eece93b35 (열림)
  • 동시성: 이 함수는 명시적으로 thread-safe 및 exception safe로 지정되어 있습니다([SWS_DM_02289]).

상호 작용

이 메서드는 부호 있는 정수([SWS_DM_02288]) 및 구조화된 하위 요소([SWS_DM_02293])를 위한 변형을 포함하여 원시 및 복합 데이터 요소를 캡처하기 위한 형식화된 오버로드 제품군에 속합니다. 동등한 인터페이스가 클래스 DiagnosticSovdContentElementData에서도 병렬로 제공됩니다([SWS_DM_02369]).

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

구현자 가이드 준비 중 (복잡도 I1)

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

Parameter (in)

ParameterBeschreibung
keyThe key
content_elementThe content element to add

Rückgabewert

TypBeschreibung
ara::core::Result< void >void result or an error if DiagnosticSovdContentElementData is not of type RecordContentElementData or ContentData OR the element cannot be added

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

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

함수 Add [SWS_DM_02290] Upstream: RS_Diag_04260

auto Add (ara::core::StringView key, double content_element) noexcept -> ara::core::Result< void >;

Adds an element with the specified key with double as primitive value. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData and the element to add shall not be of type ContentData

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

ara::diag::DiagnosticSovdRecordContentElementDataView 클래스의 동기 멤버 함수 Add은(는) 지정된 키 key 아래에 double 타입의 원시 부동소수점 값을 데이터 레코드에 추가합니다[SWS_DM_02290]. 이 함수는 Diagnostic Management의 SOVD 서버 기능을 위한 구조화된 진단 데이터를 구성하는 데 사용됩니다[SWS_DM_01369].

실행에는 다음과 같은 타입 관련 사전 조건이 적용됩니다[SWS_DM_02290]:

  • 대상 객체는 RecordContentElementData 또는 ContentData 타입이어야 합니다.
  • 추가할 요소 자체가 ContentData 타입이어서는 안 됩니다.

이 메서드는 noexcept(으)로 선언되어 있으며(exception safe) 동시 접근에 대해 스레드 안전(thread-safe)으로 지정되어 있습니다[SWS_DM_02290]. 객체 타입이 호환되지 않거나 요소를 삽입할 수 없는 등 추가에 실패하면 반환된 ara::core::Result<void>을(를) 통해 오류가 보고됩니다[SWS_DM_02290]. 해석: 정확한 오류 원인은 Result 객체의 ara::core::ErrorCode에 매핑될 것으로 보입니다. 질문 Q-c987f75d785d3e90 (열림)

Add의 관련 오버로드와 결합하여, 이 메서드는 정수 값([SWS_DM_02288], [SWS_DM_02289]), 불리언 값 [SWS_DM_02291], 문자열 [SWS_DM_02292] 또는 더 복잡한 요소 데이터 [SWS_DM_02293]를 사용해 SOVD 데이터 레코드를 구조화된 방식으로 채울 수 있도록 합니다.

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

구현자 가이드 준비 중 (복잡도 I1)

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

Parameter (in)

ParameterBeschreibung
keyThe key
content_elementThe content element to add

Rückgabewert

TypBeschreibung
ara::core::Result< void >void result or an error if DiagnosticSovdContentElementData is not of type RecordContentElementData or ContentData OR the element cannot be added

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

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

함수 Add [SWS_DM_02291] Upstream: RS_Diag_04260

auto Add (ara::core::StringView key, bool content_element) noexcept -> ara::core::Result< void >;

Adds an element with the specified key with boolean as primitive value. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData and the element to add shall not be of type ContentData

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

ara::diag::DiagnosticSovdRecordContentElementDataView 클래스의 Add 함수는 지정된 키 아래에 불리언 기본형 값을 SOVD 데이터 요소 [SWS_DM_02291]에 추가하는 역할을 합니다. 호출은 헤더 파일 ara/diag/diagnostic_sovd_content_element_data.h을 통해 수행되며, ara::core::StringView 타입의 매개변수 이름 key 및 bool 타입의 페이로드 값 content_element을 전달합니다[SWS_DM_02291]. 메서드가 즉시 ara::core::Result<void>를 반환하고 비동기성이 명시되어 있지 않으므로, 이 작업은 동기적으로 실행될 것으로 추정됩니다. 질문 Q-a16b08bf68f8590b (열림)

오류 처리는 반환된 ara::core::Result<void>을 통해 이루어집니다. 기반이 되는 DiagnosticSovdContentElementData이 RecordContentElementData 또는 ContentData 타입이 아니거나 요소를 추가할 수 없는 경우 오류가 보고됩니다[SWS_DM_02291]. 구체적인 오류 코드는 명세서 발췌본에 상세히 명시되어 있지 않습니다.

동시성 및 실행 안전성 측면에서 이 메서드는 thread-safe로 분류되며 예외 안전성(noexcept)을 제공합니다[SWS_DM_02291]. 구조적 제약 사항으로서 명세서에서는 추가할 요소 자체가 ContentData 타입이 아니어야 한다고 규정합니다[SWS_DM_02291].

전체 시스템에서 이 메서드는 부호 있는 정수 [SWS_DM_02288], 부호 없는 정수 [SWS_DM_02289], 부동 소수점 수 [SWS_DM_02290], 문자열 [SWS_DM_02292] 및 하위 콘텐츠 요소 [SWS_DM_02293]를 위한 관련 오버로드를 보완합니다. 또한 Diagnostic Management[SWS_DM_01369]의 SOVD 서버 기능 컨텍스트에서 DiagnosticSovdContentElementData 클래스[SWS_DM_02371]에도 유사한 인터페이스가 존재합니다.

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

구현자 가이드 준비 중 (복잡도 I1)

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

Parameter (in)

ParameterBeschreibung
keyThe key
content_elementThe content element to add

Rückgabewert

TypBeschreibung
ara::core::Result< void >void result or an error if DiagnosticSovdContentElementData is not of type RecordContentElementData or ContentData OR the element cannot be added

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

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

함수 Add [SWS_DM_02292] Upstream: RS_Diag_04260

auto Add (ara::core::StringView key, ara::core::StringView content_ element) noexcept -> ara::core::Result< void >;

Adds an element with the specified key with string as primitive value. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData and the element to add shall not be of type ContentData

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

사용

ara::diag::DiagnosticSovdRecordContentElementDataView 클래스의 동기 메서드 Add은 키와 기본형 문자열 값을 갖는 엔트리를 SOVD 데이터 요소 [SWS_DM_02292]에 추가하는 데 사용됩니다. 호출은 각각 ara::core::StringView로 전달되는 두 매개변수 key 및 content_element를 통해 이루어집니다[SWS_DM_02292]. 반환값으로 함수는 작업 결과를 알리기 위한 ara::core::Result<void>을 제공합니다[SWS_DM_02292].

오류 처리

추가에 실패하면 메서드는 ara::core::Result에 오류를 반환합니다[SWS_DM_02292]. 이는 기반 객체가 RecordContentElementData 또는 ContentData 타입이 아니거나 요소를 추가할 수 없을 때 발생합니다[SWS_DM_02292]. 해석: 명세서의 함수 정의에 구체적인 오류 코드가 명시적으로 나열되어 있지 않으므로, 이는 구현의 해당 오류 도메인에 의해 결정될 것으로 추정됩니다. 질문 Q-ba196615f0cd8fc8 (열림)

동시성 및 제약 조건

이 작업은 스레드 안전(thread-safe) 및 예외 안전(exception safe)으로 선언되어 있으며 noexcept로 주석 처리되어 있습니다[SWS_DM_02292]. 필수적인 사전 조건으로서 매개변수로 전달된 요소 자체가 ContentData 타입이 아니어야 합니다[SWS_DM_02292].

상호 작용

이 함수는 Adaptive PlatformAUTOSAR_AP_SWS_Diagnostics §1 “Introduction and functional overview”용 SOVD를 구현하기 위한 AUTOSAR Diagnostic Management(DM)의 구성 요소이며, 여기서 DM은 SOVD 서버 역할을 합니다[SWS_DM_01369]. 동일한 스코프에 대해 부호 있는 정수 [SWS_DM_02288], 부호 없는 정수 [SWS_DM_02289], 부동 소수점 수 [SWS_DM_02290], 불리언 값 [SWS_DM_02291] 및 복합 데이터 요소 [SWS_DM_02293]를 위한 Add의 유사한 오버로드가 존재합니다. 또한 ara::diag::DiagnosticSovdContentElementData도 해당 문자열 오버로드를 제공합니다[SWS_DM_02372].

이 텍스트는 AI에 의해 생성되었으며 참고용 사용 가이드로 제공됩니다.

구현자 가이드 준비 중 (복잡도 I1)

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

Parameter (in)

ParameterBeschreibung
keyThe key
content_elementThe content element to add

Rückgabewert

TypBeschreibung
ara::core::Result< void >void result or an error if DiagnosticSovdContentElementData is not of type RecordContentElementData or ContentData OR the element cannot be added

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

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

함수 Add [SWS_DM_02293] Upstream: RS_Diag_04260

auto Add (ara::core::StringView key, DiagnosticSovdContentElementData content_element) noexcept -> ara::core::Result< void >;

Adds an element with the specified key. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData and the element to add shall not be of type ContentData

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

ara::diag::DiagnosticSovdRecordContentElementDataView 클래스의 동기 함수 Add은(는) 지정된 키 key 아래의 데이터 요소에 DiagnosticSovdContentElementData 유형의 중첩된 요소를 추가합니다 [SWS_DM_02293]. 이는 Adaptive Platform의 Diagnostic Management(DM)에서 지원하는 SOVD(Service-Oriented Vehicle Diagnostics) 프레임워크 내에서 진단 데이터를 구조화하여 제공하는 데 사용됩니다([SWS_DM_01369], AUTOSAR_AP_SWS_Diagnostics §1 “Introduction and functional overview”).

사용 시 다음의 필수 유형 요구 사항을 준수해야 합니다:

  • 호출하는 데이터 객체는 RecordContentElementData 또는 ContentData 유형이어야 합니다 [SWS_DM_02293].
  • 추가할 요소 content_element은(는) 명시적으로 ContentData 유형이 아니어야 합니다 [SWS_DM_02293].
  • 복합 데이터 구조 외에도 기본값에 대해 별도의 오버로드가 제공되며, 예를 들어 DiagnosticSovdContentElementData에도 정의되어 있는 것과 같이 정수 값([SWS_DM_02288], [SWS_DM_02289]), 부동소수점 수 [SWS_DM_02290], 진리값 [SWS_DM_02291] 또는 문자열 [SWS_DM_02292]에 대한 오버로드가 있습니다 [SWS_DM_02373].

오류 처리를 위해 함수는 ara::core::Result<void>을(를) 반환합니다. 유형 전제 조건이 위반되거나 요소를 삽입할 수 없는 등의 이유로 연산이 실패하면 결과에 오류가 포함됩니다 [SWS_DM_02293]. 정확한 오류 코딩은 아마도 진단 관리의 도메인 특화 오류를 기반으로 할 것으로 보입니다. 질문 Q-56c929209d0c7358 (열림) 동시성 및 안전성과 관련하여 이 메서드는 noexcept(으)로 선언되었고 예외 안전(exception safe)으로 간주되며 동시 액세스에 대해 스레드 안전(thread-safe)으로 명시되어 있습니다 [SWS_DM_02293].

이 사용 참고사항은 AUTOSAR R25-11 사양을 바탕으로 AI에 의해 생성되었습니다.

구현자 가이드 준비 중 (복잡도 I1)

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

Parameter (in)

ParameterBeschreibung
keyThe key
content_elementThe content element to add

Rückgabewert

TypBeschreibung
ara::core::Result< void >void result or an error if DiagnosticSovdContentElementData is not of type RecordContentElementData or ContentData OR the element cannot be added

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

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

함수 Begin [SWS_DM_02279] Upstream: RS_Diag_04260

auto Begin () noexcept -> DiagnosticSovdRecordContentElementData Iterator;

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

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

Rückgabewert

TypBeschreibung
DiagnosticSovdRecordContentElementDataIteratorThe iterator

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

Record
AUTOSAR/AP/record/SWS_DM_02279
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02279@rel:R25-11#1563e577
Content hash
1563e577
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02279
Status: valid/unmigrated Version: rel:R25-11#c5fa8675 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_02279@rel:R25-11#c5fa8675
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_02281] Upstream: RS_Diag_04260

auto CBegin () noexcept -> DiagnosticSovdRecordContentElementDataConst Iterator;

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

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

Rückgabewert

TypBeschreibung
DiagnosticSovdRecordContentElementDataConstIteratorThe iterator

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

Record
AUTOSAR/AP/record/SWS_DM_02281
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02281@rel:R25-11#ac73033a
Content hash
ac73033a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02281
Status: valid/unmigrated Version: rel:R25-11#146e5829 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_02281@rel:R25-11#146e5829
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_02282] Upstream: RS_Diag_04260

auto CEnd () noexcept -> DiagnosticSovdRecordContentElementDataConst Iterator;

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

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

Rückgabewert

TypBeschreibung
DiagnosticSovdRecordContentElementDataConstIteratorThe iterator

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

Record
AUTOSAR/AP/record/SWS_DM_02282
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02282@rel:R25-11#93fefbbf
Content hash
93fefbbf
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02282
Status: valid/unmigrated Version: rel:R25-11#e0709028 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_02282@rel:R25-11#e0709028
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_02274] Upstream: RS_Diag_04260

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

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

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

Rückgabewert

TypBeschreibung
std::size_tThe capacity of the RecordContentElementData

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

Record
AUTOSAR/AP/record/SWS_DM_02274
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02274@rel:R25-11#92ea0753
Content hash
92ea0753
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02274
Status: valid/unmigrated Version: rel:R25-11#fa9d250c 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_02274@rel:R25-11#fa9d250c
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_02276] Upstream: RS_Diag_04260

auto Clear () noexcept -> void;

Removes all the content element in the RecordContentElementData. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

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

사용법 및 의미론

ara::diag::DiagnosticSovdRecordContentElementDataView 클래스의 Clear 메서드는 RecordContentElementData [SWS_DM_02276]에서 모든 콘텐츠 요소를 동기식으로 제거하는 역할을 합니다. 호출은 헤더 #include "ara/diag/diagnostic_sovd_content_element_data.h"을(를) 통해 매개변수 없이 수행되며 반환값이 없습니다(void) [SWS_DM_02276].

실행을 위한 전제 조건으로 기본 데이터 인스턴스가 RecordContentElementData 또는 ContentData 타입이어야 한다고 정의되어 있습니다 [SWS_DM_02276]. 해석: 이 함수는 noexcept(으)로 선언되어 있고 오류 상태를 보고하지 않으므로, 이 데이터 타입의 준수는 뷰 객체 생성 시 이미 사전에 확보되었을 것으로 보입니다. 질문 Q-93e43eee235a8f12 (열림)

오류 처리 및 동시성

실행 안전성과 관련하여 이 메서드는 exception safe로 명시되어 있으며 noexcept 선언으로 인해 예외를 발생시키지 않습니다 [SWS_DM_02276]. 또한 호출은 명시적으로 thread-safe로 분류되어 동시 접근이 허용됩니다 [SWS_DM_02276].

상호작용 및 구분

SOVD 환경에서 이 함수는 배열 요소를 위해 정의되어 있고 ara::core::Result<void>을(를) 반환하는 DiagnosticSovdContentElementData [SWS_DM_02338]의 Clear 메서드와 구분됩니다. 마찬가지로 배열용 뷰 메서드 [SWS_DM_02233] 및 ara::core::Future<void>을(를) 반환하고 스레드 안전하지 않은 ara::diag::DTCInformation::Clear을(를) 통한 비동기 DTC 삭제와도 기능적으로 구별됩니다 [SWS_DM_00671].

이 사용 지침은 명세를 기반으로 자동 생성되었습니다.

구현자 가이드 준비 중 (복잡도 I1)

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdRecordContentElementDataView
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_02276
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02276@rel:R25-11#70c85811
Content hash
70c85811
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02276
Status: valid/unmigrated Version: rel:R25-11#7b14c56c 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_02276@rel:R25-11#7b14c56c
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_02275] Upstream: RS_Diag_04260

auto Empty () const noexcept -> bool;

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

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

Rückgabewert

TypBeschreibung
boolIf the record is empty

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

Record
AUTOSAR/AP/record/SWS_DM_02275
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02275@rel:R25-11#c6a7f1be
Content hash
c6a7f1be
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02275
Status: valid/unmigrated Version: rel:R25-11#e44b3c9e 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_02275@rel:R25-11#e44b3c9e
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_02280] Upstream: RS_Diag_04260

auto End () noexcept -> DiagnosticSovdRecordContentElementData Iterator;

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

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

Rückgabewert

TypBeschreibung
DiagnosticSovdRecordContentElementDataIteratorThe iterator

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

Record
AUTOSAR/AP/record/SWS_DM_02280
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02280@rel:R25-11#fe8012a1
Content hash
fe8012a1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02280
Status: valid/unmigrated Version: rel:R25-11#030171ae 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_02280@rel:R25-11#030171ae
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_02294] Upstream: RS_Diag_04260

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

Erases a content element from DiagnosticSovdRecordContentElementData. The current element shall be of RecordContentElementData or ContentData

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

ara::diag::DiagnosticSovdRecordContentElementDataView 클래스의 멤버 함수 Erase은(는) 진단 데이터 레코드에서 하위 콘텐츠 요소를 제거하는 역할을 합니다([SWS_DM_02294], AUTOSAR_AP_SWS_Diagnostics §8.60.11.1.1.14 “Erase”). 선언은 헤더 #include "ara/diag/diagnostic_sovd_content_element_data.h"을(를) 통해 제공됩니다([SWS_DM_02294]).

사용 및 시맨틱: 입력 매개변수로 함수는 구체적으로 삭제할 요소를 가리키는 DiagnosticSovdRecordContentElementDataIterator 타입의 반복자 iterator을(를) 전달받습니다([SWS_DM_02294]). 해석: 이 함수는 noexcept(으)로 선언되어 있고 퓨처 객체 대신 ara::core::Result<void>을(를) 직접 반환하므로, 삭제 작업은 호출자의 스레드에서 동기식으로 실행될 것으로 보입니다. 질문 Q-148ae95c28910b16 (열림) 성공적으로 실행되면 메서드는 빈 ara::core::Result<void>을(를) 반환합니다([SWS_DM_02294]).

오류 처리: 대상 데이터 요소가 RecordContentElementData 및 ContentData 타입 중 어느 것도 아니거나 컨테이너에서 요소를 제거할 수 없는 경우 작업이 실패합니다([SWS_DM_02294]). 이러한 오류 발생 시 함수는 오류 코드 DiagErrc::kInvalidArgument이(가) 포함된 오류를 반환합니다([SWS_DM_02294]).

동시성 및 상호작용: 호출에 대해 인터페이스는 thread-safe 및 exception safe로 명시되어 있습니다([SWS_DM_02294]). 기능적으로 이 함수는 배열 변형인 ara::diag::DiagnosticSovdArrayContentElementDataView::Erase([SWS_DM_02247], AUTOSAR_AP_SWS_Diagnostics §8.60.5.1.1.8 “Erase”)에 대응하며, 배열([SWS_DM_02352]) 및 레코드([SWS_DM_02374])를 위한 컨테이너 클래스 DiagnosticSovdContentElementData의 기본 삭제 연산과 상호작용합니다.

본 텍스트는 AI에 의해 생성되었으며 참고용으로 제공됩니다. 공식 AUTOSAR 사양만이 구속력을 갖습니다.

구현자 가이드 준비 중 (복잡도 I1)

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdRecordContentElementDataView
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 RecordContentElementData or ContentData OR the element couldn’t be erased

Fehler

FehlercodeBeschreibung
DiagErrc::kInvalidArgumentrollback_semantics e.g. kPreFailed with internal debouncing

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

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

함수 Find [SWS_DM_02285] Upstream: RS_Diag_04260

auto Find (ara::core::StringView key) noexcept -> DiagnosticSovdRecord ContentElementDataIterator;

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

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

뷰 클래스 ara::diag::DiagnosticSovdRecordContentElementDataView의 동기 멤버 함수 Find는 키를 기반으로 요소를 찾는 역할을 합니다([SWS_DM_02285], AUTOSAR_AP_SWS_Diagnostics §8.60.11.1.1.15 “Find”). 매개변수로 ara::core::StringView 타입의 key이(가) 전달되며, 결과로 함수는 DiagnosticSovdRecordContentElementDataIterator 타입의 수정 가능한 반복자를 반환합니다([SWS_DM_02285]). 사용을 위한 전제 조건은 연관된 DiagnosticSovdContentElementData이(가) RecordContentElementData 또는 ContentData 타입이어야 한다는 것입니다([SWS_DM_02285]).

오류 처리 및 동시성과 관련하여 이 함수는 noexcept(으)로 선언되어 있고, 예외 안전(exception safe)한 것으로 간주되며, 사양에 따라 스레드 안전(thread-safe)합니다([SWS_DM_02285]). 반환 타입이 ara::core::Result이(가) 아닌 반복자 자체이므로 함수는 특정 오류 코드를 보고하지 않으며, 찾는 키가 존재하지 않는 경우에는 끝 반복자(end iterator)가 반환될 것으로 보입니다. 질문 Q-a34054c9851517ae (열림)

관련 인터페이스와의 상호작용 측면에서 동일한 뷰 클래스에 DiagnosticSovdRecordContentElementDataConstIterator을(를) 반환하는 상수 오버로드([SWS_DM_02286], AUTOSAR_AP_SWS_Diagnostics §8.60.11.1.1.16 “Find”)가 존재합니다. 클래스 DiagnosticSovdRecordContentElementDataConstView 또한 유사한 상수 인터페이스를 제공합니다([SWS_DM_02306], AUTOSAR_AP_SWS_Diagnostics §8.60.9.1.1.7 “Find”). 반면 DiagnosticSovdContentElementData의 메서드 Find는 유효하지 않은 타입이나 누락된 키를 오류로 나타내기 위해 자신의 반복자를 ara::core::Result 내에 캡슐화합니다([SWS_DM_02365], [SWS_DM_02366], AUTOSAR_AP_SWS_Diagnostics §8.60.6.1.2.25 “Find”).

이 사용 지침은 AI에 의해 작성되었으며 AUTOSAR 표준 릴리스 R25-11을 기반으로 합니다.

구현자 가이드 준비 중 (복잡도 I1)

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

Parameter (in)

ParameterBeschreibung
keyThe key

Rückgabewert

TypBeschreibung
DiagnosticSovdRecordContentElementDataIteratorA DiagnosticSovdRecordContentElementDataIterator

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

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

함수 Find [SWS_DM_02286] Upstream: RS_Diag_04260

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

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

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

ara::diag::DiagnosticSovdRecordContentElementDataView 클래스의 동기 멤버 함수 Find은(는) 키를 기반으로 데이터 요소를 읽기 전용으로 찾는 데 사용됩니다([SWS_DM_02286], AUTOSAR AP SWS Diagnostics §8.60.11.1.1.16 “Find”).

사용법 및 매개변수

이 함수는 검색할 키 key을(를) ara::core::StringView(으)로 전달받습니다([SWS_DM_02286]). 호출을 위한 전제 조건은 인스턴스가 진단 타입 RecordContentElementData 또는 ContentData이어야 한다는 점입니다([SWS_DM_02286]). 반환값으로는 DiagnosticSovdRecordContentElementDataConstIterator 타입의 상수 반복자를 동기식으로 제공합니다([SWS_DM_02286]). 키와 일치하는 요소가 존재하지 않는 경우 시퀀스 끝을 표시하는 반복자가 반환될 것으로 추정됩니다(해석). 질문 Q-41a1eba77c0bc236 (열림)

오류 처리 및 동시성

이 인터페이스는 noexcept(으)로 선언되어 있어 예외 안전성(exception safe)을 보장하며, 동시 접근에 대해 스레드 안전(thread-safe)으로 명시되어 있습니다([SWS_DM_02286]). ara::diag::DiagnosticSovdContentElementData의 메서드([SWS_DM_02366])와 달리 ara::core::Result을(를) 통한 반환이 이루어지지 않으므로 오류 사례가 오류 코드를 통해 표현되지 않습니다.

상호 작용

동일한 뷰에 대한 쓰기 또는 수정 접근을 위해 변경 가능한 반복자를 사용하는 비상수 오버로드 [SWS_DM_02285]이(가) 존재합니다. 순수 읽기 뷰의 경우 DiagnosticSovdRecordContentElementDataConstView 클래스가 유사한 Find 함수를 제공합니다([SWS_DM_02306]).

이 사용 지침은 사양 요구사항을 바탕으로 자동으로 생성되었습니다.

구현자 가이드 준비 중 (복잡도 I1)

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

Parameter (in)

ParameterBeschreibung
keyThe key

Rückgabewert

TypBeschreibung
DiagnosticSovdRecordContentElementDataConstIteratorA DiagnosticSovdRecordContentElementDataIterator

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

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

함수 HasContentElement [SWS_DM_02284] Upstream: RS_Diag_04260

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

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

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

Parameter (in)

ParameterBeschreibung
keyThe key

Rückgabewert

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

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

Record
AUTOSAR/AP/record/SWS_DM_02284
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02284@rel:R25-11#964a199e
Content hash
964a199e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02284
Status: valid/unmigrated Version: rel:R25-11#5b0918b8 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_02284@rel:R25-11#5b0918b8
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_02271] 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::DiagnosticSovdRecordContentElementDataView
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_02271
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02271@rel:R25-11#0da47edc
Content hash
0da47edc
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02271
Status: valid/unmigrated Version: rel:R25-11#ee74ea5a 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_02271@rel:R25-11#ee74ea5a
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

함수 Remove [SWS_DM_02287] Upstream: RS_Diag_04260

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

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

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

ara::diag::DiagnosticSovdRecordContentElementDataView 클래스의 동기 멤버 함수 Remove은(는) 키를 기반으로 항목을 목표로 하여 제거하는 데 사용됩니다[SWS_DM_02287]. ara/diag/diagnostic_sovd_content_element_data.h 헤더에 정의되어 있으며 ara::core::StringView 유형의 key 매개변수를 처리합니다AUTOSAR_AP_SWS_Diagnostics §8.60.11.1.1.19 “Remove”.

반환값으로 함수는 ara::core::Result<bool>을(를) 반환합니다[SWS_DM_02287]:

  • 성공 시 포함된 부울 값은 어드레싱된 요소가 실제로 제거될 수 있었는지를 나타냅니다.
  • 요소가 RecordContentElementData 또는 ContentData 유형이 아니거나 지정된 키를 찾을 수 없는 경우 ara::core::Result을(를) 통해 오류가 보고됩니다[SWS_DM_02287].

동시성 및 제한 사항과 관련하여 이 함수는 예외 안전(exception safe) 및 스레드 안전(thread-safe)으로 지정되어 있으며 noexcept(으)로 선언되어 있습니다[SWS_DM_02287]. 호출 조건으로 사양은 기본 인스턴스가 RecordContentElementData 또는 ContentData 유형일 것을 엄격히 요구합니다[SWS_DM_02287].

해석: 시그니처, 매개변수 및 오류 시나리오가 완전히 동일하게 지정되어 있으므로, 기능적으로 이 연산은 데이터 클래스 ara::diag::DiagnosticSovdContentElementData::Remove에서의 제거에 해당할 것으로 추정됩니다[SWS_DM_02367]AUTOSAR_AP_SWS_Diagnostics §8.60.6.1.2.54 “Remove”. 질문 Q-5a9ac29a9b5814be (열림)

이 사용 지침은 AI에 의해 작성되었으며 사양의 요구사항을 요약합니다.

구현자 가이드 준비 중 (복잡도 I1)

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

Parameter (in)

ParameterBeschreibung
keyThe key

Rückgabewert

TypBeschreibung
ara::core::Result< bool >A boolean indicating if the element could be removed or an error if DiagnosticSovdContentElementData is not of type RecordContent ElementData or ContentData OR the key is not found

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

Record
AUTOSAR/AP/record/SWS_DM_02287
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02287@rel:R25-11#a94d290d
Content hash
a94d290d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02287
Status: valid/unmigrated Version: rel:R25-11#860cb787 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_02287@rel:R25-11#860cb787
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_02283] Upstream: RS_Diag_04260

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

Reserves the capacity of the RecordContentElementData.

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

클래스 ara::diag::DiagnosticSovdRecordContentElementDataView([SWS_DM_02283], AUTOSAR_AP_SWS_Diagnostics §8.60.11.1.1.20 “Reserve”)의 메서드 Reserve은 RecordContentElementData에 대해 요청된 스토리지 용량을 동기식으로 예약합니다. 이 호출은 헤더 #include "ara/diag/diagnostic_sovd_content_element_data.h"를 통해 제공되며 std::size_t 타입의 매개변수 capacity을 받습니다. 이 함수는 반환값으로 void을 제공합니다.

이 인터페이스는 noexcept(으)로 선언되어 있으며 예외 안전(“exception safe”)으로 명시되어 있습니다([SWS_DM_02283]). 특정 오류 코드나 오류 구조체는 반환되지 않습니다. 해석: 요구된 용량의 할당이 실패할 경우, ara::core::Result와 같은 반환 채널이 없으므로 오류가 내부적으로 포착되거나 프로그램 중단으로 이어질 것으로 추정됩니다. 질문 Q-ddbaac36f8ed58ad (열림)

동시성과 관련하여 이 함수는 스레드 안전(“thread-safe”)으로 정의되어 있습니다([SWS_DM_02283]). 따라서 추가적인 동기화 조치 없이 여러 스레드에서 병렬로 호출할 수 있습니다.

관련 인터페이스와의 상호작용에서 배열 변형인 DiagnosticSovdArrayContentElementDataView::Reserve([SWS_DM_02240])은 유사하게 동작합니다. 이와 달리 DiagnosticSovdContentElementData::Reserve([SWS_DM_02345])은 타입 충돌을 보고하기 위해 ara::core::Result<void>을(를) 반환합니다. 반면 함수 DiagnosticServiceDynamicAccessList::Reserve([SWS_DM_01163])는 서비스 패턴을 위한 최악의 경우 사전 할당에 사용되며, 두 개의 매개변수를 요구하고 스레드 안전하지 않습니다.

이 텍스트는 AI에 의해 생성되었으며 사양을 바탕으로 한 오리엔테이션 목적으로 제공됩니다.

구현자 가이드 준비 중 (복잡도 I1)

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdRecordContentElementDataView
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_02283
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02283@rel:R25-11#30d977f9
Content hash
30d977f9
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02283
Status: valid/unmigrated Version: rel:R25-11#6302b215 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_02283@rel:R25-11#6302b215
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_02272] Upstream: RS_Diag_04260

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

Sets the content to be erroneous.

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdRecordContentElementDataView
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_02272
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02272@rel:R25-11#2b0ad85a
Content hash
2b0ad85a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02272
Status: valid/unmigrated Version: rel:R25-11#52f6abe5 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_02272@rel:R25-11#52f6abe5
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_02273] Upstream: RS_Diag_04260

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

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

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

Rückgabewert

TypBeschreibung
std::size_tThe count of the RecordContentElementData

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

Record
AUTOSAR/AP/record/SWS_DM_02273
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02273@rel:R25-11#ffb7e1d8
Content hash
ffb7e1d8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02273
Status: valid/unmigrated Version: rel:R25-11#914c329d 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_02273@rel:R25-11#914c329d
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_02277] Upstream: RS_Diag_04260

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

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

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

Parameter (in)

ParameterBeschreibung
keyThe key

Rückgabewert

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

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

Record
AUTOSAR/AP/record/SWS_DM_02277
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02277@rel:R25-11#c178fd17
Content hash
c178fd17
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02277
Status: valid/unmigrated Version: rel:R25-11#c829f6e0 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_02277@rel:R25-11#c829f6e0
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_02278] Upstream: RS_Diag_04260

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

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

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

Parameter (in)

ParameterBeschreibung
keyThe key

Rückgabewert

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

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

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