DEENESPTFRRUARHIKOZHNL

فئة ara::per::FileAccessor

[SWS_PER_00588] Upstream: RS_PER_00004, RS_AP_00122, RS_AP_00146

class FileAccessor {...};

FileAccessor contains a common basis for ReadAccessor and WriteAccessor. It provides methods for checking and setting the current position in the file (GetPosition, Set Position, MovePosition, IsEof) and for checking the current size of the file (GetSize).

Header-Datei#include "ara/per/file_accessor.h"
Forwarding-Header#include "ara/per/per_fwd.h"
Scopenamespace ara::per

دليل المستخدممولَّد بالذكاء الاصطناعي

تُستخدم كفئة أساسية مشتركة للاستعلام عن حجم الملفات والتنقل بين المواضع لعمليات الوصول المخصصة إلى الملفات.
مُولَّد بالذكاء الاصطناعي غير مُراجَع النموذج: gemini-3.8-flash-medium · الجهد: medium · درجة الحرارة: غير قابل للتحكم · الموجّه: e1768b56d42c المصدر أسئلة مفتوحة (2)
مترجم من الدليل الألمانيgemini-3.8-flash-low · 2026-10-13 · الأصل الألماني

تُستخدم كفئة أساسية مشتركة للاستعلام عن حجم الملفات والتنقل بين المواضع لعمليات الوصول المخصصة إلى الملفات.

تُستخدم الفئة ara::per::FileAccessor في وحدة استدامة AUTOSAR كفئة أساسية مشتركة للتنقل بين المواضع والتحقق من حجم عمليات الوصول المرتبة إلى الملفات ([SWS_PER_00424]). وهي تمنع إنشاء النسخ المباشر بالإضافة إلى عمليات النسخ عبر منشئات محذوفة ([SWS_PER_00589]). وعند تحديد مواضع غير صالحة، تُطبَّق دلالات التراجع (Rollback) التي تحمي موضع المؤشر الحالي. جميع العمليات آمنة من الاستثناءات، ولكنها تتطلب مزامنة خارجية عند الاستخدام المتزامن.

السياق

تُستخدم الفئة ara::per::FileAccessor في وحدة الاستدامة (ara::per) لـ AUTOSAR Adaptive Platform كفئة أساسية مجردة مشتركة لكائنات الوصول إلى الملفات مثل ReadAccessor وWriteAccessor. وتتمثل مسؤوليتها المركزية في توفير واجهة موحدة لإدارة المواضع والتحقق من الحجم المتعلق بالملفات. تعمل الفئة كجهة تحكم لمؤشر القراءة والكتابة داخل ملف مفتوح، ولكنها لا تحتوي في حد ذاتها على دوال لنقل البيانات الفعلي (مثل قراءة أو كتابة البايتات). ويتم التنقل إما بشكل مطلق بدءًا من بداية الملف أو نسبيًا بالاستناد إلى نقاط مرجعية محددة.

دورة الحياة

لا يمكن إنشاء نسخة من الفئة ara::per::FileAccessor مباشرة أو نسخها بحرية. تم حذف المنشئ الافتراضي ([SWS_PER_00589])، وكذلك منشئ النسخ ([SWS_PER_00592]) ومُعامل تعيين النسخ ([SWS_PER_00593]). كما تم منع دلالات النقل صراحةً: تم حذف كل من منشئ النقل ([SWS_PER_00590]) ومُعامل تعيين النقل ([SWS_PER_00591]). وينتج عن ذلك التفسير القائل بأنه يتم إنشاء النسخ وإدارتها حصرًا في سياق فئات فرعية ملموسة.

