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

사용자 가이드AI 생성

특화된 파일 접근을 위한 파일 크기 조회 및 위치 탐색의 공통 기본 클래스 역할을 합니다.
AI 생성 미검증 모델: 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])를 통해 직접 인스턴스화 및 복사 작업을 방지합니다. 유효하지 않은 위치 지정 시 현재 포인터 위치를 보호하는 롤백 시맨틱이 적용됩니다. 모든 연산은 예외로부터 안전하지만, 동시성 환경에서 사용할 경우 외부 동기화가 필요합니다.

컨텍스트

ara::per::FileAccessor 클래스는 AUTOSAR Adaptive Platform의 지속성 모듈(ara::per)에서 ReadAccessor 및 WriteAccessor과 같은 파일 접근 객체를 위한 공통 추상 기본 클래스 역할을 합니다. 핵심 책임은 파일 관련 위치 관리 및 크기 검사를 위한 통일된 인터페이스입니다. 이 클래스는 열린 파일 내에서 읽기 및 쓰기 커서를 제어하는 인스턴스로 동작하지만, 실제 데이터 전송(바이트 읽기 또는 쓰기와 같은)을 위한 메서드는 자체적으로 포함하지 않습니다. 탐색은 파일 시작점 기준의 절대 방식 또는 정의된 기준점 대비 상대 방식으로 수행됩니다.

수명 주기

ara::per::FileAccessor 클래스는 직접 인스턴스화하거나 자유롭게 복사할 수 없습니다. 기본 생성자는 복사 생성자([SWS_PER_00592]) 및 복사 대입 연산자([SWS_PER_00593])와 마찬가지로 삭제되어 있습니다([SWS_PER_00589]). 이동 시맨틱 역시 명시적으로 금지되어 있어, 이동 생성자([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 > 파일 크기PerErrc::kInvalidPosition을 포함한 ResultMovePosition(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])는 기본 데이터 타입을 직접 반환하며 특정 오류 코드를 생성하지 않습니다.

이 텍스트는 AI가 AUTOSAR 사양 R25-11을 기반으로 작성했습니다. 탐색 추상화에 대한 전반적인 그림을 제공함으로써 표준 문서를 보완합니다.

멤버 맵

클래스 다이어그램

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

Destructor for FileAccessor.

virtual ~FileAccessor () noexcept;

메서드

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;

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;

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#2d400671
Content hash
2d400671
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#4e7b567b
Content hash
4e7b567b
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#b289d36f
Content hash
b289d36f
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#39920792
Content hash
39920792
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#b229af18
Content hash
b229af18
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#3c45be29
Content hash
3c45be29
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.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 436bd0736ae4 출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용

ara::per::FileAccessor 클래스의 동기식 메서드 MovePosition은(는) 정의된 기준점에 상대적으로 현재 파일 위치를 이동합니다 [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은(는) 양수 또는 음수일 수 있으며, 값이 0이면 위치가 변경되지 않습니다 [SWS_PER_00164], [SWS_PER_00146].
  • Origin::kEnd: 파일 끝에 상대적인 이동; offset은(는) 음수일 수 있으며, 오프셋이 0이면 위치가 파일 끝으로 정확히 설정됩니다 [SWS_PER_00164], [SWS_PER_00146].

오류 처리

오류 발생 시 롤백 시맨틱에 의해 이전 파일 위치가 변경되지 않습니다 [SWS_PER_00164]. 계산된 대상 지점이 0보다 작은 값이 되거나 파일 끝을 벗어나는 경우 오류 코드 PerErrc::kInvalidPosition이(가) 반환됩니다 [SWS_PER_00164]. 또한 결과에 제조사별 오류가 포함될 수 있습니다 [SWS_PER_00164].

동시성 및 제약사항

이 메서드는 exception safe(으)로 명시되어 있습니다 [SWS_PER_00164]. 구현이 not thread-safe(으)로 분류되어 있으므로 동일한 FileAccessor 인스턴스에 대한 병렬 접근은 호출자 측에서 동기화되어야 합니다 [SWS_PER_00164].

이 텍스트는 AI 시스템에 의해 작성되었으며 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#bbf8ea93
Content hash
bbf8ea93
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#b0f0e199
Content hash
b0f0e199
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#bd81ab96
Content hash
bd81ab96
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#abf685c2
Content hash
abf685c2
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#01ecc2cc
Content hash
01ecc2cc
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