类 ara::per::ReadAccessor
[SWS_PER_00342] Upstream: RS_PER_00004 , RS_AP_00122 , RS_AP_00146
class ReadAccessor : public virtual FileAccessor {...};
ReadAccessor is used to read file data. It provides binary and text mode methods for checking or getting the current byte/character (PeekByte/PeekChar, GetByte/GetChar) methods for reading a section of a binary/text file (Read Binary/ReadText), a method to read a line of text (ReadLine).
Header-Datei #include "ara/per/read_accessor.h" Forwarding-Header #include "ara/per/per_fwd.h" Scope namespace ara::per Basisklasse(n) FileAccessor
用户指南人工智能生成 支持按块、按行或基于字符读取持久化的文件和二进制数据。
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 811820211677
来源
未决问题(1)
摘要 详细
支持按块、按行或基于字符读取持久化的文件和二进制数据。
本指南基于 AUTOSAR Adaptive R25-11 规范自动生成。
分组依据 类别 历史
成员图 类图 Hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); Klicken öffnet die jeweilige Klassenseite.
G
nara__per__ReadAccessor956
ReadAccessor
+ ReadAccessor()
+ ~ReadAccessor()
+ GetByte()
+ GetChar()
+ PeekByte()
+ PeekChar()
+ ReadBinary()
+ ReadLine()
+ ReadText()
nara__per__FileAccessor932
FileAccessor
nara__per__ReadAccessor956->nara__per__FileAccessor932
nara__per__ReadWriteAccessor483
ReadWriteAccessor
nara__per__ReadWriteAccessor483->nara__per__ReadAccessor956
详细视图 此版本没有元素数据
构造函数和析构函数 The default constructor for ReadAccessor shall not be used.
ReadAccessor ()=delete;
Destructor for ReadAccessor.
方法 Returns the byte at the current position of the file, advancing the current position. In case of an error, the current position is not changed.
Returns the character at the current position of the file, advancing the current position. In case of an error, the current position is not changed.
Returns the byte at the current position of the file. The current position is not changed.
Returns the character at the current position of the file. The current position is not changed.
Reads all remaining bytes into a Vector of Byte, starting from the current position. The current position is set to the end of the file. In case of an error, the current position is not changed.
重载 ReadBinary 2 Reads a complete line of characters into a String, advancing the current position accordingly. The end of the line is demarcated by the delimiter, or by "\\n" (ASCII 0x0a) if that parameter is omitted. The delimiter itself is not included in the returned String. Only Unicode code points with one character (code unit) can be used as delimiters. The returned string may start with an incomplete Unicode code point in case the current read position is in the middle of a code point. If the end of the file is reached, the remaining characters are returned and the current position is set to the end of the file. In case of an error, the current position is not changed.
Reads a number of characters into a String, starting from the current position. The returned string may start and/or end with incomplete Unicode code points in case the current read position and/or the last read character (code unit) is in the middle of a code point. The current position is advanced accordingly. If the end of the file is reached, the number of returned characters can be less than the requested number, and the current position is set to the end of the file. In case of an error, the current position is not changed.
重载 ReadText 2
点击条目以查看其关系。
基类 派生类 使用 被使用于 继承 自此版本起移除 用于 此类中无关联 函数 AI 评注 打开类页面 无法加载类页面。 调整顺序 调整宽度 调整大纲宽度 章节 阅读时间 SWS 引用 图表 放回中间 调整顺序或拖到标题栏 取消停靠 – 在内容中显示 移到中间栏 作为标签停靠到标题栏 元素 AI 模型 打开审计档案 档案 打开简短版本 打开中等版本 打开完整版本 恢复默认视图 已恢复默认视图 撤销 关闭详细视图 签名 基本信息 值 截至所选版本的最后一次更改 之后的下一次更改 单击:选择版本 无法放在此处:拖到标题栏可停靠,拖到中间栏可取消停靠。 新增 已更改 未更改 已移除 未包含 更改 内容无变化 首次出现于 移除于 没有可用的版本数据。 正在加载版本数据 … 文本 此版本未收录措辞 悬停或单击单元格:与所选版本比较 · 单击版本标题:选择版本 选择版本 属性 版本 元素 只有一个版本有措辞 PDF 中存在,原文尚未导入 首次采集原文 自 {rel} 起未更改 版本颜色 最早版本 最新版本
方法文档
ara::core::Result < ara::core::Byte > GetByte () noexcept;
Returns the byte at the current position of the file, advancing the current position. In case of an error, the current position is not changed.
Header-Datei #include "ara/per/read_accessor.h" Scope class ara::per::ReadAccessor Exception-Sicherheit exception safe Thread-Sicherheit not thread-safe PerErrc ::kPhysical rollback_semantics
Rückgabewert
Typ Beschreibung ara::core::Result <ara::core::Byte >A Result containing a byte. In case of an error, it contains any of the errors defined below, or a vendor specific error.
Fehler
Fehlercode Beschreibung StorageFailure Returned if access to the physical storage fails. PerErrc ::kValidationFailedrollback_semantics Returned if the validity of stored data cannot be ensured. PerErrc ::kEncryptionFailedrollback_semantics Returned if the decryption of stored data fails. PerErrc ::kEofrollback_semantics Returned if the current position is at the end of the file or if the file is empty. PerErrc ::kAuthenticationFailedrollback_semantics Returned if checking the MAC of stored data fails.
Status: valid/unmigrated
Version: rel:R25-11#0912989a
Versionshistorie & Revisions (1 transition, 7 revision)
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_PER_00419@rel:R25-11#0912989a
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R21-11 R22-11 R23-11 R24-11 R19-11
View Snapshot
Recorded Revisions (7):
R25-11 rel:R25-11#0364504c2026-09-30 Inspect R20-11 rel:R20-11#5413fe932026-10-14 Inspect R21-11 rel:R21-11#942b773e2026-10-14 Inspect R22-11 rel:R22-11#bd9006822026-10-14 Inspect R23-11 rel:R23-11#a95950da2026-10-14 Inspect R24-11 rel:R24-11#0912989a2026-10-14 Inspect R25-11 rel:R25-11#0912989a2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
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/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
ara::core::Result < char > GetChar () noexcept;
Returns the character at the current position of the file, advancing the current position. In case of an error, the current position is not changed.
Header-Datei #include "ara/per/read_accessor.h" Scope class ara::per::ReadAccessor Exception-Sicherheit exception safe Thread-Sicherheit not thread-safe PerErrc ::kPhysical rollback_semantics
Rückgabewert
Typ Beschreibung ara::core::Result < char >A Result containing a character. In case of an error, it contains any of the errors defined below, or a vendor specific error.
Fehler
Fehlercode Beschreibung StorageFailure Returned if access to the physical storage fails. PerErrc ::kValidationFailedrollback_semantics Returned if the validity of stored data cannot be ensured. PerErrc ::kEncryptionFailedrollback_semantics Returned if the decryption of stored data fails. PerErrc ::kEofrollback_semantics Returned if the current position is at the end of the file or if the file is empty. PerErrc ::kAuthenticationFailedrollback_semantics Returned if checking the MAC of stored data fails.
Status: valid/unmigrated
Version: rel:R25-11#0c481b90
Versionshistorie & Revisions (1 transition, 8 revision)
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_PER_00168@rel:R25-11#0c481b90
Point-in-Time History:
Release:
R25-11 (Current / Active) R19-11 R20-11 R21-11 R22-11 R23-11 R24-11
View Snapshot
Recorded Revisions (8):
R25-11 rel:R25-11#3ca1a1292026-09-30 Inspect R19-11 rel:R19-11#730eeb9f2026-10-14 Inspect R20-11 rel:R20-11#8515a7212026-10-14 Inspect R21-11 rel:R21-11#9651569a2026-10-14 Inspect R22-11 rel:R22-11#cece1f3e2026-10-14 Inspect R23-11 rel:R23-11#af3b07a02026-10-14 Inspect R24-11 rel:R24-11#cbb2020f2026-10-14 Inspect R25-11 rel:R25-11#0c481b902026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
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/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
ara::core::Result < ara::core::Byte > PeekByte () const noexcept;
Returns the byte at the current position of the file. The current position is not changed.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: eb387be6a3cf
来源
未决问题(1)
类 ara::per::ReadAccessor 的同步成员函数 PeekByte 读取文件当前位置处的单个字节,而不改变文件位置 [SWS_PER_00418] 。该函数需要包含头文件 ara/per/read_accessor.h,不接受任何参数,并在 ara::core::Result<ara::core::Byte> 中返回所读取的值 [SWS_PER_00418] 。
如果在访问期间发生错误,返回对象要么包含厂商特定错误码,要么包含来自 PerErrc 的已定义错误之一 [SWS_PER_00418] :
PerErrc::kEof:当前位置处于文件末尾,或者文件为空。
PerErrc::kPhysicalStorageFailure:访问物理存储失败。
PerErrc::kValidationFailed:无法保证已存储数据的有效性。
PerErrc::kEncryptionFailed:已存储数据的解密失败。
PerErrc::kAuthenticationFailed:MAC(Message Authentication Code)验证失败。
在执行安全性方面,该方法声明为 noexcept 和 exception safe [SWS_PER_00418] 。然而,由于规范将 PeekByte 归类为 not thread-safe,对 ara::per::ReadAccessor 的同一实例进行并发调用可能需要应用端进行同步 [SWS_PER_00418] 。 问题 Q-14b3334052f6c810 (未决)
本使用说明由 AI 基于 AUTOSAR 规范 R25-11 生成。
Header-Datei #include "ara/per/read_accessor.h" Scope class ara::per::ReadAccessor Exception-Sicherheit exception safe Thread-Sicherheit not thread-safe PerErrc ::kPhysical rollback_semantics
Rückgabewert
Typ Beschreibung ara::core::Result <ara::core::Byte >A Result containing a byte. In case of an error, it contains any of the errors defined below, or a vendor specific error.
Fehler
Fehlercode Beschreibung StorageFailure Returned if access to the physical storage fails. PerErrc ::kValidationFailedrollback_semantics Returned if the validity of stored data cannot be ensured. PerErrc ::kEncryptionFailedrollback_semantics Returned if the decryption of stored data fails. PerErrc ::kEofrollback_semantics Returned if the current position is at the end of the file or if the file is empty. PerErrc ::kAuthenticationFailedrollback_semantics Returned if checking the MAC of stored data fails.
Status: valid/unmigrated
Version: rel:R25-11#728d6d2e
Versionshistorie & Revisions (1 transition, 7 revision)
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_PER_00418@rel:R25-11#728d6d2e
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R21-11 R22-11 R23-11 R24-11 R19-11
View Snapshot
Recorded Revisions (7):
R25-11 rel:R25-11#e281f9292026-09-30 Inspect R20-11 rel:R20-11#4a5022882026-10-14 Inspect R21-11 rel:R21-11#265813ae2026-10-14 Inspect R22-11 rel:R22-11#7f25e6502026-10-14 Inspect R23-11 rel:R23-11#413441c32026-10-14 Inspect R24-11 rel:R24-11#3c1c4a1c2026-10-14 Inspect R25-11 rel:R25-11#728d6d2e2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
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/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
ara::core::Result < char > PeekChar () const noexcept;
Returns the character at the current position of the file. The current position is not changed.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: b4d92aee30b2
来源
类 ara::per::ReadAccessor(头文件 #include "ara/per/read_accessor.h")的方法 PeekChar 读取文件当前位置处的字符,而不改变读取指针 [SWS_PER_00167] 。
使用
该函数的签名是 ara::core::Result<char> PeekChar() const noexcept;。它以同步方式工作,声明为 const 并保证异常安全性(exception safe)[SWS_PER_00167] 。返回值是一个 ara::core::Result<char>,在成功时包含读取出的字符 [SWS_PER_00167] 。
错误处理
如果发生错误,ara::core::Result 将返回厂商特定错误或来自 PerErrc 的以下错误码之一 [SWS_PER_00167] :
并发性与限制
该操作不是线程安全的(not thread-safe)[SWS_PER_00167] 。因此,对同一 ReadAccessor 实例的并发访问必须由调用方进行同步。
本使用说明基于 AUTOSAR Adaptive Release R25-11 规范。
Header-Datei #include "ara/per/read_accessor.h" Scope class ara::per::ReadAccessor Exception-Sicherheit exception safe Thread-Sicherheit not thread-safe PerErrc ::kPhysical rollback_semantics
Rückgabewert
Typ Beschreibung ara::core::Result < char >A Result containing a character. In case of an error, it contains any of the errors defined below, or a vendor specific error.
Fehler
Fehlercode Beschreibung StorageFailure Returned if access to the physical storage fails. PerErrc ::kValidationFailedrollback_semantics Returned if the validity of stored data cannot be ensured. PerErrc ::kEncryptionFailedrollback_semantics Returned if the decryption of stored data fails. PerErrc ::kEofrollback_semantics Returned if the current position is at the end of the file or if the file is empty. PerErrc ::kAuthenticationFailedrollback_semantics Returned if checking the MAC of stored data fails.
Status: valid/unmigrated
Version: rel:R25-11#0012349e
Versionshistorie & Revisions (1 transition, 8 revision)
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_PER_00167@rel:R25-11#0012349e
Point-in-Time History:
Release:
R25-11 (Current / Active) R19-11 R20-11 R21-11 R22-11 R23-11 R24-11
View Snapshot
Recorded Revisions (8):
R25-11 rel:R25-11#4e561ee32026-09-30 Inspect R19-11 rel:R19-11#a681f46f2026-10-14 Inspect R20-11 rel:R20-11#484d8e7f2026-10-14 Inspect R21-11 rel:R21-11#9ba26bcc2026-10-14 Inspect R22-11 rel:R22-11#adc94cd82026-10-14 Inspect R23-11 rel:R23-11#5efe621b2026-10-14 Inspect R24-11 rel:R24-11#0012349e2026-10-14 Inspect R25-11 rel:R25-11#0012349e2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
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/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
ReadAccessor ()=delete;
The default constructor for ReadAccessor shall not be used.
Status: valid/unmigrated
Version: rel:R25-11#036da8e2
Versionshistorie & Revisions (1 transition, 6 revision)
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_PER_00461@rel:R25-11#036da8e2
Point-in-Time History:
Release:
R25-11 (Current / Active) R21-11 R22-11 R23-11 R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (6):
R25-11 rel:R25-11#030094252026-09-30 Inspect R21-11 rel:R21-11#ebfad02e2026-10-14 Inspect R22-11 rel:R22-11#2e0765fe2026-10-14 Inspect R23-11 rel:R23-11#ab252e082026-10-14 Inspect R24-11 rel:R24-11#036da8e22026-10-14 Inspect R25-11 rel:R25-11#036da8e22026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
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/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
ara::core::Result < ara::core::Vector < ara::core::Byte > > ReadBinary () noexcept;
Reads all remaining bytes into a Vector of Byte, starting from the current position. The current position is set to the end of the file. In case of an error, the current position is not changed.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 325f0e841208
来源
未决问题(1)
本文本由 AI 创建。所有信息均基于 AUTOSAR 规范的要求。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/per/read_accessor.h" Scope class ara::per::ReadAccessor Exception-Sicherheit exception safe Thread-Sicherheit not thread-safe PerErrc ::kPhysical rollback_semantics
Rückgabewert
Fehler
Fehlercode Beschreibung StorageFailure Returned if access to the physical storage fails. PerErrc ::kValidationFailedrollback_semantics Returned if the validity of stored data cannot be ensured. PerErrc ::kEncryptionFailedrollback_semantics Returned if the decryption of stored data fails. PerErrc ::kEofrollback_semantics Returned if the current position is at the end of the file or if the file is empty. PerErrc ::kAuthenticationFailedrollback_semantics Returned if checking the MAC of stored data fails.
Status: valid/unmigrated
Version: rel:R25-11#196469d1
Versionshistorie & Revisions (1 transition, 7 revision)
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_PER_00421@rel:R25-11#196469d1
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R21-11 R22-11 R23-11 R24-11 R19-11
View Snapshot
Recorded Revisions (7):
R25-11 rel:R25-11#eeeb41ef2026-09-30 Inspect R20-11 rel:R20-11#8500f2512026-10-14 Inspect R21-11 rel:R21-11#bdd2c0352026-10-14 Inspect R22-11 rel:R22-11#573348522026-10-14 Inspect R23-11 rel:R23-11#1941de772026-10-14 Inspect R24-11 rel:R24-11#8e7d483b2026-10-14 Inspect R25-11 rel:R25-11#196469d12026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
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/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
ara::core::Result < ara::core::Vector < ara::core::Byte > > ReadBinary (std::uint64_t n) noexcept;
Reads a number of bytes into a Vector of Byte, starting from the current position. The current position is advanced accordingly. If the end of the file is reached, the number of returned bytes can be less than the requested number, and the current position is set to the end of the file. In case of an error, the current position is not changed.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 4e14906b2550
来源
类 ara::per::ReadAccessor 的函数 ReadBinary 从当前文件位置开始将最多 n 个字节同步读取到 ara::core::Vector<ara::core::Byte> 中 [SWS_PER_00422] 。读取操作成功时,当前文件位置推进所读取的字节数;若在此过程中到达文件末尾,返回的向量可能包含少于 n 个字节,且文件位置保持在文件末尾 [SWS_PER_00422] 。
在读取操作期间若发生错误,文件位置不会改变 [SWS_PER_00422] 。错误处理通过返回的 ara::core::Result 进行,其中可能包含来自 PerErrc 的特定错误代码或特定于供应商的错误 [SWS_PER_00422] :
关于并发性,该方法被指定为 not thread-safe ,因此同一访问器上的并发访问必须在应用程序端进行同步;但它被声明为 exception safe 并带有 noexcept 注解 [SWS_PER_00422] 。与始终读取直至文件末尾的所有剩余字节的无参数重载 [SWS_PER_00421] 不同,该变体允许按定义的块大小分段读取。
本文本由 AI 生成,并用作策划辅助。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/per/read_accessor.h" Scope class ara::per::ReadAccessor Exception-Sicherheit exception safe Thread-Sicherheit not thread-safe PerErrc ::kPhysical rollback_semantics
Parameter (in)
Parameter Beschreibung n Number of bytes to read.
Rückgabewert
Fehler
Fehlercode Beschreibung StorageFailure Returned if access to the physical storage fails. PerErrc ::kValidationFailedrollback_semantics Returned if the validity of stored data cannot be ensured. PerErrc ::kEncryptionFailedrollback_semantics Returned if the decryption of stored data fails. PerErrc ::kEofrollback_semantics Returned if the current position is at the end of the file or if the file is empty. PerErrc ::kAuthenticationFailedrollback_semantics Returned if checking the MAC of stored data fails.
Status: valid/unmigrated
Version: rel:R25-11#6130fc46
Versionshistorie & Revisions (1 transition, 7 revision)
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_PER_00422@rel:R25-11#6130fc46
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R21-11 R22-11 R23-11 R24-11 R19-11
View Snapshot
Recorded Revisions (7):
R25-11 rel:R25-11#0c9042422026-09-30 Inspect R20-11 rel:R20-11#fc873a932026-10-14 Inspect R21-11 rel:R21-11#77fe785f2026-10-14 Inspect R22-11 rel:R22-11#979493562026-10-14 Inspect R23-11 rel:R23-11#1177696c2026-10-14 Inspect R24-11 rel:R24-11#1d2549ee2026-10-14 Inspect R25-11 rel:R25-11#6130fc462026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
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/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
ara::core::Result < ara::core::String > ReadLine (char delimiter=’\n’) noexcept;
Reads a complete line of characters into a String, advancing the current position accordingly. The end of the line is demarcated by the delimiter, or by "\\n" (ASCII 0x0a) if that parameter is omitted. The delimiter itself is not included in the returned String. Only Unicode code points with one character (code unit) can be used as delimiters. The returned string may start with an incomplete Unicode code point in case the current read position is in the middle of a code point. If the end of the file is reached, the remaining characters are returned and the current position is set to the end of the file. In case of an error, the current position is not changed.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 30f46bde066b
来源
未决问题(1)
此文本由 AI 创建,并基于 AUTOSAR 规范。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/per/read_accessor.h" Scope class ara::per::ReadAccessor Exception-Sicherheit exception safe Thread-Sicherheit not thread-safe PerErrc ::kPhysical rollback_semantics
Parameter (in)
Parameter Beschreibung delimiter The character that is used as delimiter.
Rückgabewert
Typ Beschreibung ara::core::Result <ara::core::String >A Result containing a String. In case of an error, it contains any of the errors defined below, or a vendor specific error.
Fehler
Fehlercode Beschreibung StorageFailure Returned if access to the physical storage fails. PerErrc ::kValidationFailedrollback_semantics Returned if the validity of stored data cannot be ensured. PerErrc ::kEncryptionFailedrollback_semantics Returned if the decryption of stored data fails. PerErrc ::kEofrollback_semantics Returned if the current position is at the end of the file or if the file is empty. PerErrc ::kAuthenticationFailedrollback_semantics Returned if checking the MAC of stored data fails.
Status: valid/unmigrated
Version: rel:R25-11#65a53978
Versionshistorie & Revisions (1 transition, 8 revision)
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_PER_00119@rel:R25-11#65a53978
Point-in-Time History:
Release:
R25-11 (Current / Active) R19-11 R20-11 R21-11 R22-11 R23-11 R24-11
View Snapshot
Recorded Revisions (8):
R25-11 rel:R25-11#07ef27932026-09-30 Inspect R19-11 rel:R19-11#d9c1707c2026-10-14 Inspect R20-11 rel:R20-11#869afee72026-10-14 Inspect R21-11 rel:R21-11#4e378ab62026-10-14 Inspect R22-11 rel:R22-11#b00875a42026-10-14 Inspect R23-11 rel:R23-11#50b708c12026-10-14 Inspect R24-11 rel:R24-11#156cbc312026-10-14 Inspect R25-11 rel:R25-11#65a539782026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
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/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
ara::core::Result < ara::core::String > ReadText (std::uint64_t n) noexcept;
Reads a number of characters into a String, starting from the current position. The returned string may start and/or end with incomplete Unicode code points in case the current read position and/or the last read character (code unit) is in the middle of a code point. The current position is advanced accordingly. If the end of the file is reached, the number of returned characters can be less than the requested number, and the current position is set to the end of the file. In case of an error, the current position is not changed.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 042205956a20
来源
本文本由 AI 生成并策划。所有说明均基于 AUTOSAR 版本 R25-11 的规范。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/per/read_accessor.h" Scope class ara::per::ReadAccessor Exception-Sicherheit exception safe Thread-Sicherheit not thread-safe PerErrc ::kPhysical rollback_semantics
Parameter (in)
Parameter Beschreibung n Number of characters to read.
Rückgabewert
Typ Beschreibung ara::core::Result <ara::core::String >A Result containing a String. In case of an error, it contains any of the errors defined below, or a vendor specific error.
Fehler
Fehlercode Beschreibung StorageFailure Returned if access to the physical storage fails. PerErrc ::kValidationFailedrollback_semantics Returned if the validity of stored data cannot be ensured. PerErrc ::kEncryptionFailedrollback_semantics Returned if the decryption of stored data fails. PerErrc ::kEofrollback_semantics Returned if the current position is at the end of the file or if the file is empty. PerErrc ::kAuthenticationFailedrollback_semantics Returned if checking the MAC of stored data fails.
Status: valid/unmigrated
Version: rel:R25-11#2aa15da4
Versionshistorie & Revisions (1 transition, 8 revision)
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_PER_00165@rel:R25-11#2aa15da4
Point-in-Time History:
Release:
R25-11 (Current / Active) R19-11 R20-11 R21-11 R22-11 R23-11 R24-11
View Snapshot
Recorded Revisions (8):
R25-11 rel:R25-11#cc14eec62026-09-30 Inspect R19-11 rel:R19-11#6ae823952026-10-14 Inspect R20-11 rel:R20-11#45ea0c7d2026-10-14 Inspect R21-11 rel:R21-11#659479ab2026-10-14 Inspect R22-11 rel:R22-11#231d4b352026-10-14 Inspect R23-11 rel:R23-11#7498db7f2026-10-14 Inspect R24-11 rel:R24-11#9c84dfee2026-10-14 Inspect R25-11 rel:R25-11#2aa15da42026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
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/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
ara::core::Result < ara::core::String > ReadText () noexcept;
Reads all remaining characters into a String, starting from the current position. The returned string may start with an incomplete Unicode code point in case the current read position is in the middle of a code point. The current position is set to the end of the file. In case of an error, the current position is not changed.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: d5efea9a0341
来源
此使用说明是根据 AUTOSAR 规范 R25-11 自动创建的。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/per/read_accessor.h" Scope class ara::per::ReadAccessor Exception-Sicherheit exception safe Thread-Sicherheit not thread-safe
Rückgabewert
Typ Beschreibung ara::core::Result <ara::core::String >A Result containing a String. In case of an error, it contains any of the errors defined below, or a vendor specific error.
Fehler
Fehlercode Beschreibung PerErrc ::kPhysicalStorageFailurerollback_semantics Returned if access to the physical storage fails. PerErrc ::kValidationFailedrollback_semantics Returned if the validity of stored data cannot be ensured. PerErrc ::kEncryptionFailedrollback_semantics Returned if the decryption of stored data fails. PerErrc ::kEofrollback_semantics Returned if the current position is at the end of the file or if the file is empty. PerErrc ::kAuthenticationFailedrollback_semantics Returned if checking the MAC of stored data fails.
Status: valid/unmigrated
Version: rel:R25-11#61b98c9e
Versionshistorie & Revisions (1 transition, 7 revision)
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_PER_00420@rel:R25-11#61b98c9e
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R21-11 R22-11 R23-11 R24-11 R19-11
View Snapshot
Recorded Revisions (7):
R25-11 rel:R25-11#eae1d52e2026-09-30 Inspect R20-11 rel:R20-11#964160082026-10-14 Inspect R21-11 rel:R21-11#87d5efdd2026-10-14 Inspect R22-11 rel:R22-11#cb3fbb062026-10-14 Inspect R23-11 rel:R23-11#0a34e0562026-10-14 Inspect R24-11 rel:R24-11#6089d3262026-10-14 Inspect R25-11 rel:R25-11#61b98c9e2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
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/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
~ReadAccessor () override noexcept;
Destructor for ReadAccessor.
Header-Datei #include "ara/per/read_accessor.h" Scope class ara::per::ReadAccessor Exception-Sicherheit exception safe Thread-Sicherheit not thread-safe
Status: valid/unmigrated
Version: rel:R25-11#bb549d8d
Versionshistorie & Revisions (1 transition, 7 revision)
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_PER_00417@rel:R25-11#bb549d8d
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R21-11 R22-11 R23-11 R24-11 R19-11
View Snapshot
Recorded Revisions (7):
R25-11 rel:R25-11#bf28177b2026-09-30 Inspect R20-11 rel:R20-11#ef16863c2026-10-14 Inspect R21-11 rel:R21-11#d902da112026-10-14 Inspect R22-11 rel:R22-11#303367742026-10-14 Inspect R23-11 rel:R23-11#1f8e44f12026-10-14 Inspect R24-11 rel:R24-11#2707c6492026-10-14 Inspect R25-11 rel:R25-11#bb549d8d2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
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/unmigratedmechanically 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 · 德文原文