يضمن مدمّر الكائن الافتراضي ~FileAccessor() ([SWS_PER_00594]) تحريرًا آمنًا، مما يتيح إتلافًا متعدد الأشكال عبر مؤشرات الفئة الأساسية. فيما يتعلق بالتزامن، تم تحديد جميع الدوال الأعضاء صراحةً على أنها غير آمنة ترابطيًا ([SWS_PER_00162]، [SWS_PER_00424]، [SWS_PER_00107]، [SWS_PER_00163]، [SWS_PER_00164]). وبالتالي، يجب مزامنة عمليات الوصول المتزامنة من خيوط معالجة مختلفة إلى النسخة ذاتها بواسطة التطبيق.

مسار الاستخدام

يتضمن الاستخدام النموذجي لـ FileAccessor الاستعلام عن حجم الملف، وتحديد الموضع الحالي، بالإضافة إلى إزاحة المواضع بصورة موجهة تمهيدًا لعمليات القراءة أو الكتابة:

  • الاستعلام عن الحجم: يتم تحديد حجم الملف الحالي بالبايت عبر GetSize() ([SWS_PER_00424]).
  • الاستعلام عن الموضع: يستعلم التطبيق باستخدام GetPosition() عن إزاحة البايت الحالية بدءًا من بداية الملف، والتي يمكن أن تقع أيضًا عند نهاية الملف تمامًا ([SWS_PER_00162]).
  • تحديد الموضع المطلق: يضبط SetPosition() المؤشر على إزاحة مطلقة بدءًا من بداية الملف ([SWS_PER_00163]).
  • الإزاحة النسبية: يقوم MovePosition() بإزاحة المؤشر انطلاقًا من Origin::kBeginning، أو Origin::kCurrent، أو Origin::kEnd بمقدار إزاحة ذات إشارة ([SWS_PER_00164]).
  • فحص نهاية الملف: تشير الدالة IsEof() إلى ما إذا كان الموضع الحالي قد بلغ نهاية الملف ([SWS_PER_00107]).
التنقل والاستعلام عن موضع الملفالتطبيقFileAccessorGetSize()حجم الملف (بالبايت)SetPosition(position)altposition <= حجم الملفResult<void> (Erfolg)position > حجم الملفResult مع PerErrc::kInvalidPositionMovePosition(Origin::kCurrent, offset)Result<uint64_t> (neue Position)IsEof()bool (EOF-Status)

مخطط التسلسل: التسلسل النموذجي لعمليات الاستعلام عن المواضع وخطوات التنقل بما في ذلك فحص الأخطاء. المصادر: [SWS_PER_00424]، [SWS_PER_00162]، [SWS_PER_00163]، [SWS_PER_00164]، [SWS_PER_00107]

سيناريوهات الأخطاء

تم التصريح عن جميع عمليات FileAccessor بأنها آمنة من الاستثناءات (noexcept). ويتم إرجاع حالات الخطأ المحتملة في استدعاءات التنقل عبر ara::core::Result:

إذا حاول أحد التطبيقات عبر SetPosition() التوجه إلى موضع يتجاوز نهاية الملف، يفشل الاستدعاء مع رمز الخطأ PerErrc::kInvalidPosition ([SWS_PER_00163]). وينطبق الأمر نفسه على MovePosition() إذا كان موضع الهدف المحسوب سالبًا أو يقع بعد نهاية الملف ([SWS_PER_00164]). وتُفرض دلالات تراجع صارمة بشكل إلزامي على كلتا الدالتين: في حال حدوث خطأ، يظل الموضع الصالح سابقًا للملف محفوظًا دون تغيير ([SWS_PER_00163]، [SWS_PER_00164]).

تُرجع الدوال الاستعلامية GetSize() ([SWS_PER_00424]) وGetPosition() ([SWS_PER_00162]) وIsEof() ([SWS_PER_00107]) أنواع بيانات أساسية مباشرةً ولا تولد رموز خطأ محددة.

تمت كتابة هذا النص بواسطة ذكاء اصطناعي استنادًا إلى مواصفات AUTOSAR R25-11. وهو يكمل الوثائق المعيارية بصورة شاملة عن تجريد التنقل.

خريطة الأعضاء

المُنشئات والمُتلف

2

المعاملات

1

مخطط الفئة

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

