دالة ToString [SWS_CM_11519] Upstream: RS_CM_00200, RS_CM_00500
ara::core::StringView ToString () const;
Stringification method for ara::com::ServiceVersionType
تُستخدم الدالة العضو المتزامنة ToString للفئة ara::com::ServiceVersionType في تسلسل وتوفير معلومات الإصدار كتمثيل نصي مقروء ([SWS_CM_11519]، SWS CommunicationManagement §8.11.1.1.2.1 «ToString»). تم الإعلان عنها في ملف الترويسة #include "ara/com/service/service_version.h"، وبصفتها دالة const فإنها لا تأخذ أي معلمات وتُرجع ara::core::StringView يشير إلى تمثيل السلسلة النصية لإصدار الخدمة ([SWS_CM_11519]).
تُشتق معلومات الإصدار الممثلة وفقًا لـ [SWS_CM_99029] من السمتين majorVersion وminorVersion لـ ServiceInterface المعني (SWS CommunicationManagement §7.5.22.1 «Service Identifier Data Types»). التنسيق المحدد للسلسلة النصية وفقًا لـ [SWS_CM_00088] مخصص من قبل الشركة المصنعة لـ Communication Management وغير موحد عبر AUTOSAR ككل (SWS CommunicationManagement §7.5.22.1 «Service Identifier Data Types»).
تسري الشروط الحدية التالية على الاستخدام والتزامن:
- أمان الاستثناءات: تم تصنيف الدالة في المواصفة صراحةً على أنها غير آمنة من الاستثناءات (not exception safe) ([SWS_CM_11519]). لم يتم تعريف رموز أخطاء محددة أو رسائل إلى DET أو DEM.
- عمر قيمة الإرجاع: بما أنه يتم إرجاع
ara::core::StringView، يُرجّح أن المخزن المؤقت المشار إليه مرتبط بعمر كائنServiceVersionTypeأو بذاكرة ثابتة (تفسير). سؤال Q-dc38956a7fe0476a (مفتوح) لذلك، لا ينبغي استخدام العرض بعد انتهاء عمر مثيل المصدر. - سياق الاستدعاء: بصفتها عملية
constخالية من الآثار الجانبية، فإن الاستدعاء لا يُعدل الكائن؛ ولا يتم تحديد متطلبات خاصة بقابلية إعادة الدخول.
تم إنشاء هذا النص بواسطة ذكاء اصطناعي بناءً على مواصفة AUTOSAR R25-11.
دليل المنفِّذ قيد الإعداد (التعقيد I1)
| Header-Datei | #include "ara/com/service/service_version.h" |
|---|---|
| Scope | class ara::com::ServiceVersionType |
| Exception-Sicherheit | not exception safe |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| ara::core::StringView | String representation of a ara::com::ServiceVersionType |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_CM_11519- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_CM_11519@rel:R25-11#7f0856fc- Content hash
7f0856fc- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11519
Status: valid/unmigrated
Version: rel:R25-11#abf5021f
Versionshistorie & Revisions (1 transition, 3 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_CM_11519@rel:R25-11#abf5021f
Recorded Revisions (3):
- R25-11
rel:R25-11#0f392a642026-09-30 - R24-11
rel:R24-11#2df22b872026-10-14 - R25-11
rel:R25-11#abf5021f2026-10-14 active
Requirement Text as-of this release:
Curation Decisions:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
|---|---|---|---|---|
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
gemini-3.8-flash-low· 2026-10-13 · الأصل الألماني