DEENESPTFRRUARHIKOZHNL

क्लास ara::diag::DiagnosticSovdRecordContentElementDataView

[SWS_DM_02270] Upstream: RS_Diag_04260

class DiagnosticSovdRecordContentElementDataView {...};

View on a DiagnosticSovdContentElementData with Record type.

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Forwarding-Header#include "ara/diag/diag_fwd.h"
Scopenamespace ara::diag

उपयोगकर्ता गाइडएआई जनित

SOVD डायग्नोस्टिक रिकॉर्ड्स को कुंजी-आधारित प्रबंधित करने और पढ़ने के लिए एक संरचित दृश्य प्रदान करता है।
एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 23c95a966eb0 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

SOVD डायग्नोस्टिक रिकॉर्ड्स को कुंजी-आधारित प्रबंधित करने और पढ़ने के लिए एक संरचित दृश्य प्रदान करता है।

यह क्लास Adaptive Platform डायग्नोस्टिक्स (SWS Diagnostics §8.60.11 “Class: DiagnosticSovdRecordContentElementDataView”) के लिए RecordContentElementData प्रकार के SOVD डेटा रिकॉर्ड्स का एक संरचित दृश्य प्रदान करती है। यह थ्रेड-सुरक्षित विधियों जैसे Add या operator[] ([SWS_DM_02288]) के माध्यम से प्रिमिटिव और साथ ही जटिल डायग्नोस्टिक तत्वों को कुंजी-आधारित जोड़ने, पढ़ने और प्रबंधित करने में सक्षम बनाती है। सभी ऑपरेशनों के लिए पूर्व शर्त यह है कि अंतर्निहित डेटा तत्व आवश्यक रिकॉर्ड प्रकार का होना चाहिए, क्योंकि अन्यथा कॉल्स रिटर्न परिणाम में त्रुटि के साथ निरस्त हो जाते हैं।

संदर्भ

क्लास ara::diag::DiagnosticSovdRecordContentElementDataView Service-Oriented Vehicle Diagnostics (SOVD) के संदर्भ में प्रकार RecordContentElementData या ContentData (SWS Diagnostics §8.60.11 “Class: DiagnosticSovdRecordContentElementDataView”, [SWS_DM_02270]) के डायग्नोस्टिक डेटा तत्व पर एक संरचित दृश्य (View) के रूप में कार्य करती है। यह डायग्नोस्टिक अनुप्रयोगों और डायग्नोस्टिक रनटाइम सिस्टम को कुंजी-मान युग्मों से फ़ील्ड-आधारित डेटा रिकॉर्ड्स (Records) बनाने, पढ़ने और संशोधित करने में सक्षम बनाती है ([SWS_DM_02288])। इंटरैक्शन पार्टनर के रूप में एक तरफ डायग्नोस्टिक सेवा कार्यान्वयन दिखाई देते हैं, जो डायग्नोस्टिक डेटा प्रदान या उपभोग करते हैं, और दूसरी तरफ प्रकार DiagnosticSovdContentElementData के अंतर्निहित जेनेरिक कंटेनर ऑब्जेक्ट्स होते हैं। मानकीकृत इंटरफ़ेस के माध्यम से, दृश्य अनुप्रयोग-विशिष्ट हेरफेर को डायग्नोस्टिक सामग्री के भौतिक भंडारण रूप से अलग करता है।

जीवनचक्र

एक दृश्य के रूप में इसके अभीष्ट उद्देश्य के अनुसार, इंस्टेंस संभवतः केवल प्रकार DiagnosticSovdContentElementData (व्याख्या) के मौजूदा डेटा ऑब्जेक्ट का संदर्भ रखता है। प्रश्न Q-012bdd3d2b3a7ec4 (खुला) इससे यह निष्कर्ष निकलता है कि अमान्य संदर्भों से बचने के लिए संदर्भित डेटा रिकॉर्ड का जीवनकाल अनिवार्य रूप से दृश्य के अस्तित्व को कवर करना चाहिए। विनिर्देश के अनुसार क्लास की सभी घोषित विधियाँ थ्रेड-सुरक्षित (thread-safe) और अपवाद-सुरक्षित (exception safe) डिज़ाइन की गई हैं ([SWS_DM_02273], [SWS_DM_02288])। डेटा रिकॉर्ड के भीतर निहित डेटा तत्वों के जीवन चक्र को गतिशील रूप से प्रबंधित किया जा सकता है: मौजूदा तत्वों को Clear के माध्यम से पूरी तरह से हटाया जा सकता है ([SWS_DM_02276]), उनकी कुंजी के आधार पर Remove का उपयोग करके लक्षित रूप से हटाया जा सकता है ([SWS_DM_02287]), या इटरेटर के माध्यम से Erase का उपयोग करके कंटेनर से हटाया जा सकता है ([SWS_DM_02294])।

उपयोग पथ

एक विशिष्ट उपयोग क्रम में मेमोरी तैयार करना, तत्व जोड़ना, नेविगेशन और फ़ील्ड पढ़ना शामिल है:

  • मेमोरी की तैयारी: ज्ञात तत्व संख्याओं के मामले में पुन: आवंटन को रोकने के लिए, क्षमता को Reserve के साथ अग्रिम रूप से निर्धारित किया जा सकता है ([SWS_DM_02283])। वर्तमान क्षमता को Capacity के माध्यम से पूछा जा सकता है ([SWS_DM_02274])।
  • डेटा रिकॉर्ड भरना: ओवरलोड किए गए Add ऑपरेशनों के माध्यम से, एक कुंजी (key) निर्दिष्ट करके टाइप किए गए मान पंजीकृत किए जाते हैं। समर्थित प्रिमिटिव डेटा प्रकारों में std::int64_t ([SWS_DM_02288]), std::uint64_t ([SWS_DM_02289]), double ([SWS_DM_02290]), bool ([SWS_DM_02291]) और ara::core::StringView ([SWS_DM_02292]) के माध्यम से स्ट्रिंग मान शामिल हैं। इसी तरह, प्रकार DiagnosticSovdContentElementData के नेस्टेड डायग्नोस्टिक तत्व जोड़े जा सकते हैं ([SWS_DM_02293])।
  • जांच और क्वेरी: एक्सेस करने से पहले, खालीपन के लिए Empty ([SWS_DM_02275]) के साथ और मौजूदा तत्वों की संख्या के लिए Size ([SWS_DM_02273]) के साथ जांच की जा सकती है। किसी कुंजी के अस्तित्व को HasContentElement ([SWS_DM_02284]) द्वारा सत्यापित किया जाता है।
  • पहुंच और पुनरावृत्ति (Iteration): ठोस तत्वों तक पहुंच या तो सीधे इंडेक्स ऑपरेटर operator[] के माध्यम से होती है, जो लक्ष्य तत्व ([SWS_DM_02277], [SWS_DM_02278]) का संदर्भ प्रदान करता है, या खोज विधि Find ([SWS_DM_02285], [SWS_DM_02286]) के माध्यम से। ट्रैवर्सल के लिए Begin, End, CBegin और CEnd के माध्यम से इटरेटर उपलब्ध हैं ([SWS_DM_02279], [SWS_DM_02280], [SWS_DM_02281], [SWS_DM_02282])।
View के माध्यम से रिकॉर्ड प्रोसेसिंग का प्रवाहएप्लिकेशनRecordViewContentElementReserve(capacity)Add(key, value)तत्व सम्मिलित करनापुष्टिResult<void>operator[](key)संदर्भ रिज़ॉल्व करेंReferenz bereitstellenResult<reference_wrapper>HasError()Result<void>

अनुक्रम आरेख: SOVD रिकॉर्ड तत्व को भरने और पढ़ने का विशिष्ट वर्कफ़्लो। स्रोत: [SWS_DM_02283], [SWS_DM_02288], [SWS_DM_02277], [SWS_DM_02271]।

त्रुटि परिदृश्य

