DEENESPTFRRUARHIKOZHNL

clase 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"
Scopenamespace ara::per
Basisklasse(n)FileAccessor

Guía del usuarioGENERADO POR IA

Permite la lectura por bloques, por líneas o basada en caracteres de datos binarios y de archivos persistidos.
GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 811820211677 Procedencia Preguntas abiertas (1)
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

Permite la lectura por bloques, por líneas o basada en caracteres de datos binarios y de archivos persistidos.

La clase ara::per::ReadAccessor proporciona métodos síncronos para la lectura secuencial y basada en líneas de archivos en modo binario y de texto [SWS_PER_00421], [SWS_PER_00119]. Además de la lectura consumidora, permite la vista previa neutra respecto al puntero de los siguientes bytes o caracteres. Dado que las instancias no son seguras para hilos, los accesos paralelos deben coordinarse externamente, mientras que, en caso de error, una garantía de reversión protege la posición del puntero de lectura [SWS_PER_00419].

Contexto y ámbito de responsabilidades

La clase ara::per::ReadAccessor proporciona una interfaz para la lectura sincrónica del contenido de archivos dentro de la gestión de persistencia (módulo per) y deriva virtualmente de FileAccessor. Abstrae el acceso de lectura a almacenes de datos persistidos y proporciona métodos de acceso tanto binarios como textuales. A través de funciones especializadas, las aplicaciones pueden comprobar y obtener bytes o caracteres individuales, así como leer bloques contiguos o líneas completas.

Ciclo de vida y concurrencia

El constructor predeterminado de ReadAccessor está eliminado [SWS_PER_00461]; por lo tanto, la instanciación se realiza típicamente a través de mecanismos de apertura y acceso de nivel superior del módulo de persistencia. La liberación de la interfaz y de los recursos de acceso vinculados se lleva a cabo mediante el destructor virtual ~ReadAccessor() [SWS_PER_00417]. Las instancias de ReadAccessor poseen un puntero de lectura interno que gestiona la posición actual en el archivo. Todos los métodos de la clase están especificados explícitamente como no seguros para subprocesos (not thread-safe) [SWS_PER_00419], por lo que las operaciones de lectura simultáneas sobre la misma instancia deben ser sincronizadas externamente por los llamadores.

Rutas de uso para datos binarios y de texto

Para operaciones de archivo binarias, la clase ofrece funciones de lectura con vista previa o secuencial. Con PeekByte() se puede inspeccionar el byte en la posición de lectura actual sin modificar el puntero de lectura [SWS_PER_00418]. En cambio, GetByte() lee exactamente un byte y avanza la posición [SWS_PER_00419]. Se pueden leer bloques de datos más grandes en un ara::core::Vector<ara::core::Byte> mediante ReadBinary(n), adaptándose la posición de forma correspondiente; si se alcanza el final del archivo antes de tiempo, el vector contiene menos bytes de los solicitados [SWS_PER_00422]. Mediante ReadBinary() se pueden obtener todos los bytes restantes hasta el final del archivo en un solo paso [SWS_PER_00421].

Sequenzielles Lesen von DateiinhaltenAplicaciónReadAccessorPeekByte()Result<Byte> (posición sin cambios)ReadBinary(n)Result<Vector<Byte>> (la posición avanza)ReadBinary()Result<Vector<Byte>> (Restinhalt bis Dateiende)

Diagrama de secuencia: flujo típico de un acceso de lectura secuencial con comprobación previa y procesamiento de datos por tramos. Fuentes: [SWS_PER_00418], [SWS_PER_00422], [SWS_PER_00421].

En el modo de texto, PeekChar() proporciona una vista previa basada en caracteres [SWS_PER_00167], mientras que GetChar() consume el siguiente carácter [SWS_PER_00168]. La lectura línea por línea se realiza a través de ReadLine(), que lee hasta un carácter separador (predeterminado: '\n', ASCII 0x0a); el carácter separador no se transfiere a la cadena resultante [SWS_PER_00119]. Los tramos de n caracteres o la totalidad del contenido restante pueden leerse mediante las sobrecargas de ReadText() [SWS_PER_00165], [SWS_PER_00420]. Si el puntero de lectura se encuentra en medio de un carácter multibyte, las cadenas de caracteres resultantes pueden presentar puntos de código Unicode incompletos [SWS_PER_00119], [SWS_PER_00165].

