function ToString [SWS_CM_11519] Upstream: RS_CM_00200, RS_CM_00500
ara::core::StringView ToString () const;
Stringification method for ara::com::ServiceVersionType
The synchronous member function ToString of class ara::com::ServiceVersionType serves to serialize and provide version information as a human-readable string representation ([SWS_CM_11519], SWS CommunicationManagement §8.11.1.1.2.1 “ToString”). It is declared in header #include "ara/com/service/service_version.h", takes no parameters as a const method, and returns a ara::core::StringView to the string representation of the service version ([SWS_CM_11519]).
The represented version information is derived according to [SWS_CM_99029] from the attributes majorVersion and minorVersion of the respective ServiceInterface (SWS CommunicationManagement §7.5.22.1 “Service Identifier Data Types”). According to [SWS_CM_00088], the specific format of the string is vendor-specific for Communication Management and not standardized across AUTOSAR (SWS CommunicationManagement §7.5.22.1 “Service Identifier Data Types”).
The following boundary conditions apply to usage and concurrency:
- Exception safety: In the specification, the function is explicitly classified as not exception safe ([SWS_CM_11519]). Specific error codes or messages to DET or DEM are not defined.
- Return value lifetime: Since a
ara::core::StringViewis returned, the referenced buffer is presumably bound to the lifetime of theServiceVersionTypeobject or to static storage (interpretation). Question Q-dc38956a7fe0476a (open) The view should therefore not be used beyond the lifetime of the source instance. - Call context: As a side-effect-free
constoperation, the call does not modify the object; separate reentrancy specifications are not defined.
This text was generated by an AI based on the AUTOSAR specification R25-11.
Implementer's Guide to follow (complexity 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#0f392a64- Content hash
0f392a64- 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 · German original