डेटा रिकॉर्ड पर संचालन कंटेनर प्रकार और कुंजी वैधता के संबंध में सख्त पूर्व शर्तों के अधीन हैं:

  • प्रकार विरोध: सभी एक्सेस, इंसर्ट और डिलीट विधियों के लिए आवश्यक है कि अंतर्निहित तत्व प्रकार RecordContentElementData या ContentData का हो। अन्यथा, Add ([SWS_DM_02288]), operator[] ([SWS_DM_02277]), HasContentElement ([SWS_DM_02284]) और Remove ([SWS_DM_02287]) जैसे ऑपरेशन विफल हो जाते हैं और त्रुटि स्थिति के साथ ara::core::Result लौटाते हैं।
  • न मिले कीज़: operator[] के माध्यम से एक्सेस या Remove के माध्यम से डिलीट करने पर एक त्रुटि मिलती है यदि अनुरोधित कुंजी डेटा रिकॉर्ड में मौजूद नहीं है ([SWS_DM_02277], [SWS_DM_02287])।
  • हटाते समय अमान्य इटरेटर: अमान्य पैरामीटर या गलत डेटा बाइंडिंग के मामले में Erase के माध्यम से इटरेटर द्वारा हटाना त्रुटि कोड DiagErrc::kInvalidArgument लौटाता है ([SWS_DM_02294])।
  • स्पष्ट त्रुटि प्रबंधन: विधि-विशिष्ट त्रुटियों के अलावा, डेटा रिकॉर्ड की समग्र स्थिति को SetError के माध्यम से ara::core::ErrorCode के साथ स्पष्ट रूप से त्रुटिपूर्ण चिह्नित किया जा सकता है ([SWS_DM_02272])। कॉलर HasError के माध्यम से किसी त्रुटि की उपस्थिति के बारे में पूछताछ कर सकते हैं, जो त्रुटि के मामले में एक संगत ara::diag::DiagSovdErrc लौटाता है ([SWS_DM_02271])।

यह मार्गदर्शिका AUTOSAR AP R25-11 विनिर्देश के आधार पर एक AI प्रणाली द्वारा तैयार की गई थी।

सदस्य मानचित्र

क्लास आरेख

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

G nara__diag__DiagnosticSovdRecordContentElementDataView16 DiagnosticSovdRecordContentElementDataView + Add() + Begin() + CBegin() + CEnd() + Capacity() + Clear() + Empty() + End() + Erase() + Find() + HasContentElement() + HasError() + Remove() + Reserve() + SetError() + Size() … 1 weitere

विवरण दृश्य

रूपरेखा में कोई प्रविष्टि चुनें।

मेथड

Add फ़ंक्शन 6

Adds an element with the specified key with signed integer as primitive value. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData and the element to add shall not be of type ContentData

ओवरलोड Add 6
auto Add (ara::core::StringView key, std::int64_t content_element) noexcept -> ara::core::Result< void >; SWS_DM_02288
auto Add (ara::core::StringView key, std::uint64_t content_element) noexcept -> ara::core::Result< void >; SWS_DM_02289
auto Add (ara::core::StringView key, double content_element) noexcept -> ara::core::Result< void >; SWS_DM_02290
auto Add (ara::core::StringView key, bool content_element) noexcept -> ara::core::Result< void >; SWS_DM_02291
auto Add (ara::core::StringView key, ara::core::StringView content_ element) noexcept -> ara::core::Result< void >; SWS_DM_02292
auto Add (ara::core::StringView key, DiagnosticSovdContentElementData content_element) noexcept -> ara::core::Result< void >; SWS_DM_02293
Begin फ़ंक्शन

Returns the begin operator of a RecordContentElementData. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

auto Begin () noexcept -> DiagnosticSovdRecordContentElementData Iterator;
Capacity फ़ंक्शन

Returns the capacity of the RecordContentElementData. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

auto Capacity () const noexcept -> std::size_t;
CBegin फ़ंक्शन

Returns the begin operator of a RecordContentElementData. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

auto CBegin () noexcept -> DiagnosticSovdRecordContentElementDataConst Iterator;
CEnd फ़ंक्शन

Returns the end operator of a RecordContentElementData. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

auto CEnd () noexcept -> DiagnosticSovdRecordContentElementDataConst Iterator;
Clear फ़ंक्शन

Removes all the content element in the RecordContentElementData. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

auto Clear () noexcept -> void;
Empty फ़ंक्शन

Returns if the RecordContentElementData is empty. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

auto Empty () const noexcept -> bool;
End फ़ंक्शन

Returns the end operator of a RecordContentElementData. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

auto End () noexcept -> DiagnosticSovdRecordContentElementData Iterator;
Erase फ़ंक्शन

Erases a content element from DiagnosticSovdRecordContentElementData. The current element shall be of RecordContentElementData or ContentData

auto Erase (DiagnosticSovdRecordContentElementDataIterator iterator) noexcept -> ara::core::Result< void >;
Find फ़ंक्शन 2

Find an element with the specified key. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

ओवरलोड Find 2
auto Find (ara::core::StringView key) noexcept -> DiagnosticSovdRecord ContentElementDataIterator; SWS_DM_02285
auto Find (ara::core::StringView key) const noexcept -> DiagnosticSovd RecordContentElementDataConstIterator; SWS_DM_02286
HasContentElement फ़ंक्शन

Returns if the RecordContentElementData contains an element with the specified key. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

auto HasContentElement (ara::core::StringView key) const noexcept -> ara::core::Result< bool >;
HasError फ़ंक्शन

Returns if the content contains an error.

auto HasError () const noexcept -> ara::core::Result< void >;
Remove फ़ंक्शन

Removes an element with the specified key. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

auto Remove (ara::core::StringView key) noexcept -> ara::core::Result< bool >;
Reserve फ़ंक्शन

Reserves the capacity of the RecordContentElementData.

auto Reserve (std::size_t capacity) noexcept -> void;
SetError फ़ंक्शन

Sets the content to be erroneous.

void SetError (ara::core::ErrorCode error_code) noexcept;
Size फ़ंक्शन

Returns the count of elements in the RecordContentElementData. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

auto Size () const noexcept -> std::size_t;

ऑपरेटर

operator[] फ़ंक्शन 2

Access the content element with specified key. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

ओवरलोड [] 2
auto operator[] (ara::core::StringView key) noexcept -> ara::core::Result< std::reference_wrapper< DiagnosticSovdContent ElementData > >; SWS_DM_02277
auto operator[] (ara::core::StringView key) const noexcept -> ara::core::Result< std::reference_wrapper< DiagnosticSovdContent ElementData const > >; SWS_DM_02278

मेथड का प्रलेखन

फ़ंक्शन Add [SWS_DM_02288] Upstream: RS_Diag_04260

auto Add (ara::core::StringView key, std::int64_t content_element) noexcept -> ara::core::Result< void >;

Adds an element with the specified key with signed integer as primitive value. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData and the element to add shall not be of type ContentData

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 50e9ae94ca49 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग

समकालिक फ़ंक्शन [SWS_DM_02288] निर्दिष्ट कुंजी key (ara::core::StringView) के तहत एक हस्ताक्षरित पूर्णांक मान (std::int64_t) को SOVD डेटा संरचना में सम्मिलित करता है। इसे क्लास ara::diag::DiagnosticSovdRecordContentElementDataView की एक मेथड के रूप में डिक्लेयर किया गया है और हेडर ara/diag/diagnostic_sovd_content_element_data.h के माध्यम से शामिल किया गया है।

पूर्वापेक्षाएँ और त्रुटि प्रबंधन

[SWS_DM_02288] के अनुसार, अंतर्निहित DiagnosticSovdContentElementData ऑब्जेक्ट RecordContentElementData या ContentData प्रकार का होना चाहिए, जबकि जोड़ा जाने वाला तत्व स्वयं एक ContentData नहीं हो सकता है। फ़ंक्शन को noexcept के रूप में परिभाषित किया गया है और यह एक ara::core::Result<void> लौटाता है। यदि ऑपरेशन विफल हो जाता है - उदाहरण के लिए क्योंकि लक्ष्य कंटेनर में एक असंगत प्रकार है या तत्व जोड़ा नहीं जा सकता है - तो परिणाम में एक त्रुटि कोड शामिल होता है; व्याख्या: यह आमतौर पर कुंजी टकराव (key collision) के मामले में भी होने की संभावना है। प्रश्न Q-524c832a794559b7 (खुला)