Escenarios de error y tratamiento de errores

Todas las operaciones de lectura de ReadAccessor devuelven sus valores encapsulados en un ara::core::Result y están especificadas como seguras frente a excepciones (exception safe) [SWS_PER_00419]. Si se produce un error durante un acceso, se aplica una estricta semántica de reversión: en caso de error, la posición actual del puntero de lectura permanece siempre inalterada [SWS_PER_00421], [SWS_PER_00422]. Los estados de error documentados típicos incluyen:

Esta guía se basa en la especificación AUTOSAR Adaptive R25-11 y ha sido generada automáticamente.

Mapa de miembros

Diagrama de clases

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

Vista de detalle

Selecciona una entrada en el índice.

Constructores y destructor

ReadAccessor función

The default constructor for ReadAccessor shall not be used.

ReadAccessor ()=delete;
~ReadAccessor función

Destructor for ReadAccessor.

~ReadAccessor () override noexcept;

Métodos

GetByte función

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.

ara::core::Result< ara::core::Byte > GetByte () noexcept;
GetChar función

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.

ara::core::Result< char > GetChar () noexcept;
PeekByte función

Returns the byte at the current position of the file. The current position is not changed.

ara::core::Result< ara::core::Byte > PeekByte () const noexcept;
PeekChar función

Returns the character at the current position of the file. The current position is not changed.

ara::core::Result< char > PeekChar () const noexcept;
ReadBinary función 2

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.

Sobrecargas ReadBinary 2
ReadLine función

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.

ara::core::Result< ara::core::String > ReadLine (char delimiter=’\n’) noexcept;
ReadText función 2

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.

Sobrecargas ReadText 2

Documentación de los métodos

función GetByte [SWS_PER_00419] Upstream: RS_PER_00001, RS_PER_00004, RS_AP_00119, RS_AP_00120, RS_ AP_00135, RS_AP_00139, RS_AP_00159

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"
Scopeclass ara::per::ReadAccessor
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe PerErrc::kPhysical rollback_semantics

Rückgabewert

TypBeschreibung
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

FehlercodeBeschreibung
StorageFailureReturned 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.

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

Record
AUTOSAR/AP/record/SWS_PER_00419
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00419@rel:R25-11#81d962c2
Content hash
81d962c2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00419
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:
Recorded Revisions (7):
  • R25-11rel:R25-11#0364504c2026-09-30
  • R20-11rel:R20-11#5413fe932026-10-14
  • R21-11rel:R21-11#942b773e2026-10-14
  • R22-11rel:R22-11#bd9006822026-10-14
  • R23-11rel:R23-11#a95950da2026-10-14
  • R24-11rel:R24-11#0912989a2026-10-14
  • R25-11rel:R25-11#0912989a2026-10-14 active
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

función GetChar [SWS_PER_00168] Upstream: RS_PER_00001, RS_PER_00004, RS_AP_00119, RS_AP_00120, RS_ AP_00135, RS_AP_00139, RS_AP_00159

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"
Scopeclass ara::per::ReadAccessor
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe PerErrc::kPhysical rollback_semantics

Rückgabewert

TypBeschreibung
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

FehlercodeBeschreibung
StorageFailureReturned 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.

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

Record
AUTOSAR/AP/record/SWS_PER_00168
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00168@rel:R25-11#65043935
Content hash
65043935
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00168
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:
Recorded Revisions (8):
  • R25-11rel:R25-11#3ca1a1292026-09-30
  • R19-11rel:R19-11#730eeb9f2026-10-14
  • R20-11rel:R20-11#8515a7212026-10-14
  • R21-11rel:R21-11#9651569a2026-10-14
  • R22-11rel:R22-11#cece1f3e2026-10-14
  • R23-11rel:R23-11#af3b07a02026-10-14
  • R24-11rel:R24-11#cbb2020f2026-10-14
  • R25-11rel:R25-11#0c481b902026-10-14 active
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

función PeekByte [SWS_PER_00418] Upstream: RS_PER_00001, RS_PER_00004, RS_AP_00119, RS_AP_00120, RS_ AP_00135, RS_AP_00139, RS_AP_00159

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.

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: eb387be6a3cf Procedencia Preguntas abiertas (1)
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

