DEENESPTFRRUARHIKOZHNL

类 ara::diag::DiagnosticSovdRecordContentElementDataConstView

[SWS_DM_02295] Upstream: RS_Diag_04260

class DiagnosticSovdRecordContentElementDataConstView {...};

Const view on a DiagnosticSovdContentElementData with Record type.

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

用户指南人工智能生成

提供对诊断 SOVD 数据 Record 元素的只读、线程安全读取访问。
AI 生成 未审核 模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 5db4cee55bd3 来源 未决问题(1)
译自德文指南gemini-3.8-flash-low · 2026-10-13 · 德文原文

提供对诊断 SOVD 数据 Record 元素的只读、线程安全读取访问。

该类提供了对结构化 SOVD Record 内容元素的不可变视图,用于诊断应用程序中高效且只读的求值([SWS_DM_02295])。用户可以通过结果对象检查错误状态、按键定向寻址数据集元素,或者使用常量迭代器顺序遍历全部内容([SWS_DM_02300])。所有接口均完全线程安全并声明为异常安全,但前提是被引用的内容元素符合预期的 Record 类型。

上下文

类 ara::diag::DiagnosticSovdRecordContentElementDataConstView 定义了针对 Record 数据集类型的诊断 SOVD 内容元素的不可变视图(Const View)([SWS_DM_02295]、AUTOSAR_AP_SWS_Diagnostics §8.60.9 “Class: DiagnosticSovdRecordContentElementDataConstView”)。该接口通过头文件 #include "ara/diag/diagnostic_sovd_content_element_data.h" 提供([SWS_DM_02298])。它允许诊断应用程序对 SOVD 内容元素中按层次划分的数据字段进行定向、结构化的读取,而无需创建有效负载数据的副本或执行修改操作。

主要交互方包括发起调用的诊断组件、DiagnosticSovdContentElementData 类型的底层对象,以及通过其寻址的单独元素,这些元素作为常量引用包装 std::reference_wrapper<DiagnosticSovdContentElementData const> 或通过常量迭代器提供([SWS_DM_02300]、[SWS_DM_02301])。

生命周期

作为视图类型,ara::diag::DiagnosticSovdRecordContentElementDataConstView 推测本身不拥有底层有效负载数据的所有权(Ownership);视图的有效性推测与所引用的 DiagnosticSovdContentElementData 对象的生命周期绑定。 问题 Q-4aca4f6f723cd3f5 (未决)视图实例的销毁仅释放视图描述符,而底层数据结构保持不变。

关于并发性,该类的所有成员函数均显式指定为线程安全和异常安全(noexcept)([SWS_DM_02296]、[SWS_DM_02298])。因此,只要所引用的数据结构在访问期间未被并发修改,多个线程即可无同步地并发对该接口进行读取访问。

使用路径

求值 Record 元素的典型流程分为错误检查、维度检查和元素访问:

  1. 检查错误状态:在处理之前,通过 HasError() 验证内容是否存在且无错误([SWS_DM_02296])。
  2. 查询占用情况:可通过 Empty() 检查数据集是否为空([SWS_DM_02299]、AUTOSAR_AP_SWS_Diagnostics §8.60.9.1.1.5 “Empty”)。方法 Size() 和 Capacity() 返回数据集的元素数量以及容量([SWS_DM_02297]、[SWS_DM_02298]、AUTOSAR_AP_SWS_Diagnostics §8.60.9.1.1.4 “Capacity”)。
  3. 定向元素访问:在访问指定字段之前,可通过 HasContentElement() 检查键是否存在([SWS_DM_02305])。随后通过 operator[] 传入 ara::core::StringView 进行随机访问,该方法返回对子元素的引用([SWS_DM_02300])。或者,Find() 返回指向找到的元素的迭代器([SWS_DM_02306])。
  4. 顺序迭代:为了完整遍历所有子元素,可以使用迭代器方法 Begin() / End() 以及 CBegin() / CEnd(),它们返回 DiagnosticSovdRecordContentElementDataConstIterator 的实例([SWS_DM_02301]、[SWS_DM_02302]、[SWS_DM_02303]、[SWS_DM_02304]、AUTOSAR_AP_SWS_Diagnostics §8.60.9.1.1.1 “Begin”、AUTOSAR_AP_SWS_Diagnostics §8.60.9.1.1.2 “CBegin”、AUTOSAR_AP_SWS_Diagnostics §8.60.9.1.1.3 “CEnd”)。