समवर्तीता और परस्पर क्रिया

निष्पादन को थ्रेड-सुरक्षित और एक्सेप्शन-सुरक्षित निर्दिष्ट किया गया है [SWS_DM_02288]। इंटरफ़ेस के भीतर अहस्ताक्षरित पूर्णांकों ([SWS_DM_02289]), फ़्लोटिंग-पॉइंट संख्याओं ([SWS_DM_02290]), बूलियन मानों ([SWS_DM_02291]), स्ट्रिंग्स ([SWS_DM_02292]) और साथ ही नेस्टेड डेटा तत्वों ([SWS_DM_02293]) के लिए समान-प्रकार के ओवरलोड मौजूद हैं। यही मेथड धारक क्लास (carrier class) DiagnosticSovdContentElementData पर भी प्रदान की जाती है ([SWS_DM_02368])।

यह उपयोग नोट स्वचालित रूप से तैयार किया गया था और AUTOSAR R25-11 विनिर्देश पर आधारित है।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdRecordContentElementDataView
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
keyThe key
content_elementThe content element to add

Rückgabewert

TypBeschreibung
ara::core::Result< void >void result or an error if DiagnosticSovdContentElementData is not of type RecordContentElementData or ContentData OR the element cannot be added

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

Record
AUTOSAR/AP/record/SWS_DM_02288
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02288@rel:R25-11#4d4904fe
Content hash
4d4904fe
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02288
Status: valid/unmigrated Version: rel:R25-11#904cfff5 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_DM_02288@rel:R25-11#904cfff5
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

फ़ंक्शन Add [SWS_DM_02289] Upstream: RS_Diag_04260

auto Add (ara::core::StringView key, std::uint64_t content_element) noexcept -> ara::core::Result< void >;

Adds an element with the specified key with unsigned integer as primitive value. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData and the element to add shall not be of type ContentData

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 71f3685f0581 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

क्लास ara::diag::DiagnosticSovdRecordContentElementDataView का सिंक्रोनस मेंबर फ़ंक्शन Add एक पूर्वनिर्धारित कुंजी ([SWS_DM_02289]) के अंतर्गत अहस्ताक्षरित 64-बिट पूर्णांक मान जोड़ने के काम आता है। इसका उपयोग Diagnostic Management की SOVD कार्यक्षमता के अंतर्गत किया जाता है, जो ASAM SOVD के अनुसार डायग्नोस्टिक संचार प्रदान करता है (AUTOSAR_AP_SWS_Diagnostics §1.0 “Introduction and functional overview”, [SWS_DM_01369])।

उपयोग और कॉल

मेथड को हेडर ara/diag/diagnostic_sovd_content_element_data.h के माध्यम से शामिल किया जाता है। पैरामीटर के रूप में यह पहचानकर्ता key की ara::core::StringView के रूप में और जोड़े जाने वाले मान content_element की std::uint64_t के रूप में अपेक्षा करता है ([SWS_DM_02289])। कॉल सिंक्रोनस रूप से की जाती है, इसे noexcept के रूप में निर्दिष्ट किया गया है और यह परिणाम को ara::core::Result<void> के रूप में लौटाता है।

त्रुटि प्रबंधन और सीमा शर्तें

  • प्रकार शर्तें: इंस्टेंटिएटेड DiagnosticSovdContentElementData या तो प्रकार RecordContentElementData या ContentData का होना चाहिए। इसके अलावा, जोड़े जाने वाला एलिमेंट स्वयं प्रकार ContentData का नहीं होना चाहिए ([SWS_DM_02289])।
  • त्रुटि व्यवहार: यदि इनमें से किसी एक प्रकार की आवश्यकता का उल्लंघन होता है या एलिमेंट को जोड़ा नहीं जा सकता है, तो फ़ंक्शन एक त्रुटिपूर्ण ara::core::Result लौटाता है ([SWS_DM_02289])। विनिर्देश इस बिंदु पर विशिष्ट एरर कोड का उल्लेख नहीं करता है; संभवतः परिणाम ऑब्जेक्ट डायग्नोस्टिक डोमेन का एक संगत एरर कोड लौटाता है। प्रश्न Q-ffca131eece93b35 (खुला)
  • समवर्तीता (Concurrency): फ़ंक्शन को स्पष्ट रूप से thread-safe और exception safe के रूप में निर्दिष्ट किया गया है ([SWS_DM_02289])।

इंटरैक्शन

यह मेथड प्रिमिटिव और जटिल डेटा तत्वों को कैप्चर करने के लिए टाइप किए गए ओवरलोड के परिवार से संबंधित है, जिसमें हस्ताक्षरित पूर्णांकों ([SWS_DM_02288]) और संरचित उप-तत्वों ([SWS_DM_02293]) के वेरिएंट शामिल हैं। एक समान इंटरफ़ेस क्लास DiagnosticSovdContentElementData पर समानांतर रूप से प्रदान किया जाता है ([SWS_DM_02369])।

यह उपयोग नोट AUTOSAR विनिर्देश R25-11 के आधार पर स्वचालित रूप से उत्पन्न किया गया था।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdRecordContentElementDataView
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
keyThe key
content_elementThe content element to add

Rückgabewert

TypBeschreibung
ara::core::Result< void >void result or an error if DiagnosticSovdContentElementData is not of type RecordContentElementData or ContentData OR the element cannot be added

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

Record
AUTOSAR/AP/record/SWS_DM_02289
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02289@rel:R25-11#e3fefd27
Content hash
e3fefd27
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02289
Status: valid/unmigrated Version: rel:R25-11#24f33415 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_DM_02289@rel:R25-11#24f33415
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

फ़ंक्शन Add [SWS_DM_02290] Upstream: RS_Diag_04260

auto Add (ara::core::StringView key, double content_element) noexcept -> ara::core::Result< void >;

Adds an element with the specified key with double as primitive value. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData and the element to add shall not be of type ContentData

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: f0fc5f61ff31 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

वर्ग ara::diag::DiagnosticSovdRecordContentElementDataView का सिंक्रोनस सदस्य फलन Add निर्दिष्ट कुंजी key के अंतर्गत डेटा रिकॉर्ड में double प्रकार का एक प्रिमिटिव फ़्लोटिंग-पॉइंट मान जोड़ता है [SWS_DM_02290]। यह फलन Diagnostic Management की SOVD सर्वर कार्यक्षमता के लिए संरचित डायग्नोस्टिक डेटा तैयार करने का कार्य करता है [SWS_DM_01369]।

निष्पादन के लिए निम्नलिखित प्रकार-संबंधी पूर्वशर्तें लागू होती हैं [SWS_DM_02290]:

  • लक्ष्य ऑब्जेक्ट RecordContentElementData या ContentData प्रकार का होना चाहिए।
  • जोड़ा जाने वाला तत्व स्वयं ContentData प्रकार का नहीं होना चाहिए।

विधि को noexcept (exception safe) के रूप में घोषित किया गया है और समवर्ती एक्सेस के लिए थ्रेड-सुरक्षित (thread-safe) के रूप में निर्दिष्ट किया गया है [SWS_DM_02290]। यदि जोड़ना विफल हो जाता है – उदाहरण के लिए क्योंकि ऑब्जेक्ट प्रकार असंगत है या तत्व सम्मिलित नहीं किया जा सकता है –, तो लौटाए गए ara::core::Result<void> के माध्यम से एक त्रुटि रिपोर्ट की जाती है [SWS_DM_02290]। Interpretation: त्रुटि का सटीक कारण संभवतः Result ऑब्जेक्ट के ara::core::ErrorCode में मैप किया जाएगा। प्रश्न Q-c987f75d785d3e90 (खुला)

Add के संबंधित ओवरलोड के संयोजन में, यह विधि पूर्णांक मानों ([SWS_DM_02288], [SWS_DM_02289]), बूलियन मानों [SWS_DM_02291], स्ट्रिंग्स [SWS_DM_02292] या अधिक जटिल तत्व डेटा [SWS_DM_02293] के साथ SOVD डेटा रिकॉर्ड को संरचित रूप से भरने में सक्षम बनाती है।