La función miembro síncrona PeekByte de la clase ara::per::ReadAccessor lee un único byte en la posición actual del archivo sin modificar la posición del archivo [SWS_PER_00418]. La función requiere la inclusión del encabezado ara/per/read_accessor.h, no acepta parámetros y devuelve el valor leído en un ara::core::Result<ara::core::Byte> [SWS_PER_00418].

Si se produce un error durante el acceso, el objeto de retorno contiene un código de error específico del fabricante o uno de los errores definidos de PerErrc [SWS_PER_00418]:

  • PerErrc::kEof: la posición actual se encuentra al final del archivo o el archivo está vacío.
  • PerErrc::kPhysicalStorageFailure: el acceso al almacenamiento físico ha fallado.
  • PerErrc::kValidationFailed: no se puede garantizar la validez de los datos almacenados.
  • PerErrc::kEncryptionFailed: falló el descifrado de los datos almacenados.
  • PerErrc::kAuthenticationFailed: falló la verificación del MAC (Message Authentication Code).

En cuanto a la seguridad en la ejecución, el método está declarado como noexcept y exception safe [SWS_PER_00418]. No obstante, dado que la especificación clasifica PeekByte como not thread-safe, es probable que las llamadas paralelas sobre la misma instancia de ara::per::ReadAccessor requieran sincronización en la aplicación [SWS_PER_00418]. Pregunta Q-14b3334052f6c810 (abierta)

Esta nota de uso fue generada por una IA sobre la base de la especificación AUTOSAR R25-11.

Header-Datei#include "ara/per/read_accessor.h"
Scopeclass ara::per::ReadAccessor
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe PerErrc::kPhysical rollback_semantics

Rückgabewert

TypBeschreibung
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

FehlercodeBeschreibung
StorageFailureReturned 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.

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

Record
AUTOSAR/AP/record/SWS_PER_00418
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00418@rel:R25-11#aad7a3ae
Content hash
aad7a3ae
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00418
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:
Recorded Revisions (7):
  • R25-11rel:R25-11#e281f9292026-09-30
  • R20-11rel:R20-11#4a5022882026-10-14
  • R21-11rel:R21-11#265813ae2026-10-14
  • R22-11rel:R22-11#7f25e6502026-10-14
  • R23-11rel:R23-11#413441c32026-10-14
  • R24-11rel:R24-11#3c1c4a1c2026-10-14
  • R25-11rel:R25-11#728d6d2e2026-10-14 active
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

función PeekChar [SWS_PER_00167] Upstream: RS_PER_00001, RS_PER_00004, RS_AP_00119, RS_AP_00120, RS_ AP_00135, RS_AP_00139, RS_AP_00159

ara::core::Result< char > PeekChar () const noexcept;

Returns the character at the current position of the file. The current position is not changed.

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: b4d92aee30b2 Procedencia
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