G nara__per__FileAccessor932 FileAccessor + FileAccessor() + operator=() + ~FileAccessor() + GetPosition() + GetSize() + IsEof() + MovePosition() + SetPosition() nara__per__ReadAccessor956 ReadAccessor nara__per__ReadAccessor956->nara__per__FileAccessor932 nara__per__WriteAccessor940 WriteAccessor nara__per__WriteAccessor940->nara__per__FileAccessor932

عرض التفاصيل

اختر عنصرًا من المخطط.

المُنشئات والمُتلف

FileAccessor دالة 3

The default constructor for FileAccessor shall not be used.

التحميلات الزائدة FileAccessor 3
FileAccessor ()=delete; SWS_PER_00589
FileAccessor (FileAccessor &&ra)=delete; SWS_PER_00590
FileAccessor (const FileAccessor &)=delete; SWS_PER_00592
~FileAccessor دالة

Destructor for FileAccessor.

virtual ~FileAccessor () noexcept;

الدوال الأعضاء

GetPosition دالة

Returns the current position relative to the beginning of the file. The returned position may be at the end of the file.

std::uint64_t GetPosition () const noexcept;
GetSize دالة

Returns the current size of a file in bytes.

std::uint64_t GetSize () const noexcept;
IsEof دالة

Checks if the current position is at end of file.

bool IsEof () const noexcept;
MovePosition دالة

Moves the current position in the file relative to the Origin. In case of an error, the current position is not changed.

ara::core::Result< std::uint64_t > MovePosition (Origin origin, std::int64_t offset) noexcept;
SetPosition دالة

Sets the current position relative to the beginning of the file. In case of an error, the current position is not changed.

ara::core::Result< void > SetPosition (std::uint64_t position) noexcept;

المعاملات

operator= دالة 2

The move assignment operator for FileAccessor shall not be used.

التحميلات الزائدة = 2
FileAccessor & operator= (FileAccessor &&ra)=delete; SWS_PER_00591
FileAccessor & operator= (const FileAccessor &)=delete; SWS_PER_00593

توثيق الدوال

دالة FileAccessor [SWS_PER_00589] Upstream: RS_PER_00004, RS_AP_00120, RS_AP_00129, RS_AP_00146

FileAccessor ()=delete;

The default constructor for FileAccessor shall not be used.

Header-Datei#include "ara/per/file_accessor.h"
Scopeclass ara::per::FileAccessor

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

Record
AUTOSAR/AP/record/SWS_PER_00589
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00589@rel:R25-11#63a01bd8
Content hash
63a01bd8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00589
Status: valid/unmigrated Version: rel:R25-11#f2d5e1fc 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_PER_00589@rel:R25-11#f2d5e1fc
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

دالة FileAccessor [SWS_PER_00590] Upstream: RS_PER_00004, RS_AP_00120, RS_AP_00121, RS_AP_00129, RS_AP_00145, RS_AP_00159

FileAccessor (FileAccessor &&ra)=delete;

The move constructor for FileAccessor shall not be used.

Header-Datei#include "ara/per/file_accessor.h"
Scopeclass ara::per::FileAccessor

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

Record
AUTOSAR/AP/record/SWS_PER_00590
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00590@rel:R25-11#bbbf658e
Content hash
bbbf658e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00590
Status: valid/unmigrated Version: rel:R25-11#08b3d49a 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_PER_00590@rel:R25-11#08b3d49a
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

دالة FileAccessor [SWS_PER_00592] Upstream: RS_PER_00004, RS_AP_00120, RS_AP_00145

FileAccessor (const FileAccessor &)=delete;

The copy constructor for FileAccessor shall not be used.

Header-Datei#include "ara/per/file_accessor.h"
Scopeclass ara::per::FileAccessor

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

Record
AUTOSAR/AP/record/SWS_PER_00592
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00592@rel:R25-11#9ab5f4b7
Content hash
9ab5f4b7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00592
Status: valid/unmigrated Version: rel:R25-11#d27604ed 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_PER_00592@rel:R25-11#d27604ed
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