Record 常量视图的使用路径应用view: DiagnosticSovdRecordContentElementDataConstViewHasError()Result<void> (Erfolg)HasContentElement(key)Result<bool> (true)operator[](key)Result<reference_wrapper<DiagnosticSovdContentElementData const>>

时序图:用于错误检查和基于键的元素查询的调用顺序。来源:[SWS_DM_02296]、[SWS_DM_02300]、[SWS_DM_02305]。

错误场景

该类使用返回类型 ara::core::Result 代替 C++ 异常来进行错误处理:

  • 内部错误状态:如果底层的 SOVD 内容元素存在错误,HasError() 返回包含错误代码 ara::diag::DiagSovdErrc 的 ara::core::Result<void>([SWS_DM_02296])。
  • 缺少键或类型冲突:当通过 operator[] 访问或使用 HasContentElement() 检查时,如果 DiagnosticSovdContentElementData 不属于类型 RecordContentElementData 或 ContentData,或者指定的键不存在,则返回值给出一个错误 Result([SWS_DM_02300]、[SWS_DM_02305])。
  • 违反前置条件:对于方法 Begin()、End()、CBegin()、CEnd()、Size()、Capacity()、Empty() 和 Find(),前置条件是被引用的内容元素必须属于类型 RecordContentElementData 或 ContentData([SWS_DM_02297]、[SWS_DM_02298]、[SWS_DM_02299]、[SWS_DM_02301]、[SWS_DM_02302]、[SWS_DM_02303]、[SWS_DM_02304]、[SWS_DM_02306])。

本指南基于 AUTOSAR Adaptive Platform 规范 Release R25-11。

成员图

类图

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

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

详细视图

请在大纲中选择一个条目。

方法

Begin 函数

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

auto Begin () noexcept -> DiagnosticSovdRecordContentElementDataConst 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;
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 -> DiagnosticSovdRecordContentElementDataConst Iterator;
Find 函数

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

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

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

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

Returns if the content contains an error.

auto HasError () const noexcept -> ara::core::Result< void >;
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[] 函数

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

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

方法文档

函数 Begin [SWS_DM_02301] Upstream: RS_Diag_04260

auto Begin () noexcept -> DiagnosticSovdRecordContentElementDataConst Iterator;

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

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

Rückgabewert

TypBeschreibung
DiagnosticSovdRecordContentElementDataConstIteratorThe iterator

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

Record
AUTOSAR/AP/record/SWS_DM_02301
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02301@rel:R25-11#a34adf1c
Content hash
a34adf1c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02301
Status: valid/unmigrated Version: rel:R25-11#841c2b71 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_02301@rel:R25-11#841c2b71
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 CBegin [SWS_DM_02303] Upstream: RS_Diag_04260

auto CBegin () noexcept -> DiagnosticSovdRecordContentElementDataConst Iterator;

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

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

Rückgabewert

TypBeschreibung
DiagnosticSovdRecordContentElementDataConstIteratorThe iterator

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

Record
AUTOSAR/AP/record/SWS_DM_02303
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02303@rel:R25-11#f6842796
Content hash
f6842796
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02303
Status: valid/unmigrated Version: rel:R25-11#07b5c901 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_02303@rel:R25-11#07b5c901
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 CEnd [SWS_DM_02304] Upstream: RS_Diag_04260

auto CEnd () noexcept -> DiagnosticSovdRecordContentElementDataConst Iterator;

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

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

Rückgabewert

TypBeschreibung
DiagnosticSovdRecordContentElementDataConstIteratorThe iterator

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