यह पाठ AUTOSAR R25-11 विनिर्देश के आधार पर एक AI द्वारा जनरेट किया गया था।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdRecordContentElementDataView
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
keyThe key
content_elementThe content element to add

Rückgabewert

TypBeschreibung
ara::core::Result< void >void result or an error if DiagnosticSovdContentElementData is not of type RecordContentElementData or ContentData OR the element cannot be added

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

Record
AUTOSAR/AP/record/SWS_DM_02290
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02290@rel:R25-11#8844560e
Content hash
8844560e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02290
Status: valid/unmigrated Version: rel:R25-11#97a1f619 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_DM_02290@rel:R25-11#97a1f619
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

फ़ंक्शन Add [SWS_DM_02291] Upstream: RS_Diag_04260

auto Add (ara::core::StringView key, bool content_element) noexcept -> ara::core::Result< void >;

Adds an element with the specified key with boolean as primitive value. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData and the element to add shall not be of type ContentData

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 852e73b24037 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

वर्ग ara::diag::DiagnosticSovdRecordContentElementDataView का फलन Add किसी SOVD डेटा तत्व में निर्दिष्ट कुंजी के अंतर्गत एक बूलियन प्रिमिटिव मान जोड़ने का कार्य करता है [SWS_DM_02291]। यह कॉल हेडर फ़ाइल ara/diag/diagnostic_sovd_content_element_data.h के माध्यम से ara::core::StringView प्रकार के पैरामीटर नाम key और bool प्रकार के पेलोड मान content_element के साथ की जाती है [SWS_DM_02291]। चूंकि यह विधि तुरंत ara::core::Result<void> लौटाती है और कोई एसिंक्रोनस व्यवहार निर्दिष्ट नहीं है, इसलिए प्रक्रिया संभवतः सिंक्रोनस रूप से निष्पादित होती है। प्रश्न Q-a16b08bf68f8590b (खुला)

त्रुटि प्रबंधन लौटाए गए ara::core::Result<void> के माध्यम से किया जाता है। एक त्रुटि तब रिपोर्ट की जाती है जब अंतर्निहित DiagnosticSovdContentElementData न तो RecordContentElementData प्रकार का हो और न ही ContentData का, या तत्व नहीं जोड़ा जा सकता हो [SWS_DM_02291]। विनिर्देश उद्धरण में विशिष्ट त्रुटि कोड का विस्तार से उल्लेख नहीं किया गया है।

समवर्तीता और निष्पादन सुरक्षा के संबंध में, विधि को thread-safe के रूप में वर्गीकृत किया गया है और यह अपवाद सुरक्षा (noexcept) प्रदान करती है [SWS_DM_02291]। एक संरचनात्मक प्रतिबंध के रूप में, विनिर्देश यह मांग करता है कि जोड़ा जाने वाला तत्व स्वयं ContentData प्रकार का नहीं होना चाहिए [SWS_DM_02291]।

समग्र प्रणाली में, यह विधि हस्ताक्षरित पूर्णांकों [SWS_DM_02288], अहस्ताक्षरित पूर्णांकों [SWS_DM_02289], फ़्लोटिंग-पॉइंट संख्याओं [SWS_DM_02290], स्ट्रिंग्स [SWS_DM_02292] और अधीनस्थ सामग्री तत्वों [SWS_DM_02293] के लिए संबंधित ओवरलोड को पूरक बनाती है। इसके अतिरिक्त, Diagnostic Management की SOVD सर्वर कार्यक्षमता के संदर्भ में वर्ग DiagnosticSovdContentElementData [SWS_DM_02371] पर समान इंटरफ़ेस मौजूद है [SWS_DM_01369]।

यह उपयोग संबंधी निर्देश AUTOSAR विनिर्देश R25-11 के आधार पर स्वचालित रूप से जनरेट किया गया था।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdRecordContentElementDataView
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
keyThe key
content_elementThe content element to add

Rückgabewert

TypBeschreibung
ara::core::Result< void >void result or an error if DiagnosticSovdContentElementData is not of type RecordContentElementData or ContentData OR the element cannot be added

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

Record
AUTOSAR/AP/record/SWS_DM_02291
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02291@rel:R25-11#a720483a
Content hash
a720483a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02291
Status: valid/unmigrated Version: rel:R25-11#ec2b8c58 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_DM_02291@rel:R25-11#ec2b8c58
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

फ़ंक्शन Add [SWS_DM_02292] Upstream: RS_Diag_04260

auto Add (ara::core::StringView key, ara::core::StringView content_ element) noexcept -> ara::core::Result< void >;

Adds an element with the specified key with string as primitive value. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData and the element to add shall not be of type ContentData

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 6e36a573fd27 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग

वर्ग ara::diag::DiagnosticSovdRecordContentElementDataView की सिंक्रोनस विधि Add किसी SOVD डेटा तत्व में एक कुंजी और एक प्रिमिटिव स्ट्रिंग मान वाली प्रविष्टि जोड़ने का कार्य करती है [SWS_DM_02292]। कॉल दो पैरामीटरों key और content_element के माध्यम से की जाती है, जिन्हें क्रमशः ara::core::StringView के रूप में पास किया जाता है [SWS_DM_02292]। वापसी मान के रूप में, फलन ऑपरेशन परिणाम को संकेत देने के लिए एक ara::core::Result<void> प्रदान करता है [SWS_DM_02292]।

त्रुटि प्रबंधन

यदि जोड़ना विफल हो जाता है, तो विधि ara::core::Result में एक त्रुटि लौटाती है [SWS_DM_02292]। यह तब होता है जब अंतर्निहित ऑब्जेक्ट RecordContentElementData या ContentData प्रकार का नहीं होता है या तत्व को जोड़ा नहीं जा सकता है [SWS_DM_02292]। Interpretation: ठोस त्रुटि कोड संभवतः कार्यान्वयन के संबंधित त्रुटि डोमेन द्वारा निर्धारित किए जाएंगे, क्योंकि विनिर्देश फलन परिभाषा में इन्हें स्पष्ट रूप से सूचीबद्ध नहीं करता है। प्रश्न Q-ba196615f0cd8fc8 (खुला)

समवर्तीता और सीमांत शर्तें

ऑपरेशन को थ्रेड-सुरक्षित (thread-safe) और अपवाद-सुरक्षित (exception safe) घोषित किया गया है तथा noexcept के साथ एनोटेट किया गया है [SWS_DM_02292]। एक अनिवार्य पूर्वशर्त के रूप में, पैरामीटर के रूप में पास किया गया तत्व स्वयं ContentData प्रकार का नहीं होना चाहिए [SWS_DM_02292]।

इंटरैक्शन

यह फलन Adaptive Platform के लिए SOVD को लागू करने हेतु AUTOSAR Diagnostic Management (DM) का एक घटक है AUTOSAR_AP_SWS_Diagnostics §1 “Introduction and functional overview”, जहाँ DM एक SOVD सर्वर के रूप में कार्य करता है [SWS_DM_01369]। उसी स्कोप के लिए, हस्ताक्षरित पूर्णांकों [SWS_DM_02288], अहस्ताक्षरित पूर्णांकों [SWS_DM_02289], फ़्लोटिंग-पॉइंट संख्याओं [SWS_DM_02290], बूलियन मानों [SWS_DM_02291] और जटिल डेटा तत्वों [SWS_DM_02293] के लिए Add के अनुरूप ओवरलोड मौजूद हैं। इसके अलावा, ara::diag::DiagnosticSovdContentElementData एक संबंधित स्ट्रिंग ओवरलोड प्रदान करता है [SWS_DM_02372]।

यह पाठ एक AI द्वारा जनरेट किया गया था और एक प्रारंभिक उपयोग सहायता के रूप में कार्य करता है।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdRecordContentElementDataView
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
keyThe key
content_elementThe content element to add

Rückgabewert

TypBeschreibung
ara::core::Result< void >void result or an error if DiagnosticSovdContentElementData is not of type RecordContentElementData or ContentData OR the element cannot be added

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