دالة GetPosition [SWS_PER_00162] Upstream: RS_PER_00001, RS_PER_00004, RS_AP_00119, RS_AP_00120, RS_ AP_00159

std::uint64_t GetPosition () const noexcept;

Returns the current position relative to the beginning of the file. The returned position may be at the end of the file.

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

Rückgabewert

TypBeschreibung
std::uint64_tThe current position in the file in bytes from the beginning of the file.

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

Record
AUTOSAR/AP/record/SWS_PER_00162
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00162@rel:R25-11#89f0ec03
Content hash
89f0ec03
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00162
Status: valid/unmigrated Version: rel:R25-11#f20dc3e3 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_00162@rel:R25-11#f20dc3e3
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#416e7a9c2026-09-30
  • R19-11rel:R19-11#ae38b90b2026-10-14
  • R20-11rel:R20-11#a53d148f2026-10-14
  • R21-11rel:R21-11#b0fecce62026-10-14
  • R22-11rel:R22-11#0f4d44d22026-10-14
  • R23-11rel:R23-11#912ecabe2026-10-14
  • R24-11rel:R24-11#eb8d26992026-10-14
  • R25-11rel:R25-11#f20dc3e32026-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

دالة GetSize [SWS_PER_00424] Upstream: RS_PER_00017, RS_AP_00119, RS_AP_00120, RS_AP_00121, RS_AP_00127, RS_AP_00128, RS_AP_00129, RS_AP_00159

std::uint64_t GetSize () const noexcept;

Returns the current size of a file in bytes.

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

Rückgabewert

TypBeschreibung
std::uint64_tThe current size of the file in bytes.

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

Record
AUTOSAR/AP/record/SWS_PER_00424
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00424@rel:R25-11#d83e63c7
Content hash
d83e63c7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00424
Status: valid/unmigrated Version: rel:R25-11#0403ec61 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_00424@rel:R25-11#0403ec61
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#212e3e742026-09-30
  • R20-11rel:R20-11#4d8b55b62026-10-14
  • R21-11rel:R21-11#ea1c0d632026-10-14
  • R22-11rel:R22-11#20de23fe2026-10-14
  • R23-11rel:R23-11#ef0c633f2026-10-14
  • R24-11rel:R24-11#5d07b21d2026-10-14
  • R25-11rel:R25-11#0403ec612026-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

دالة IsEof [SWS_PER_00107] Upstream: RS_PER_00001, RS_PER_00004, RS_AP_00119, RS_AP_00120, RS_ AP_00159

bool IsEof () const noexcept;

Checks if the current position is at end of file.

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

Rückgabewert

TypBeschreibung
boolTrue if the current position is at the end of the file, false otherwise.

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

Record
AUTOSAR/AP/record/SWS_PER_00107
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00107@rel:R25-11#7b703648
Content hash
7b703648
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00107
Status: valid/unmigrated Version: rel:R25-11#1ea53dae 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_00107@rel:R25-11#1ea53dae
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#a72969de2026-09-30
  • R19-11rel:R19-11#a79d80012026-10-14
  • R20-11rel:R20-11#6fb143982026-10-14
  • R21-11rel:R21-11#6fb143982026-10-14
  • R22-11rel:R22-11#a37547212026-10-14
  • R23-11rel:R23-11#a3e1b2842026-10-14
  • R24-11rel:R24-11#b7d2c0c02026-10-14
  • R25-11rel:R25-11#1ea53dae2026-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

دالة MovePosition [SWS_PER_00164] Upstream: RS_PER_00001, RS_PER_00004, RS_AP_00119, RS_AP_00120, RS_ AP_00121, RS_AP_00135, RS_AP_00139, RS_AP_00159

ara::core::Result< std::uint64_t > MovePosition (Origin origin, std::int64_t offset) noexcept;

Moves the current position in the file relative to the Origin. In case of an error, the current position is not changed.