El método PeekChar de la clase ara::per::ReadAccessor (encabezado #include "ara/per/read_accessor.h") lee el carácter en la posición actual de un archivo sin modificar el puntero de lectura [SWS_PER_00167].

usar

La función posee la signatura ara::core::Result<char> PeekChar() const noexcept;. Opera de forma síncrona, está declarada como const y garantiza seguridad frente a excepciones (exception safe) [SWS_PER_00167]. Como valor de retorno sirve un ara::core::Result<char> que, en caso de éxito, contiene el carácter leído [SWS_PER_00167].

Manejo de errores

Si se produce un error, el ara::core::Result entrega errores específicos del fabricante o uno de los siguientes códigos de error de PerErrc [SWS_PER_00167]:

  • PerErrc::kEof: la posición de lectura actual ha alcanzado el final del archivo o el archivo está vacío [SWS_PER_00167].
  • PerErrc::kPhysicalStorageFailure: ha fallado el acceso al medio de almacenamiento físico [SWS_PER_00167].
  • PerErrc::kValidationFailed: no se puede garantizar la validez de los datos almacenados [SWS_PER_00167].
  • PerErrc::kEncryptionFailed: El descifrado de los datos almacenados ha fallado [SWS_PER_00167].
  • PerErrc::kAuthenticationFailed: falló la verificación del código de autenticación de mensajes (MAC) de los datos [SWS_PER_00167].

Concurrencia y restricciones

La operación no es segura para subprocesos (not thread-safe) [SWS_PER_00167]. Por lo tanto, los accesos paralelos a la misma instancia de ReadAccessor deben sincronizarse por parte del llamador.

Esta nota de uso se basa en la especificación AUTOSAR Adaptive Release R25-11.

Header-Datei#include "ara/per/read_accessor.h"
Scopeclass ara::per::ReadAccessor
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe PerErrc::kPhysical rollback_semantics

Rückgabewert

TypBeschreibung
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

FehlercodeBeschreibung
StorageFailureReturned 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.

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

Record
AUTOSAR/AP/record/SWS_PER_00167
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00167@rel:R25-11#0df6aa05
Content hash
0df6aa05
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00167
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:
Recorded Revisions (8):
  • R25-11rel:R25-11#4e561ee32026-09-30
  • R19-11rel:R19-11#a681f46f2026-10-14
  • R20-11rel:R20-11#484d8e7f2026-10-14
  • R21-11rel:R21-11#9ba26bcc2026-10-14
  • R22-11rel:R22-11#adc94cd82026-10-14
  • R23-11rel:R23-11#5efe621b2026-10-14
  • R24-11rel:R24-11#0012349e2026-10-14
  • R25-11rel:R25-11#0012349e2026-10-14 active
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

función ReadAccessor [SWS_PER_00461] Upstream: RS_PER_00004, RS_AP_00120, RS_AP_00129, RS_AP_00146

ReadAccessor ()=delete;

The default constructor for ReadAccessor shall not be used.

Header-Datei#include "ara/per/read_accessor.h"
Scopeclass ara::per::ReadAccessor

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

Record
AUTOSAR/AP/record/SWS_PER_00461
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00461@rel:R25-11#bf0b2dc6
Content hash
bf0b2dc6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00461
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:
Recorded Revisions (6):
  • R25-11rel:R25-11#030094252026-09-30
  • R21-11rel:R21-11#ebfad02e2026-10-14
  • R22-11rel:R22-11#2e0765fe2026-10-14
  • R23-11rel:R23-11#ab252e082026-10-14
  • R24-11rel:R24-11#036da8e22026-10-14
  • R25-11rel:R25-11#036da8e22026-10-14 active
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

función ReadBinary [SWS_PER_00421] Upstream: RS_PER_00001, RS_PER_00004, RS_AP_00119, RS_AP_00120, RS_ AP_00121, RS_AP_00127, RS_AP_00135, RS_AP_00139, RS_AP_00159

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.

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 325f0e841208 Procedencia Preguntas abiertas (1)
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

El método sin parámetros ReadBinary de la clase ara::per::ReadAccessor lee de forma síncrona todos los bytes restantes a partir de la posición actual del archivo hasta el final del archivo en un ara::core::Vector<ara::core::Byte> [SWS_PER_00421]. Tras una operación de lectura satisfactoria, la posición actual del archivo se sitúa al final del archivo [SWS_PER_00421]. El valor de retorno está encapsulado como ara::core::Result y declarado como noexcept; interpretación: al no existir un tipo de retorno asíncrono, cabe suponer que el método bloquea al llamante. Pregunta Q-8e6054123cea57ac (abierta)

Si se produce un error durante la lectura, la posición original del archivo se mantiene inalterada [SWS_PER_00421]. En este caso, el ara::core::Result devuelto contiene errores específicos del fabricante o bien uno de los códigos de error específicos de PerErrc [SWS_PER_00421]:

  • PerErrc::kPhysicalStorageFailure: El acceso al almacenamiento físico falla [SWS_PER_00421].
  • PerErrc::kValidationFailed: No se puede garantizar la validez de los datos almacenados [SWS_PER_00421].
  • PerErrc::kEncryptionFailed: El descifrado de los datos falla [SWS_PER_00421].
  • PerErrc::kAuthenticationFailed: La verificación del MAC falla [SWS_PER_00421].
  • PerErrc::kEof: El archivo está vacío o la posición de lectura ya se encuentra al final del archivo [SWS_PER_00421].

La función está definida como segura frente a excepciones (exception safe), pero expresamente como no segura para hilos (not thread-safe) [SWS_PER_00421]. Por lo tanto, las llamadas concurrentes sobre el mismo ReadAccessor deben ser coordinadas por el llamante. En caso de que no se deba leer todo el contenido restante del archivo de una vez, sino solo un subconjunto de bytes, debe utilizarse en su lugar la variante sobrecargada ReadBinary(std::uint64_t n) [SWS_PER_00422].

Este texto ha sido elaborado por una IA. Todos los datos se basan en los requisitos de la especificación de AUTOSAR.

Guía del implementador pendiente (complejidad I1)

Header-Datei#include "ara/per/read_accessor.h"
Scopeclass ara::per::ReadAccessor
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe PerErrc::kPhysical rollback_semantics

Rückgabewert

TypBeschreibung
ara::core::Result<ara::core::Vector<ara::core::Byte > >A Result containing a Vector of Byte. In case of an error, it contains any of the errors defined below, or a vendor specific error.

Fehler

FehlercodeBeschreibung
StorageFailureReturned 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.

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

Record
AUTOSAR/AP/record/SWS_PER_00421
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00421@rel:R25-11#b570a724
Content hash
b570a724
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00421
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:
Recorded Revisions (7):
  • R25-11rel:R25-11#eeeb41ef2026-09-30
  • R20-11rel:R20-11#8500f2512026-10-14
  • R21-11rel:R21-11#bdd2c0352026-10-14
  • R22-11rel:R22-11#573348522026-10-14
  • R23-11rel:R23-11#1941de772026-10-14
  • R24-11rel:R24-11#8e7d483b2026-10-14
  • R25-11rel:R25-11#196469d12026-10-14 active
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

función ReadBinary [SWS_PER_00422] Upstream: RS_PER_00001, RS_PER_00004, RS_AP_00119, RS_AP_00120, RS_ AP_00121, RS_AP_00127, RS_AP_00135, RS_AP_00139, RS_AP_00159

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.

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 4e14906b2550 Procedencia
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

La función ReadBinary de la clase ara::per::ReadAccessor lee partiendo de la posición actual del archivo hasta n bytes de forma síncrona en un ara::core::Vector<ara::core::Byte> [SWS_PER_00422]. En caso de una operación de lectura satisfactoria, la posición actual del archivo avanza según el número de bytes leídos; si con ello se alcanza el final del archivo, el vector devuelto puede contener menos de n bytes y la posición del archivo permanece en el final del archivo [SWS_PER_00422].

Si se produce un error durante la operación de lectura, la posición del archivo no se modifica [SWS_PER_00422]. El tratamiento de errores se efectúa a través del ara::core::Result devuelto, el cual puede contener códigos de error específicos de PerErrc o errores específicos del fabricante [SWS_PER_00422]:

  • PerErrc::kPhysicalStorageFailure: El acceso al almacenamiento físico falla [SWS_PER_00422].
  • PerErrc::kValidationFailed: No se puede asegurar la validación de los datos almacenados [SWS_PER_00422].
  • PerErrc::kEncryptionFailed: El descifrado de los datos almacenados falla [SWS_PER_00422].
  • PerErrc::kEof: La posición actual ya se encuentra al final del archivo o el archivo está vacío [SWS_PER_00422].
  • PerErrc::kAuthenticationFailed: La comprobación del MAC (Message Authentication Code) de los datos falla [SWS_PER_00422].

En cuanto a la concurrencia, el método está especificado como not thread-safe, razón por la cual los accesos paralelos al mismo descriptor de acceso deben sincronizarse por parte de la aplicación; no obstante, está declarado como exception safe y anotado con noexcept [SWS_PER_00422]. A diferencia de la sobrecarga sin parámetros [SWS_PER_00421], que lee siempre todos los bytes restantes hasta el final del archivo, esta variante permite la lectura gradual de tamaños de bloque definidos.

Este texto ha sido generado por una IA y sirve como apoyo para la curación.

Guía del implementador pendiente (complejidad I1)

Header-Datei#include "ara/per/read_accessor.h"
Scopeclass ara::per::ReadAccessor
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe PerErrc::kPhysical rollback_semantics

Parameter (in)

ParameterBeschreibung
nNumber of bytes to read.

Rückgabewert

TypBeschreibung
ara::core::Result<ara::core::Vector<ara::core::Byte > >A Result containing a Vector of Byte. In case of an error, it contains any of the errors defined below, or a vendor specific error.

Fehler

FehlercodeBeschreibung
StorageFailureReturned 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.

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

Record
AUTOSAR/AP/record/SWS_PER_00422
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00422@rel:R25-11#94697209
Content hash
94697209
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00422
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:
Recorded Revisions (7):
  • R25-11rel:R25-11#0c9042422026-09-30
  • R20-11rel:R20-11#fc873a932026-10-14
  • R21-11rel:R21-11#77fe785f2026-10-14
  • R22-11rel:R22-11#979493562026-10-14
  • R23-11rel:R23-11#1177696c2026-10-14
  • R24-11rel:R24-11#1d2549ee2026-10-14
  • R25-11rel:R25-11#6130fc462026-10-14 active
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

función ReadLine [SWS_PER_00119] Upstream: RS_PER_00001, RS_PER_00004, RS_AP_00119, RS_AP_00120, RS_ AP_00121, RS_AP_00127, RS_AP_00129, RS_AP_00135, RS_AP_00136, RS_AP_00139, RS_AP_00159

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.

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 30f46bde066b Procedencia Preguntas abiertas (1)
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

usar

El método síncrono ReadLine de la clase ara::per::ReadAccessor lee una línea completa hasta un delimitador definido en una ara::core::String y avanza la posición de lectura según corresponda [SWS_PER_00119]. Por defecto, \n (ASCII 0x0a) actúa como delimitador; como delimiter solo son admisibles puntos de código Unicode que consten de una única unidad de código [SWS_PER_00119]. El delimitador en sí no se incluye en la cadena de resultado. Si la operación de lectura alcanza el final del archivo, se devuelven todos los caracteres restantes hasta ese punto y la posición se establece en el final del archivo [SWS_PER_00119].

Manejo de errores

La función devuelve un ara::core::Result<ara::core::String> [SWS_PER_00119]. Si se produce un error, la posición actual no se modifica [SWS_PER_00119]. Entre los errores especificados se incluyen:

  • PerErrc::kEof: la posición actual de lectura se encuentra al final del archivo o el archivo está vacío [SWS_PER_00119].
  • StorageFailure: falla el acceso al almacenamiento físico [SWS_PER_00119].
  • PerErrc::kValidationFailed: No se puede garantizar la validez de los datos almacenados [SWS_PER_00119].
  • PerErrc::kEncryptionFailed: El descifrado de los datos falla [SWS_PER_00119].
  • PerErrc::kAuthenticationFailed: falla la verificación del código de autenticación de mensajes (MAC) [SWS_PER_00119].

Concurrencia y condiciones de contorno

El método está declarado como noexcept y es seguro frente a excepciones («exception safe»), pero explícitamente no es seguro para subprocesos («not thread-safe») [SWS_PER_00119]. Interpretación: En caso de llamadas concurrentes sobre la misma instancia de ReadAccessor, previsiblemente se requerirá una sincronización externa. Pregunta Q-307b6e250938c76b (abierta) Si la posición de lectura actual se encuentra en medio de un punto de código Unicode multiparte, la cadena devuelta puede comenzar con un punto de código incompleto [SWS_PER_00119].

Este texto fue creado por una IA y se basa en la especificación AUTOSAR.

Guía del implementador pendiente (complejidad I1)

Header-Datei#include "ara/per/read_accessor.h"
Scopeclass ara::per::ReadAccessor
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe PerErrc::kPhysical rollback_semantics

Parameter (in)

ParameterBeschreibung
delimiterThe character that is used as delimiter.

Rückgabewert

TypBeschreibung
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

FehlercodeBeschreibung
StorageFailureReturned 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.

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

Record
AUTOSAR/AP/record/SWS_PER_00119
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00119@rel:R25-11#2d027d69
Content hash
2d027d69
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00119
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:
Recorded Revisions (8):
  • R25-11rel:R25-11#07ef27932026-09-30
  • R19-11rel:R19-11#d9c1707c2026-10-14
  • R20-11rel:R20-11#869afee72026-10-14
  • R21-11rel:R21-11#4e378ab62026-10-14
  • R22-11rel:R22-11#b00875a42026-10-14
  • R23-11rel:R23-11#50b708c12026-10-14
  • R24-11rel:R24-11#156cbc312026-10-14
  • R25-11rel:R25-11#65a539782026-10-14 active
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

función ReadText [SWS_PER_00165] Upstream: RS_PER_00001, RS_PER_00004, RS_AP_00119, RS_AP_00120, RS_ AP_00121, RS_AP_00127, RS_AP_00135, RS_AP_00136, RS_AP_00139, RS_AP_00159

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.

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 042205956a20 Procedencia
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

La función miembro síncrona ReadText de la clase ara::per::ReadAccessor lee a partir de la posición actual del archivo hasta n caracteres en un ara::core::String [SWS_PER_00165]. La inclusión se realiza mediante la cabecera #include "ara/per/read_accessor.h" [SWS_PER_00165].

Uso y semántica

El método se invoca con el parámetro std::uint64_t n y devuelve un ara::core::Result<ara::core::String> [SWS_PER_00165]. En caso de una operación de lectura satisfactoria, la posición de lectura actual avanza según la cantidad de caracteres leídos [SWS_PER_00165]. Si la operación de lectura alcanza el final del archivo, la cantidad de caracteres devueltos puede ser menor que el n solicitado; en este proceso, la posición del archivo se sitúa al final del archivo [SWS_PER_00165]. Si la posición de lectura actual o el último carácter leído (unidad de código) se encuentra en medio de un punto de código Unicode, la cadena devuelta puede comenzar o finalizar con puntos de código incompletos [SWS_PER_00165].

Tratamiento de errores y condiciones límite

En caso de error, la posición del archivo permanece inalterada [SWS_PER_00165]. El ara::core::Result devuelto puede contener errores específicos del fabricante o los siguientes códigos de error [SWS_PER_00165]:

  • PerErrc::kPhysicalStorageFailure: El acceso al almacenamiento físico ha fallado [SWS_PER_00165].
  • PerErrc::kValidationFailed: No se puede garantizar la validez de los datos almacenados [SWS_PER_00165].
  • PerErrc::kEncryptionFailed: El descifrado de los datos almacenados ha fallado [SWS_PER_00165].
  • PerErrc::kEof: La posición actual ya se encuentra al final del archivo o el archivo está vacío [SWS_PER_00165].
  • PerErrc::kAuthenticationFailed: La comprobación MAC de los datos ha fallado [SWS_PER_00165].

En cuanto a la concurrencia, la función está declarada como segura frente a excepciones (exception safe), pero expresamente como no segura para hilos (not thread-safe) [SWS_PER_00165]. Por consiguiente, las llamadas paralelas sobre la misma instancia deben sincronizarse.

Interacción

Además de la sobrecarga con limitación de longitud, existe una variante sin parámetros ReadText() [SWS_PER_00420], la cual lee todos los caracteres restantes a partir de la posición actual hasta el final del archivo.

Este texto ha sido creado y supervisado por una IA. Todos los datos se fundamentan en la especificación del release R25-11 de AUTOSAR.

Guía del implementador pendiente (complejidad I1)

Header-Datei#include "ara/per/read_accessor.h"
Scopeclass ara::per::ReadAccessor
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe PerErrc::kPhysical rollback_semantics

Parameter (in)

ParameterBeschreibung
nNumber of characters to read.

Rückgabewert

TypBeschreibung
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

FehlercodeBeschreibung
StorageFailureReturned 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.

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

Record
AUTOSAR/AP/record/SWS_PER_00165
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00165@rel:R25-11#29434e25
Content hash
29434e25
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00165
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:
Recorded Revisions (8):
  • R25-11rel:R25-11#cc14eec62026-09-30
  • R19-11rel:R19-11#6ae823952026-10-14
  • R20-11rel:R20-11#45ea0c7d2026-10-14
  • R21-11rel:R21-11#659479ab2026-10-14
  • R22-11rel:R22-11#231d4b352026-10-14
  • R23-11rel:R23-11#7498db7f2026-10-14
  • R24-11rel:R24-11#9c84dfee2026-10-14
  • R25-11rel:R25-11#2aa15da42026-10-14 active
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

función ReadText [SWS_PER_00420] Upstream: RS_PER_00001, RS_PER_00004, RS_AP_00119, RS_AP_00120, RS_ AP_00121, RS_AP_00127, RS_AP_00135, RS_AP_00136, RS_AP_00139, RS_AP_00159

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.

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: d5efea9a0341 Procedencia
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

El método síncrono ReadText de la clase ara::per::ReadAccessor lee todos los caracteres restantes a partir de la posición actual del archivo en un ara::core::String [SWS_PER_00420]. La función no espera parámetros y, tras una lectura satisfactoria, sitúa la posición actual al final del archivo [SWS_PER_00420]. Si la posición de lectura se encuentra en medio de un punto de código Unicode, la cadena devuelta puede comenzar con un punto de código incompleto [SWS_PER_00420].

El valor de retorno es un ara::core::Result<ara::core::String> [SWS_PER_00420]. Si se produce un error, la posición del archivo permanece inalterada (semántica de reversión) y el resultado contiene un error específico del fabricante o bien un código de error de PerErrc [SWS_PER_00420]:

  • PerErrc::kEof: La posición actual ya se encuentra al final del archivo o el archivo está vacío [SWS_PER_00420].
  • PerErrc::kPhysicalStorageFailure: El acceso a la memoria física falla [SWS_PER_00420].
  • PerErrc::kValidationFailed: No se puede garantizar la validez de los datos almacenados [SWS_PER_00420].
  • PerErrc::kEncryptionFailed: El descifrado de los datos almacenados falla [SWS_PER_00420].
  • PerErrc::kAuthenticationFailed: La comprobación del Message Authentication Code (MAC) falla [SWS_PER_00420].

En lo que respecta a la concurrencia, ReadText está especificado como seguro frente a excepciones (exception safe) y declarado con noexcept, pero catalogado explícitamente como no seguro para hilos [SWS_PER_00420].

En combinación con la sobrecarga relacionada ReadText(std::uint64_t n), que lee como máximo n caracteres y hace avanzar la posición en consonancia [SWS_PER_00165], la variante sin parámetros sirve para la lectura completa de todo el contenido restante hasta el final del archivo [SWS_PER_00420].

Esta nota de uso ha sido generada automáticamente a partir de la especificación de AUTOSAR R25-11.

Guía del implementador pendiente (complejidad I1)

Header-Datei#include "ara/per/read_accessor.h"
Scopeclass ara::per::ReadAccessor
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Rückgabewert

TypBeschreibung
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

FehlercodeBeschreibung
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.

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

Record
AUTOSAR/AP/record/SWS_PER_00420
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00420@rel:R25-11#099a9310
Content hash
099a9310
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00420
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:
Recorded Revisions (7):
  • R25-11rel:R25-11#eae1d52e2026-09-30
  • R20-11rel:R20-11#964160082026-10-14
  • R21-11rel:R21-11#87d5efdd2026-10-14
  • R22-11rel:R22-11#cb3fbb062026-10-14
  • R23-11rel:R23-11#0a34e0562026-10-14
  • R24-11rel:R24-11#6089d3262026-10-14
  • R25-11rel:R25-11#61b98c9e2026-10-14 active
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

función ~ReadAccessor [SWS_PER_00417] Upstream: RS_PER_00004, RS_AP_00120, RS_AP_00129, RS_AP_00134, RS_AP_00145, RS_AP_00159

~ReadAccessor () override noexcept;

Destructor for ReadAccessor.

Header-Datei#include "ara/per/read_accessor.h"
Scopeclass ara::per::ReadAccessor
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

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

Record
AUTOSAR/AP/record/SWS_PER_00417
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00417@rel:R25-11#6d4c3923
Content hash
6d4c3923
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00417
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:
Recorded Revisions (7):
  • R25-11rel:R25-11#bf28177b2026-09-30
  • R20-11rel:R20-11#ef16863c2026-10-14
  • R21-11rel:R21-11#d902da112026-10-14
  • R22-11rel:R22-11#303367742026-10-14
  • R23-11rel:R23-11#1f8e44f12026-10-14
  • R24-11rel:R24-11#2707c6492026-10-14
  • R25-11rel:R25-11#bb549d8d2026-10-14 active
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