Record
AUTOSAR/AP/record/SWS_DM_02292
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02292@rel:R25-11#724ce999
Content hash
724ce999
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02292
Status: valid/unmigrated Version: rel:R25-11#36c87700 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_DM_02292@rel:R25-11#36c87700
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

फ़ंक्शन Add [SWS_DM_02293] Upstream: RS_Diag_04260

auto Add (ara::core::StringView key, DiagnosticSovdContentElementData content_element) noexcept -> ara::core::Result< void >;

Adds an element with the specified key. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData and the element to add shall not be of type ContentData

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: e37cd37f0d43 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

क्लास ara::diag::DiagnosticSovdRecordContentElementDataView का समकालिक फ़ंक्शन Add निर्दिष्ट कुंजी key के तहत एक डेटा तत्व में DiagnosticSovdContentElementData प्रकार का एक नेस्टेड तत्व जोड़ता है [SWS_DM_02293]। यह SOVD (Service-Oriented Vehicle Diagnostics) के ढांचे में संरचित रूप से निदान डेटा प्रदान करने का कार्य करता है, जो Adaptive Platform पर Diagnostic Management (DM) द्वारा समर्थित है ([SWS_DM_01369], AUTOSAR_AP_SWS_Diagnostics §1 “Introduction and functional overview”)।

उपयोग करते समय अनिवार्य प्रकार विशिष्टताओं का पालन किया जाना चाहिए:

  • कॉल करने वाला डेटा ऑब्जेक्ट RecordContentElementData या ContentData प्रकार का होना चाहिए [SWS_DM_02293]।
  • जोड़ा जाने वाला तत्व content_element स्पष्ट रूप से ContentData प्रकार का नहीं होना चाहिए [SWS_DM_02293]।
  • जटिल डेटा संरचनाओं के पूरक के रूप में, प्राथमिक मानों के लिए अलग-अलग ओवरलोड उपलब्ध हैं, उदाहरण के लिए पूर्णांक मानों ([SWS_DM_02288], [SWS_DM_02289]), फ़्लोटिंग-पॉइंट संख्याओं [SWS_DM_02290], बूलियन मानों [SWS_DM_02291] या स्ट्रिंग्स [SWS_DM_02292] के लिए, जैसा कि वे DiagnosticSovdContentElementData पर भी परिभाषित हैं [SWS_DM_02373]।

त्रुटि प्रबंधन के लिए, फ़ंक्शन एक ara::core::Result<void> लौटाता है। यदि कार्रवाई विफल हो जाती है – उदाहरण के लिए क्योंकि प्रकार की पूर्वशर्तों का उल्लंघन हुआ है या तत्व को सम्मिलित नहीं किया जा सकता है –, तो परिणाम में एक त्रुटि [SWS_DM_02293] शामिल होती है। सटीक त्रुटि कोडिंग संभवतः निदान प्रबंधन की डोमेन-विशिष्ट त्रुटियों पर आधारित होगी। प्रश्न Q-56c929209d0c7358 (खुला) समवर्तीता और सुरक्षा के संबंध में, विधि को noexcept के रूप में घोषित किया गया है, इसे अपवाद-सुरक्षित (exception safe) माना जाता है और समवर्ती पहुँच के लिए थ्रेड-सुरक्षित (thread-safe) के रूप में निर्दिष्ट किया गया है [SWS_DM_02293]।

यह उपयोग नोट AUTOSAR R25-11 विनिर्देश के आधार पर एक AI द्वारा उत्पन्न किया गया था।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdRecordContentElementDataView
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
keyThe key
content_elementThe content element to add

Rückgabewert

TypBeschreibung
ara::core::Result< void >void result or an error if DiagnosticSovdContentElementData is not of type RecordContentElementData or ContentData OR the element cannot be added

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

Record
AUTOSAR/AP/record/SWS_DM_02293
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02293@rel:R25-11#956440b4
Content hash
956440b4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02293
Status: valid/unmigrated Version: rel:R25-11#c72144cd 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_DM_02293@rel:R25-11#c72144cd
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

फ़ंक्शन Begin [SWS_DM_02279] Upstream: RS_Diag_04260

auto Begin () noexcept -> DiagnosticSovdRecordContentElementData Iterator;

Returns the begin operator of a RecordContentElementData. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdRecordContentElementDataView
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
DiagnosticSovdRecordContentElementDataIteratorThe iterator

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

Record
AUTOSAR/AP/record/SWS_DM_02279
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02279@rel:R25-11#b991f085
Content hash
b991f085
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02279
Status: valid/unmigrated Version: rel:R25-11#c5fa8675 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_DM_02279@rel:R25-11#c5fa8675
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

फ़ंक्शन CBegin [SWS_DM_02281] Upstream: RS_Diag_04260

auto CBegin () noexcept -> DiagnosticSovdRecordContentElementDataConst Iterator;

Returns the begin operator of a RecordContentElementData. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdRecordContentElementDataView
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
DiagnosticSovdRecordContentElementDataConstIteratorThe iterator

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

Record
AUTOSAR/AP/record/SWS_DM_02281
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02281@rel:R25-11#6bde9cf0
Content hash
6bde9cf0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02281
Status: valid/unmigrated Version: rel:R25-11#146e5829 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_DM_02281@rel:R25-11#146e5829
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

फ़ंक्शन CEnd [SWS_DM_02282] Upstream: RS_Diag_04260

auto CEnd () noexcept -> DiagnosticSovdRecordContentElementDataConst Iterator;

Returns the end operator of a RecordContentElementData. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdRecordContentElementDataView
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
DiagnosticSovdRecordContentElementDataConstIteratorThe iterator

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

Record
AUTOSAR/AP/record/SWS_DM_02282
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02282@rel:R25-11#8234cc23
Content hash
8234cc23
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02282
Status: valid/unmigrated Version: rel:R25-11#e0709028 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_DM_02282@rel:R25-11#e0709028
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

फ़ंक्शन Capacity [SWS_DM_02274] Upstream: RS_Diag_04260

auto Capacity () const noexcept -> std::size_t;

Returns the capacity of the RecordContentElementData. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdRecordContentElementDataView
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
std::size_tThe capacity of the RecordContentElementData

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

Record
AUTOSAR/AP/record/SWS_DM_02274
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02274@rel:R25-11#43e7c377
Content hash
43e7c377
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02274
Status: valid/unmigrated Version: rel:R25-11#fa9d250c 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_DM_02274@rel:R25-11#fa9d250c
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

फ़ंक्शन Clear [SWS_DM_02276] Upstream: RS_Diag_04260

auto Clear () noexcept -> void;

Removes all the content element in the RecordContentElementData. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: b8ae42318d33 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग और सिमेंटिक्स

क्लास ara::diag::DiagnosticSovdRecordContentElementDataView की विधि Clear किसी RecordContentElementData से सभी सामग्री तत्वों को सिंक्रोनस रूप से हटाने के काम आती है [SWS_DM_02276]। यह कॉल हेडर #include "ara/diag/diagnostic_sovd_content_element_data.h" के माध्यम से बिना किसी पैरामीटर के की जाती है और इसका कोई रिटर्न मान नहीं होता है (void) [SWS_DM_02276]।

निष्पादन के लिए एक पूर्वापेक्षा के रूप में परिभाषित किया गया है कि अंतर्निहित डेटा इंस्टेंस RecordContentElementData या ContentData प्रकार का होना चाहिए [SWS_DM_02276]। व्याख्या: चूँकि फ़ंक्शन को noexcept के रूप में घोषित किया गया है और यह कोई त्रुटि स्थिति रिपोर्ट नहीं करता है, इसलिए व्यू ऑब्जेक्ट के निर्माण के समय ही इस डेटा प्रकार का अनुपालन पहले से सुनिश्चित होना चाहिए। प्रश्न Q-93e43eee235a8f12 (खुला)

त्रुटि हैंडलिंग और समवर्तीता

निष्पादन सुरक्षा के संबंध में, विधि को exception safe के रूप में निर्दिष्ट किया गया है और noexcept घोषणा के कारण यह कोई अपवाद नहीं उठाती है [SWS_DM_02276]। इसके अलावा, कॉल को स्पष्ट रूप से thread-safe के रूप में वर्गीकृत किया गया है, ताकि समवर्ती एक्सेस की अनुमति हो [SWS_DM_02276]।

परस्पर क्रिया और विभेदन

SOVD परिवेश में, यह फ़ंक्शन DiagnosticSovdContentElementData [SWS_DM_02338] पर मौजूद विधि Clear से भिन्न है, जो ऐरे तत्वों के लिए परिभाषित है और एक ara::core::Result<void> लौटाती है। इसी प्रकार, ऐरेज़ के लिए व्यू विधि [SWS_DM_02233] के साथ-साथ ara::diag::DTCInformation::Clear के माध्यम से DTCs के एसिंक्रोनस विलोपन से भी एक कार्यात्मक अंतर है, जो एक ara::core::Future<void> लौटाता है और थ्रेड-सुरक्षित नहीं है [SWS_DM_00671]।

यह उपयोग नोट विनिर्देश के आधार पर स्वचालित रूप से जनरेट किया गया था।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdRecordContentElementDataView
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_DM_02276
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02276@rel:R25-11#f8c56397
Content hash
f8c56397
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02276
Status: valid/unmigrated Version: rel:R25-11#7b14c56c 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_DM_02276@rel:R25-11#7b14c56c
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

फ़ंक्शन Empty [SWS_DM_02275] Upstream: RS_Diag_04260

auto Empty () const noexcept -> bool;

Returns if the RecordContentElementData is empty. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdRecordContentElementDataView
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
boolIf the record is empty

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

Record
AUTOSAR/AP/record/SWS_DM_02275
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02275@rel:R25-11#bc701160
Content hash
bc701160
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02275
Status: valid/unmigrated Version: rel:R25-11#e44b3c9e 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_DM_02275@rel:R25-11#e44b3c9e
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

फ़ंक्शन End [SWS_DM_02280] Upstream: RS_Diag_04260

auto End () noexcept -> DiagnosticSovdRecordContentElementData Iterator;

Returns the end operator of a RecordContentElementData. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdRecordContentElementDataView
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
DiagnosticSovdRecordContentElementDataIteratorThe iterator

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

Record
AUTOSAR/AP/record/SWS_DM_02280
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02280@rel:R25-11#15c170fb
Content hash
15c170fb
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02280
Status: valid/unmigrated Version: rel:R25-11#030171ae 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_DM_02280@rel:R25-11#030171ae
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

फ़ंक्शन Erase [SWS_DM_02294] Upstream: RS_Diag_04260

auto Erase (DiagnosticSovdRecordContentElementDataIterator iterator) noexcept -> ara::core::Result< void >;

Erases a content element from DiagnosticSovdRecordContentElementData. The current element shall be of RecordContentElementData or ContentData

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: e909dafa05b8 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

क्लास ara::diag::DiagnosticSovdRecordContentElementDataView का मेंबर फ़ंक्शन Erase किसी डायग्नोस्टिक डेटा रिकॉर्ड से अधीनस्थ सामग्री तत्व को हटाने के काम आता है ([SWS_DM_02294], AUTOSAR_AP_SWS_Diagnostics §8.60.11.1.1.14 “Erase”)। घोषणा हेडर #include "ara/diag/diagnostic_sovd_content_element_data.h" के माध्यम से प्रदान की जाती है ([SWS_DM_02294])।

उपयोग और सिमेंटिक्स: इनपुट पैरामीटर के रूप में, फ़ंक्शन DiagnosticSovdRecordContentElementDataIterator प्रकार का इटरेटर iterator लेता है, जो विशेष रूप से हटाए जाने वाले तत्व को संदर्भित करता है ([SWS_DM_02294])। व्याख्या: चूँकि फ़ंक्शन को noexcept के साथ घोषित किया गया है और यह फ़्यूचर ऑब्जेक्ट के बजाय सीधे ara::core::Result<void> लौटाता है, इसलिए विलोपन प्रक्रिया संभवतः कॉलर के थ्रेड में सिंक्रोनस रूप से निष्पादित होती है। प्रश्न Q-148ae95c28910b16 (खुला) सफल निष्पादन पर, यह विधि एक रिक्त ara::core::Result<void> लौटाती है ([SWS_DM_02294])।

त्रुटि प्रबंधन: यदि प्रभावित डेटा तत्व न तो RecordContentElementData प्रकार का है और न ही ContentData प्रकार का है, या तत्व को कंटेनर से हटाया नहीं जा सका, तो ऑपरेशन विफल हो जाता है ([SWS_DM_02294])। इन त्रुटि स्थितियों में, फ़ंक्शन त्रुटि कोड DiagErrc::kInvalidArgument के साथ एक त्रुटि लौटाता है ([SWS_DM_02294])।

समवर्तीता और परस्पर क्रिया: कॉल के लिए, इंटरफ़ेस को thread-safe और साथ ही exception safe के रूप में निर्दिष्ट किया गया है ([SWS_DM_02294])। कार्यात्मक रूप से, यह फ़ंक्शन ऐरे वैरिएंट ara::diag::DiagnosticSovdArrayContentElementDataView::Erase ([SWS_DM_02247], AUTOSAR_AP_SWS_Diagnostics §8.60.5.1.1.8 “Erase”) से मेल खाता है और ऐरेज़ ([SWS_DM_02352]) तथा रिकॉर्ड्स ([SWS_DM_02374]) के लिए कंटेनर क्लास DiagnosticSovdContentElementData के बुनियादी विलोपन ऑपरेशनों के साथ परस्पर क्रिया करता है।

यह पाठ AI द्वारा जनरेट किया गया था और यह केवल मार्गदर्शन के रूप में कार्य करता है। केवल आधिकारिक AUTOSAR विनिर्देश ही बाध्यकारी हैं।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdRecordContentElementDataView
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
iteratorThe iterator pointing to the element to erase

Rückgabewert

TypBeschreibung
ara::core::Result< void >void result or an error if DiagnosticSovdContentElementData is not of type RecordContentElementData or ContentData OR the element couldn’t be erased

Fehler

FehlercodeBeschreibung
DiagErrc::kInvalidArgumentrollback_semantics e.g. kPreFailed with internal debouncing

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

Record
AUTOSAR/AP/record/SWS_DM_02294
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02294@rel:R25-11#eb7c58ea
Content hash
eb7c58ea
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02294
Status: valid/unmigrated Version: rel:R25-11#3ad27e08 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_DM_02294@rel:R25-11#3ad27e08
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

फ़ंक्शन Find [SWS_DM_02285] Upstream: RS_Diag_04260

auto Find (ara::core::StringView key) noexcept -> DiagnosticSovdRecord ContentElementDataIterator;

Find an element with the specified key. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 771db16932a9 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

View क्लास ara::diag::DiagnosticSovdRecordContentElementDataView का सिंक्रोनस सदस्य फ़ंक्शन Find किसी तत्व को उसकी कुंजी के आधार पर खोजने के लिए कार्य करता है ([SWS_DM_02285], AUTOSAR_AP_SWS_Diagnostics §8.60.11.1.1.15 “Find”)। प्रकार ara::core::StringView का key पैरामीटर के रूप में पास किया जाता है; परिणाम के रूप में फ़ंक्शन प्रकार DiagnosticSovdRecordContentElementDataIterator का एक परिवर्तनीय (modifiable) इटरेटर लौटाता है ([SWS_DM_02285])। इसके उपयोग के लिए पूर्वशर्त यह है कि संबंधित DiagnosticSovdContentElementData प्रकार RecordContentElementData या ContentData का हो ([SWS_DM_02285])।

त्रुटि हैंडलिंग और समवर्तीता के संबंध में, फ़ंक्शन को noexcept के रूप में घोषित किया गया है, इसे अपवाद-सुरक्षित (exception safe) माना जाता है और विनिर्देश के अनुसार यह थ्रेड-सुरक्षित (thread-safe) है ([SWS_DM_02285])। चूंकि रिटर्न प्रकार सीधे एक इटरेटर है न कि ara::core::Result, इसलिए फ़ंक्शन किसी विशिष्ट त्रुटि कोड की रिपोर्ट नहीं करता है; यदि खोजी गई कुंजी मौजूद नहीं है, तो संभवतः एक एंड-इटरेटर लौटाया जाता है। प्रश्न Q-a34054c9851517ae (खुला)

संबंधित इंटरफ़ेस के साथ परस्पर क्रिया में, उसी View क्लास पर एक स्थिर (constant) ओवरलोड ([SWS_DM_02286], AUTOSAR_AP_SWS_Diagnostics §8.60.11.1.1.16 “Find”) मौजूद है, जो DiagnosticSovdRecordContentElementDataConstIterator लौटाता है। क्लास DiagnosticSovdRecordContentElementDataConstView ([SWS_DM_02306], AUTOSAR_AP_SWS_Diagnostics §8.60.9.1.1.7 “Find”) भी एक समान स्थिर इंटरफ़ेस प्रदान करता है। इसके विपरीत, DiagnosticSovdContentElementData पर method Find अमान्य प्रकारों या अनुपलब्ध कुंजियों को त्रुटियों के रूप में मैप करने के लिए अपने इटरेटर को ara::core::Result में समाहित करता है ([SWS_DM_02365], [SWS_DM_02366], AUTOSAR_AP_SWS_Diagnostics §8.60.6.1.2.25 “Find”)।

यह उपयोग नोट एक AI द्वारा तैयार किया गया था और AUTOSAR मानक रिलीज़ R25-11 पर आधारित है।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdRecordContentElementDataView
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
keyThe key

Rückgabewert

TypBeschreibung
DiagnosticSovdRecordContentElementDataIteratorA DiagnosticSovdRecordContentElementDataIterator

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

Record
AUTOSAR/AP/record/SWS_DM_02285
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02285@rel:R25-11#5557492e
Content hash
5557492e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02285
Status: valid/unmigrated Version: rel:R25-11#5753ce0a 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_DM_02285@rel:R25-11#5753ce0a
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

फ़ंक्शन Find [SWS_DM_02286] Upstream: RS_Diag_04260

auto Find (ara::core::StringView key) const noexcept -> DiagnosticSovd RecordContentElementDataConstIterator;

Find an element with the specified key. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 8f0823d35aa0 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

क्लास ara::diag::DiagnosticSovdRecordContentElementDataView का सिंक्रोनस मेंबर फ़ंक्शन Find किसी डेटा तत्व को उसकी कुंजी के आधार पर रीड-ओनली रूप में खोजने का काम करता है ([SWS_DM_02286], AUTOSAR AP SWS Diagnostics §8.60.11.1.1.16 “Find”)।

उपयोग और पैरामीटर

यह फ़ंक्शन खोजी जा रही कुंजी key को ara::core::StringView के रूप में स्वीकार करता है ([SWS_DM_02286])। कॉल के लिए पूर्वापेक्षा यह है कि इंस्टेंस डायग्नोस्टिक प्रकार RecordContentElementData या ContentData का हो ([SWS_DM_02286])। रिटर्न मान के रूप में, यह सिंक्रोनस रूप से DiagnosticSovdRecordContentElementDataConstIterator प्रकार का एक कॉन्सटेंट इटरेटर लौटाता है ([SWS_DM_02286])। यदि कुंजी से मेल खाने वाला कोई तत्व मौजूद नहीं है, तो संभवतः एक ऐसा इटरेटर लौटाया जाएगा जो अनुक्रम के अंत को चिह्नित करता है (व्याख्या)। प्रश्न Q-41a1eba77c0bc236 (खुला)

त्रुटि हैंडलिंग और समवर्तीता

इंटरफ़ेस को noexcept के साथ घोषित किया गया है, यह अपवाद सुरक्षा (exception safe) सुनिश्चित करता है और समवर्ती एक्सेस के लिए थ्रेड-सुरक्षित (thread-safe) निर्दिष्ट है ([SWS_DM_02286])। ara::diag::DiagnosticSovdContentElementData ([SWS_DM_02366]) पर मौजूद विधि के विपरीत, यहाँ ara::core::Result के माध्यम से कोई रिटर्न नहीं होता है, जिसके कारण त्रुटि स्थितियों को त्रुटि कोड के माध्यम से प्रदर्शित नहीं किया जाता है।

इंटरैक्शन

उसी व्यू पर राइट या संशोधित करने वाले एक्सेस के लिए, परिवर्तनीय इटरेटर के साथ गैर-कॉन्सटेंट ओवरलोड [SWS_DM_02285] मौजूद है। केवल रीड-ओनली व्यूज़ के लिए, क्लास DiagnosticSovdRecordContentElementDataConstView एक समान Find फ़ंक्शन प्रदान करती है ([SWS_DM_02306])।

यह उपयोग संबंधी निर्देश विनिर्देश की आवश्यकताओं के आधार पर स्वचालित रूप से तैयार किया गया था।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdRecordContentElementDataView
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
keyThe key

Rückgabewert

TypBeschreibung
DiagnosticSovdRecordContentElementDataConstIteratorA DiagnosticSovdRecordContentElementDataIterator

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

Record
AUTOSAR/AP/record/SWS_DM_02286
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02286@rel:R25-11#d49bae15
Content hash
d49bae15
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02286
Status: valid/unmigrated Version: rel:R25-11#4bc892e6 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_DM_02286@rel:R25-11#4bc892e6
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

फ़ंक्शन HasContentElement [SWS_DM_02284] Upstream: RS_Diag_04260

auto HasContentElement (ara::core::StringView key) const noexcept -> ara::core::Result< bool >;

Returns if the RecordContentElementData contains an element with the specified key. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdRecordContentElementDataView
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
keyThe key

Rückgabewert

TypBeschreibung
ara::core::Result< bool >boolean indicating if the elements is found or an error if Diagnostic SovdAbstractContentData is not of type RecordContentElement Data or ContentData OR the key is not found

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

Record
AUTOSAR/AP/record/SWS_DM_02284
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02284@rel:R25-11#ef2944ad
Content hash
ef2944ad
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02284
Status: valid/unmigrated Version: rel:R25-11#5b0918b8 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_DM_02284@rel:R25-11#5b0918b8
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

फ़ंक्शन HasError [SWS_DM_02271] Upstream: RS_Diag_04260

auto HasError () const noexcept -> ara::core::Result< void >;

Returns if the content contains an error.

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdRecordContentElementDataView
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
ara::core::Result< void >void result if it doesn’t contain an error, otherwise the ara::diag::DiagSovdErrc

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

Record
AUTOSAR/AP/record/SWS_DM_02271
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02271@rel:R25-11#c72ab109
Content hash
c72ab109
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02271
Status: valid/unmigrated Version: rel:R25-11#ee74ea5a 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_DM_02271@rel:R25-11#ee74ea5a
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

फ़ंक्शन Remove [SWS_DM_02287] Upstream: RS_Diag_04260

auto Remove (ara::core::StringView key) noexcept -> ara::core::Result< bool >;

Removes an element with the specified key. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 1f7163c164e1 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

क्लास ara::diag::DiagnosticSovdRecordContentElementDataView का सिंक्रोनस सदस्य फ़ंक्शन Remove किसी प्रविष्टि को उसकी कुंजी [SWS_DM_02287] के आधार पर लक्षित रूप से हटाने का कार्य करता है। यह हेडर ara/diag/diagnostic_sovd_content_element_data.h में परिभाषित है और प्रकार ara::core::StringView के पैरामीटर key को संसाधित करता है AUTOSAR_AP_SWS_Diagnostics §8.60.11.1.1.19 “Remove”।

रिटर्न मान के रूप में, फ़ंक्शन एक ara::core::Result<bool> लौटाता है [SWS_DM_02287]:

  • सफलता के मामले में, समाहित बूलियन मान यह संकेत देता है कि क्या लक्षित तत्व को वास्तव में हटाया जा सका।
  • ara::core::Result के माध्यम से एक त्रुटि की सूचना दी जाती है, यदि तत्व प्रकार RecordContentElementData या ContentData का नहीं है या निर्दिष्ट कुंजी नहीं मिली थी [SWS_DM_02287]।

समवर्तीता और प्रतिबंधों के संबंध में, फ़ंक्शन को अपवाद-सुरक्षित (exception safe) और थ्रेड-सुरक्षित (thread-safe) के रूप में निर्दिष्ट किया गया है तथा noexcept के साथ घोषित किया गया है [SWS_DM_02287]। कॉल शर्त के रूप में, विनिर्देश अनिवार्य रूप से मांग करता है कि अंतर्निहित इंस्टेंस प्रकार RecordContentElementData या ContentData का हो [SWS_DM_02287]।

व्याख्या: कार्यात्मक रूप से, ऑपरेशन डेटा क्लास ara::diag::DiagnosticSovdContentElementData::Remove [SWS_DM_02367] पर हटाने के अनुरूप होना चाहिए, क्योंकि हस्ताक्षर, पैरामीटर और त्रुटि परिदृश्य पूरी तरह से समान रूप से निर्दिष्ट हैं AUTOSAR_AP_SWS_Diagnostics §8.60.6.1.2.54 “Remove”। प्रश्न Q-5a9ac29a9b5814be (खुला)

यह उपयोग नोट एक AI द्वारा बनाया गया था और विनिर्देश की आवश्यकताओं को सारांशित करता है।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdRecordContentElementDataView
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
keyThe key

Rückgabewert

TypBeschreibung
ara::core::Result< bool >A boolean indicating if the element could be removed or an error if DiagnosticSovdContentElementData is not of type RecordContent ElementData or ContentData OR the key is not found

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

Record
AUTOSAR/AP/record/SWS_DM_02287
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02287@rel:R25-11#2d8db93d
Content hash
2d8db93d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02287
Status: valid/unmigrated Version: rel:R25-11#860cb787 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_DM_02287@rel:R25-11#860cb787
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

फ़ंक्शन Reserve [SWS_DM_02283] Upstream: RS_Diag_04260

auto Reserve (std::size_t capacity) noexcept -> void;

Reserves the capacity of the RecordContentElementData.

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: e9efb8221afc उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

क्लास ara::diag::DiagnosticSovdRecordContentElementDataView ([SWS_DM_02283], AUTOSAR_AP_SWS_Diagnostics §8.60.11.1.1.20 “Reserve”) का मेथड Reserve RecordContentElementData के लिए वांछित मेमोरी क्षमता को सिंक्रोनस रूप से आरक्षित करता है। कॉल हेडर #include "ara/diag/diagnostic_sovd_content_element_data.h" के माध्यम से प्रदान की जाती है और प्रकार std::size_t का पैरामीटर capacity स्वीकार करती है। रिटर्न मान के रूप में फ़ंक्शन void लौटाता है।

इंटरफ़ेस को noexcept के रूप में घोषित किया गया है और अपवाद-सुरक्षित (“exception safe”) के रूप में निर्दिष्ट किया गया है ([SWS_DM_02283])। इसमें न तो कोई विशिष्ट त्रुटि कोड लौटाए जाते हैं और न ही कोई त्रुटि संरचनाएँ। व्याख्या: यदि अनुरोधित क्षमता का आवंटन विफल हो जाता है, तो ara::core::Result जैसे रिटर्न चैनल के अभाव में त्रुटि को आंतरिक रूप से संभाला जा सकता है या यह प्रोग्राम के बंद होने (termination) का कारण बन सकती है। प्रश्न Q-ddbaac36f8ed58ad (खुला)

समवर्तीता (concurrency) के संबंध में, फ़ंक्शन को थ्रेड-सुरक्षित (“thread-safe”) के रूप में परिभाषित किया गया है ([SWS_DM_02283])। अतः इसे अतिरिक्त सिंक्रोनाइज़ेशन उपायों के बिना एक से अधिक थ्रेड्स से समानांतर रूप से कॉल किया जा सकता है।

संबंधित इंटरफ़ेस के साथ परस्पर क्रिया में, ऐरे-वेरिएंट DiagnosticSovdArrayContentElementDataView::Reserve ([SWS_DM_02240]) समान रूप से व्यवहार करता है। इसके विपरीत, DiagnosticSovdContentElementData::Reserve ([SWS_DM_02345]) प्रकार के विरोधों (type conflicts) की रिपोर्ट करने के लिए एक ara::core::Result<void> लौटाता है। दूसरी ओर, फ़ंक्शन DiagnosticServiceDynamicAccessList::Reserve ([SWS_DM_01163]) सेवा-पैटर्न (service patterns) के लिए वर्स्ट-केस पूर्व-आवंटन के रूप में कार्य करता है, दो पैरामीटर की अपेक्षा करता है और थ्रेड-सुरक्षित नहीं है।

यह पाठ एक AI द्वारा उत्पन्न किया गया था और विनिर्देश के आधार पर मार्गदर्शन के रूप में कार्य करता है।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdRecordContentElementDataView
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
capacityThe capacity

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_DM_02283
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02283@rel:R25-11#3b8d783d
Content hash
3b8d783d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02283
Status: valid/unmigrated Version: rel:R25-11#6302b215 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_DM_02283@rel:R25-11#6302b215
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

फ़ंक्शन SetError [SWS_DM_02272] Upstream: RS_Diag_04260

void SetError (ara::core::ErrorCode error_code) noexcept;

Sets the content to be erroneous.

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdRecordContentElementDataView
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
error_codeThe error to set

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_DM_02272
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02272@rel:R25-11#bca95242
Content hash
bca95242
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02272
Status: valid/unmigrated Version: rel:R25-11#52f6abe5 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_DM_02272@rel:R25-11#52f6abe5
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

फ़ंक्शन Size [SWS_DM_02273] Upstream: RS_Diag_04260

auto Size () const noexcept -> std::size_t;

Returns the count of elements in the RecordContentElementData. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdRecordContentElementDataView
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
std::size_tThe count of the RecordContentElementData

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

Record
AUTOSAR/AP/record/SWS_DM_02273
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02273@rel:R25-11#bab43f0a
Content hash
bab43f0a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02273
Status: valid/unmigrated Version: rel:R25-11#914c329d 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_DM_02273@rel:R25-11#914c329d
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_DM_02277] Upstream: RS_Diag_04260

auto operator[] (ara::core::StringView key) noexcept -> ara::core::Result< std::reference_wrapper< DiagnosticSovdContent ElementData > >;

Access the content element with specified key. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdRecordContentElementDataView
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
keyThe key

Rückgabewert

TypBeschreibung
ara::core::Result<std::reference_wrapper<DiagnosticSovdContentElementData > >reference to the content element or an error if DiagnosticSovdContentElementData is not of type RecordContentElementData or ContentData OR the key is not found

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

Record
AUTOSAR/AP/record/SWS_DM_02277
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02277@rel:R25-11#8a50bc4a
Content hash
8a50bc4a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02277
Status: valid/unmigrated Version: rel:R25-11#c829f6e0 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_DM_02277@rel:R25-11#c829f6e0
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_DM_02278] Upstream: RS_Diag_04260

auto operator[] (ara::core::StringView key) const noexcept -> ara::core::Result< std::reference_wrapper< DiagnosticSovdContent ElementData const > >;

Access the content element with specified key. This DiagnosticSovdContentElementData shall be of type RecordContentElementData or ContentData

Header-Datei#include "ara/diag/diagnostic_sovd_content_element_data.h"
Scopeclass ara::diag::DiagnosticSovdRecordContentElementDataView
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
keyThe key

Rückgabewert

TypBeschreibung
ara::core::Result<std::reference_wrapper<DiagnosticSovdContentElementData const > >reference to the content element or an error if DiagnosticSovdContentElementData is not of type RecordContentElementData or ContentData OR the key is not found

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

Record
AUTOSAR/AP/record/SWS_DM_02278
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02278@rel:R25-11#716f5bec
Content hash
716f5bec
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02278
Status: valid/unmigrated Version: rel:R25-11#c7d8c978 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_DM_02278@rel:R25-11#c7d8c978
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