مُولَّد بالذكاء الاصطناعي غير مُراجَع النموذج: gemini-3.8-flash-medium · الجهد: medium · درجة الحرارة: غير قابل للتحكم · الموجّه: 436bd0736ae4 المصدر
مترجم من الدليل الألمانيgemini-3.8-flash-low · 2026-10-13 · الأصل الألماني

الاستخدام

تقوم الدالة المتزامنة MovePosition للفئة ara::per::FileAccessor بإزاحة موضع الملف الحالي بالنسبة إلى نقطة مرجعية محددة [SWS_PER_00164]. تم التصريح عن الدالة كـ noexcept [SWS_PER_00164]. وتأخذ كمعلمات نقطة البداية origin من النوع Origin بالإضافة إلى إزاحة البايت ذات الإشارة offset [SWS_PER_00164]. عند التنفيذ الناجح، تُرجع الدالة ara::core::Result يحتوي على موضع البايت المطلق الناتج بدءاً من بداية الملف [SWS_PER_00164].

التفاعل وقيم المعلمات

يتم تحديد النقطة المرجعية origin بواسطة التعداد Origin [SWS_PER_00146]:

  • Origin::kBeginning: الإزاحة بدءاً من بداية الملف؛ يمكن أن يكون offset هنا موجباً [SWS_PER_00164]، [SWS_PER_00146].
  • Origin::kCurrent: الإزاحة بدءاً من موضع الملف الحالي؛ يجوز أن يكون offset موجباً أو سالباً، مع العلم أن القيمة صفر لا تغير الموضع [SWS_PER_00164]، [SWS_PER_00146].
  • Origin::kEnd: الإزاحة بالنسبة إلى نهاية الملف؛ يجوز أن يكون offset سالباً، في حين أن الإزاحة بقيمة صفر تضبط الموضع تماماً عند نهاية الملف [SWS_PER_00164]، [SWS_PER_00146].

معالجة الأخطاء

في حالة حدوث خطأ، لا يتم تغيير موضع الملف السابق بفضل دلالات التراجع [SWS_PER_00164]. وإذا أسفرت النقطة المستهدفة المحسوبة عن قيمة أصغر من الصفر أو وقعت بعد نهاية الملف، يتم إرجاع رمز الخطأ PerErrc::kInvalidPosition [SWS_PER_00164]. بالإضافة إلى ذلك، قد تتضمن النتيجة أخطاء خاصة بالشركة المصنعة [SWS_PER_00164].

التزامن والقيود

تم تحديد الدالة كـ exception safe [SWS_PER_00164]. ونظراً لأن التنفيذ مصنف كـ not thread-safe، يجب مزامنة عمليات الوصول المتوازية إلى نفس المثيل من FileAccessor من جانب المتصل [SWS_PER_00164].

تم إنشاء هذا النص بواسطة نظام ذكاء اصطناعي وجرى تنقيحه بواسطة autodocs.

دليل المنفِّذ قيد الإعداد (التعقيد I1)

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

Parameter (in)

ParameterBeschreibung
originStarting point from which to move ’offset’ bytes.
offsetOffset in bytes relative to ’origin’. Can be positive in case of k Beginning and kCurrent and negative in case of kCurrent and k End. In case of kCurrent, an offset of zero will not change the current position. In case of kEnd, an offset of zero will set the position to the end of the file.

Rückgabewert

TypBeschreibung
ara::core::Result<std::uint64_t >A Result containing the new position in bytes from the beginning of the file. In case of an error, it contains any of the errors defined below, or a vendor specific error.

Fehler

FehlercodeBeschreibung
PerErrc::kInvalidPositionrollback_semantics Returned if the resulting position is lower than zero or beyond the end of the file.

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