Record
AUTOSAR/AP/record/SWS_DM_02304
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02304@rel:R25-11#661cb119
Content hash
661cb119
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02304
Status: valid/unmigrated Version: rel:R25-11#450bd183 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_02304@rel:R25-11#450bd183
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 Capacity [SWS_DM_02298] Upstream: RS_Diag_04260

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

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

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

Rückgabewert

TypBeschreibung
std::size_tThe capacity of the RecordContentElementData

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

Record
AUTOSAR/AP/record/SWS_DM_02298
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02298@rel:R25-11#9036976a
Content hash
9036976a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02298
Status: valid/unmigrated Version: rel:R25-11#71bc48fb Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_02298@rel:R25-11#71bc48fb
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 Empty [SWS_DM_02299] Upstream: RS_Diag_04260

auto Empty () const noexcept -> bool;

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

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

Rückgabewert

TypBeschreibung
boolIf the record is empty

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

Record
AUTOSAR/AP/record/SWS_DM_02299
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02299@rel:R25-11#33e00214
Content hash
33e00214
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02299
Status: valid/unmigrated Version: rel:R25-11#c4815670 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_02299@rel:R25-11#c4815670
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 End [SWS_DM_02302] Upstream: RS_Diag_04260

auto End () noexcept -> DiagnosticSovdRecordContentElementDataConst Iterator;

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

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

Rückgabewert

TypBeschreibung
DiagnosticSovdRecordContentElementDataConstIteratorThe iterator

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

Record
AUTOSAR/AP/record/SWS_DM_02302
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02302@rel:R25-11#6ad6244d
Content hash
6ad6244d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02302
Status: valid/unmigrated Version: rel:R25-11#1495a9cd Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_02302@rel:R25-11#1495a9cd
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 Find [SWS_DM_02306] Upstream: RS_Diag_04260

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

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

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

Parameter (in)

ParameterBeschreibung
keyThe key

Rückgabewert

TypBeschreibung
DiagnosticSovdRecordContentElementDataConstIteratorA DiagnosticSovdRecordContentElementDataIterator

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

Record
AUTOSAR/AP/record/SWS_DM_02306
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02306@rel:R25-11#5056bf2a
Content hash
5056bf2a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02306
Status: valid/unmigrated Version: rel:R25-11#8a7445ae Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_02306@rel:R25-11#8a7445ae
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 HasContentElement [SWS_DM_02305] Upstream: RS_Diag_04260

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

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

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

Parameter (in)

ParameterBeschreibung
keyThe key

Rückgabewert

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

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

Record
AUTOSAR/AP/record/SWS_DM_02305
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02305@rel:R25-11#40b3ef27
Content hash
40b3ef27
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02305
Status: valid/unmigrated Version: rel:R25-11#375dbd09 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_02305@rel:R25-11#375dbd09
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 HasError [SWS_DM_02296] Upstream: RS_Diag_04260

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

Returns if the content contains an error.

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

Rückgabewert

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

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

Record
AUTOSAR/AP/record/SWS_DM_02296
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02296@rel:R25-11#30e64d82
Content hash
30e64d82
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02296
Status: valid/unmigrated Version: rel:R25-11#a6b50f7f Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_02296@rel:R25-11#a6b50f7f
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 Size [SWS_DM_02297] Upstream: RS_Diag_04260

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

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

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

Rückgabewert

TypBeschreibung
std::size_tThe count of the RecordContentElementData

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

Record
AUTOSAR/AP/record/SWS_DM_02297
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02297@rel:R25-11#760f18e6
Content hash
760f18e6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02297
Status: valid/unmigrated Version: rel:R25-11#0d76c009 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_02297@rel:R25-11#0d76c009
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 operator[] [SWS_DM_02300] Upstream: RS_Diag_04260

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

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

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

Parameter (in)

ParameterBeschreibung
keyThe key

Rückgabewert

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

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

Record
AUTOSAR/AP/record/SWS_DM_02300
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02300@rel:R25-11#5609566b
Content hash
5609566b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02300
Status: valid/unmigrated Version: rel:R25-11#fdb5d31b Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_02300@rel:R25-11#fdb5d31b
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill