类 ara::diag::DiagnosticSovdArrayContentElementDataConstView
[SWS_DM_02248] Upstream: RS_Diag_04260
class DiagnosticSovdArrayContentElementDataConstView {...};
Const 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" |
|---|
| Scope | namespace ara::diag |
|---|
用户指南人工智能生成
支持对 SOVD 诊断数据对象的数组元素进行线程安全的只读访问。
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 46670b91e1ad
来源
未决问题(2)
支持对 SOVD 诊断数据对象的数组元素进行线程安全的只读访问。
类 ara::diag::DiagnosticSovdArrayContentElementDataConstView 提供了对数组类型的 DiagnosticSovdContentElementData 的只读视图,以进行高效的诊断查询 [SWS_DM_02248]。应用程序首先通过 HasError() 检查完整性状态,随后既可以通过 operator[] 随机访问,也可以通过 CBegin() 和 CEnd() 迭代访问数组元素 [SWS_DM_02253]。所有操作均以线程安全以及异常安全(noexcept)的方式实现,但前提是被引用的基础元素持续有效。
本指南基于 AUTOSAR Adaptive R25-11 规范。
成员图
类图
Hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); Klicken öffnet die jeweilige Klassenseite.
详细视图
此版本没有元素数据
方法
Returns the begin operator of an array. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData
auto Begin () noexcept -> DiagnosticSovdArrayContentElementDataConst Iterator;
Returns the capacity of the Array content element. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData
Returns the begin operator of an array. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData
auto CBegin () noexcept -> DiagnosticSovdArrayContentElementDataConst Iterator;
Returns the end operator of an array. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData
auto CEnd () noexcept -> DiagnosticSovdArrayContentElementDataConst Iterator;
Returns if the Array is empty. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData
auto Empty () const noexcept -> bool;
Returns the end operator of an array. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData
auto End () noexcept -> DiagnosticSovdArrayContentElementDataConst Iterator;
Returns if the content contains an error.
Returns the size of the Array content element. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData
运算符
Access the content element with specified index of an array. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData
方法文档
auto Begin () noexcept -> DiagnosticSovdArrayContentElementDataConst Iterator;
Returns the begin operator of an array. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData
Rückgabewert
Status: valid/unmigrated
Version: rel:R25-11#656898ea
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_02254@rel:R25-11#656898ea
Point-in-Time History:
Historical Snapshot:
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
auto CBegin () noexcept -> DiagnosticSovdArrayContentElementDataConst Iterator;
Returns the begin operator of an array. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData
Rückgabewert
Status: valid/unmigrated
Version: rel:R25-11#b1016bc5
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_02256@rel:R25-11#b1016bc5
Point-in-Time History:
Historical Snapshot:
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
auto CEnd () noexcept -> DiagnosticSovdArrayContentElementDataConst Iterator;
Returns the end operator of an array. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData
Rückgabewert
Status: valid/unmigrated
Version: rel:R25-11#5c191314
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_02257@rel:R25-11#5c191314
Point-in-Time History:
Historical Snapshot:
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
auto Capacity () const noexcept -> std::size_t;
Returns the capacity of the Array content element. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData
Rückgabewert
| Typ | Beschreibung |
|---|
| std::size_t | The capacity of the ArrayContentElementData |
Status: valid/unmigrated
Version: rel:R25-11#dd87bdcc
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_02251@rel:R25-11#dd87bdcc
Point-in-Time History:
Historical Snapshot:
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
auto Empty () const noexcept -> bool;
Returns if the Array is empty. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData
Rückgabewert
| Typ | Beschreibung |
|---|
| bool | If the array is empty |
Status: valid/unmigrated
Version: rel:R25-11#a85c7949
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_02252@rel:R25-11#a85c7949
Point-in-Time History:
Historical Snapshot:
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
auto End () noexcept -> DiagnosticSovdArrayContentElementDataConst Iterator;
Returns the end operator of an array. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData
Rückgabewert
Status: valid/unmigrated
Version: rel:R25-11#5d7352d1
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_02255@rel:R25-11#5d7352d1
Point-in-Time History:
Historical Snapshot:
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
auto HasError () const noexcept -> ara::core::Result< void >;
Returns if the content contains an error.
Rückgabewert
Status: valid/unmigrated
Version: rel:R25-11#9d7e1ea6
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_02249@rel:R25-11#9d7e1ea6
Point-in-Time History:
Historical Snapshot:
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
auto Size () const noexcept -> std::size_t;
Returns the size of the Array content element. This DiagnosticSovdContentElementData shall be of type ArrayContentElementData
Rückgabewert
| Typ | Beschreibung |
|---|
| std::size_t | The size of the ArrayContentElementData |
Status: valid/unmigrated
Version: rel:R25-11#e76f7f29
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_02250@rel:R25-11#e76f7f29
Point-in-Time History:
Historical Snapshot:
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
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
Rückgabewert
| Typ | Beschreibung |
|---|
| ara::core::Result<std::reference_wrapper<DiagnosticSovdContentElementData const > > | reference to the content element or an error if DiagnosticSovdContentElementData is not of type ArrayContentElementData |
Status: valid/unmigrated
Version: rel:R25-11#9a0c8a2c
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_02253@rel:R25-11#9a0c8a2c
Point-in-Time History:
Historical Snapshot:
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
gemini-3.8-flash-low· 2026-10-13 · 德文原文