Record
AUTOSAR/AP/record/SWS_PER_00164
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00164@rel:R25-11#68970574
Content hash
68970574
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00164
Status: valid/unmigrated Version: rel:R25-11#ccd6513c 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_00164@rel:R25-11#ccd6513c
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#66a724ef2026-09-30
  • R19-11rel:R19-11#73c3e07f2026-10-14
  • R20-11rel:R20-11#4c68dcef2026-10-14
  • R21-11rel:R21-11#824627d92026-10-14
  • R22-11rel:R22-11#838d6e5d2026-10-14
  • R23-11rel:R23-11#129626382026-10-14
  • R24-11rel:R24-11#8245580d2026-10-14
  • R25-11rel:R25-11#ccd6513c2026-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

دالة SetPosition [SWS_PER_00163] Upstream: RS_PER_00001, RS_PER_00004, RS_AP_00119, RS_AP_00120, RS_ AP_00121, RS_AP_00135, RS_AP_00139, RS_AP_00159

ara::core::Result< void > SetPosition (std::uint64_t position) noexcept;

Sets the current position relative to the beginning of the file. In case of an error, the current position is not changed.

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

Parameter (in)

ParameterBeschreibung
positionCurrent position in the file in bytes from the beginning of the file.

Rückgabewert

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

Fehler

FehlercodeBeschreibung
PerErrc::kInvalidPositionrollback_semantics Returned if the given position is beyond the end of the file.

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

Record
AUTOSAR/AP/record/SWS_PER_00163
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00163@rel:R25-11#d75932e6
Content hash
d75932e6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00163
Status: valid/unmigrated Version: rel:R25-11#70153a82 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_00163@rel:R25-11#70153a82
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#758322e02026-09-30
  • R19-11rel:R19-11#1942368c2026-10-14
  • R20-11rel:R20-11#84c129222026-10-14
  • R21-11rel:R21-11#3b14f9b62026-10-14
  • R22-11rel:R22-11#932ec6d22026-10-14
  • R23-11rel:R23-11#f53627272026-10-14
  • R24-11rel:R24-11#b6f855cb2026-10-14
  • R25-11rel:R25-11#70153a822026-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

دالة operator= [SWS_PER_00591] Upstream: RS_PER_00004, RS_AP_00119, RS_AP_00120, RS_AP_00121, RS_AP_00145, RS_AP_00159

FileAccessor & operator= (FileAccessor &&ra)=delete;

The move assignment operator for FileAccessor shall not be used.

Header-Datei#include "ara/per/file_accessor.h"
Scopeclass ara::per::FileAccessor

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

Record
AUTOSAR/AP/record/SWS_PER_00591
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00591@rel:R25-11#8fcc37ab
Content hash
8fcc37ab
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00591
Status: valid/unmigrated Version: rel:R25-11#74c045de 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_PER_00591@rel:R25-11#74c045de
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

دالة operator= [SWS_PER_00593] Upstream: RS_PER_00004, RS_AP_00119, RS_AP_00120, RS_AP_00145

FileAccessor & operator= (const FileAccessor &)=delete;

The copy assignment operator for FileAccessor shall not be used.

Header-Datei#include "ara/per/file_accessor.h"
Scopeclass ara::per::FileAccessor

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

Record
AUTOSAR/AP/record/SWS_PER_00593
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00593@rel:R25-11#653703e1
Content hash
653703e1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00593
Status: valid/unmigrated Version: rel:R25-11#01ebcde1 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_PER_00593@rel:R25-11#01ebcde1
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

دالة ~FileAccessor [SWS_PER_00594] Upstream: RS_PER_00004, RS_AP_00120, RS_AP_00129, RS_AP_00134, RS_AP_00145, RS_AP_00159

virtual ~FileAccessor () noexcept;

Destructor for FileAccessor.

Header-Datei#include "ara/per/file_accessor.h"
Scopeclass ara::per::FileAccessor
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_00594
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00594@rel:R25-11#c218cd92
Content hash
c218cd92
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00594
Status: valid/unmigrated Version: rel:R25-11#f4cbf0b1 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_PER_00594@rel:R25-11#f4cbf0b1
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill