DEENESPTFRRUARHIKOZHNL

क्लास ara::core::Bitset

[SWS_CORE_01701]

template <std::size_t N> class Bitset {...};

Implementation of std::bitset type from [bitset]

Header-Datei#include "ara/core/bitset.h"
Forwarding-Header#include "ara/core/core_fwd.h"
Scopenamespace ara::core

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

Adaptive Core के लिए Noexcept गारंटियों के साथ एक मानक-अनुरूप, टाइप-सुरक्षित निश्चित-आकार बिटफ़ील्ड अमूर्तता प्रदान करता है।
एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: ae7240ca6617 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

Adaptive Core के लिए Noexcept गारंटियों के साथ एक मानक-अनुरूप, टाइप-सुरक्षित निश्चित-आकार बिटफ़ील्ड अमूर्तता प्रदान करता है।

क्लास टेम्प्लेट ara::core::Bitset निश्चित आकार के बिट अनुक्रमों के लिए std::bitset का एक AUTOSAR Adaptive-अनुकूलित कार्यान्वयन प्रदान करता है [SWS_CORE_01741]। यह बिट हेरफेर, लॉजिकल ऑपरेशनों और सख्त Noexcept गारंटियों के साथ स्केलर पूर्णांक प्रकारों में अनुकूलित रूपांतरणों के लिए व्यापक ऑपरेशन प्रदान करता है [SWS_CORE_01738]। स्थिति-आधारित संशोधन C++ अपवादों के बजाय ara::core::Result के माध्यम से अमान्य इंडेक्स की रिपोर्ट करते हैं, जबकि रूपांतरण ओवरफ्लो त्रुटियों को निर्धारक रूप से संभालते हैं। इसके परिणामस्वरूप, यह क्लास विशेष रूप से संसाधन-कुशल और विफल-सुरक्षित इलेक्ट्रॉनिक नियंत्रण इकाई (ECU) कार्यों के लिए उपयुक्त है।

संदर्भ

टेम्प्लेट क्लास ara::core::Bitset Adaptive Platform के भीतर कंपाइल समय पर निर्धारित लंबाई N वाले बिट अनुक्रमों के लिए C++ मानक प्रकार std::bitset का एक कार्यान्वयन प्रदान करती है [SWS_CORE_01741]। AUTOSAR पारिस्थितिकी तंत्र में, यह क्लास नियंत्रण इकाइयों पर बिटफ़ील्ड, स्थिति मास्क और फ़्लैग रजिस्टरों के उच्च-प्रदर्शन और टाइप-सुरक्षित प्रबंधन का कार्य करती है। यह std::basic_string के बजाय प्लेटफ़ॉर्म-विशिष्ट प्रकार ara::core::BasicString का समर्थन करके मॉड्यूल core के प्रकार सिस्टम में निर्बाध रूप से एकीकृत होती है [SWS_CORE_01749], [SWS_CORE_01751]। इसके अतिरिक्त, AUTOSAR मानकीकृत इंटरफ़ेस को std::uint8_t, std::uint16_t, std::uint32_t और std::uint64_t जैसे अहस्ताक्षरित निश्चित-चौड़ाई वाले पूर्णांक प्रकारों में समर्पित रूपांतरण फ़ंक्शनों के साथ विस्तारित करता है [SWS_CORE_01736], [SWS_CORE_01737], [SWS_CORE_01738], [SWS_CORE_01739]।

जीवनचक्र

एक इंस्टेंस का निर्माण कई कंस्ट्रक्टरों के माध्यम से लचीले ढंग से होता है। डिफ़ॉल्ट कंस्ट्रक्टर सभी N बिट्स को शून्य मानों के रूप में इनिशियलाइज़ करता है और इसे constexpr तथा noexcept के रूप में घोषित किया गया है [SWS_CORE_01713]। वैकल्पिक रूप से, एक Bitset को unsigned long long प्रकार के स्केलर मान [SWS_CORE_01719] से या टेक्स्ट-आधारित रूप से ara::core::BasicString [SWS_CORE_01749] अथवा एक नल-टर्मिनेटेड स्ट्रिंग पॉइंटर const CharT* [SWS_CORE_01750] से त्वरित किया जा सकता है। कॉपी और मूव कंस्ट्रक्टर उपलब्ध हैं और उन्हें noexcept=default के रूप में परिभाषित किया गया है [SWS_CORE_01714], [SWS_CORE_01716]। इसी प्रकार संगत असाइनमेंट ऑपरेटर भी प्रदान किए जाते हैं [SWS_CORE_01715], [SWS_CORE_01717]। डिस्ट्रक्टर को noexcept और थ्रेड-सुरक्षित निर्दिष्ट किया गया है [SWS_CORE_01718]। समवर्तीता के संबंध में, पूर्णांक रूपांतरण फ़ंक्शन भी थ्रेड-सुरक्षित हैं [SWS_CORE_01736], [SWS_CORE_01737], जबकि उसी Bitset इंस्टेंस पर संशोधित करने वाले एक्सेस को सिंक्रोनाइज़ किया जाना चाहिए।

उपयोग पथ

एक विशिष्ट उपयोग पथ में इंस्टैंशिएशन, उसके बाद अलग-अलग बिट्स या बिट मास्क का हेरफेर और अंत में बिटफ़ील्ड का मूल्यांकन या रूपांतरण शामिल है:

  • निर्माण: Bitset को आमतौर पर एक प्रारंभिक मान [SWS_CORE_01719] के साथ बनाया जाता है या डिफ़ॉल्ट कंस्ट्रक्टर [SWS_CORE_01713] के माध्यम से इनिशियलाइज़ किया जाता है।
  • हेरफेर: अलग-अलग बिट्स को set [SWS_CORE_01726], reset [SWS_CORE_01728] और flip [SWS_CORE_01731] के स्थिति-आधारित कॉल के माध्यम से संशोधित किया जा सकता है। पूरे बिटफ़ील्ड के लिए set [SWS_CORE_01725], reset [SWS_CORE_01727] और flip [SWS_CORE_01730] के पैरामीटर-रहित वेरिएंट के साथ-साथ बिटवाइज़ लॉजिकल और शिफ्ट ऑपरेटर जैसे operator&= [SWS_CORE_01720], operator|= [SWS_CORE_01721], operatorˆ= [SWS_CORE_01722], operator~ [SWS_CORE_01729], operator<<= [SWS_CORE_01723] और operator>>= [SWS_CORE_01724] उपलब्ध हैं।
  • मूल्यांकन: स्थिति को test [SWS_CORE_01743], operator[] [SWS_CORE_01732], [SWS_CORE_01733] या विधेय जैसे all [SWS_CORE_01744], any [SWS_CORE_01745], none [SWS_CORE_01746] तथा count [SWS_CORE_01740] के माध्यम से क्वेरी किया जा सकता है।
  • रूपांतरण: आगे के प्रसंस्करण के लिए, बिटफ़ील्ड सामग्री को संख्यात्मक निश्चित-चौड़ाई वाले प्रकारों में परिवर्तित किया जा सकता है, उदाहरण के लिए to_uint32t [SWS_CORE_01738] के माध्यम से, या to_string का उपयोग करके एक स्ट्रिंग के रूप में निर्यात किया जा सकता है [SWS_CORE_01751]।
Typischer Nutzungspfad von ara::core::Bitsetएप्लिकेशनara::core::BitsetUse Case: InitialisierungBitset(val)Instanz erzeugtUse Case: Bit-Manipulationset(pos, true)Result<Bitset&>flip()Bitset&Use Case: स्थिति जांच और रूपांतरणtest(pos)boolto_uint32t()std::uint32_t Wert

अनुक्रम आरेख: एक Bitset के इनिशियलाइज़ेशन, हेरफेर, मूल्यांकन और रूपांतरण के दौरान विशिष्ट इंटरैक्शन अनुक्रम। स्रोत: [SWS_CORE_01719], [SWS_CORE_01726], [SWS_CORE_01730], [SWS_CORE_01743], [SWS_CORE_01738]

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

std::bitset के विपरीत, ara::core::Bitset अपवादों के बिना एक दोष-सहिष्णु, निर्धारक त्रुटि प्रबंधन अवधारणा का उपयोग करता है (noexcept):

  • स्थिति एक्सेस में सीमा उल्लंघन: हेरफेर करने वाले फ़ंक्शनों set(pos) [SWS_CORE_01726], reset(pos) [SWS_CORE_01728] और flip(pos) [SWS_CORE_01731] में रिटर्न प्रकार Result<Bitset<N>&> का उपयोग किया जाता है। यदि pos वैध सीमा से बाहर है, तो std::out_of_range के बजाय IsoStdOutOfRangeViolation की रिपोर्ट की जाती है। व्याख्या: ara::core::Result और noexcept का सुसंगत उपयोग संभवतः Adaptive Platform के सुरक्षा-महत्वपूर्ण क्षेत्रों में सख्त नो-एक्सेप्शन विनिर्देशों के अनुपालन का काम करता है। प्रश्न Q-322c53fff705bce6 (खुला) अमान्य pos होने पर परीक्षण फ़ंक्शन test(pos) भी IsoStdOutOfRangeViolation को इंगित करता है [SWS_CORE_01743]।
  • अमान्य स्ट्रिंग्स: ara::core::BasicString [SWS_CORE_01749] से निर्माण के दौरान, pos > size() पर एक IsoStdOutOfRangeViolation और 0 या 1 के असमान वर्णों पर एक IsoStdInvalidArgumentViolation (std::invalid_argument के बजाय) ट्रिगर होता है।
  • संख्यात्मक ओवरफ़्लो: यदि दर्शाई गई बिट स्थिति को अनुरोधित लक्ष्य प्रकार में मैप नहीं किया जा सकता है, तो रूपांतरण फ़ंक्शन to_uint8t [SWS_CORE_01736], to_uint16t [SWS_CORE_01737], to_uint32t [SWS_CORE_01738], to_uint64t [SWS_CORE_01739], to_ulong [SWS_CORE_01734] और to_ullong [SWS_CORE_01735] क्रमशः std::overflow_error के बजाय IsoStdOverflowErrorViolation रिपोर्ट करते हैं।
  • सीमित अपवाद-सुरक्षा: जबकि अधिकांश ऑपरेशन noexcept और अपवाद-सुरक्षित हैं, पॉइंटर्स से निर्माण const CharT* [SWS_CORE_01750] तथा to_string [SWS_CORE_01751] का उपयोग करके निर्यात को स्पष्ट रूप से अपवाद-सुरक्षित नहीं (not exception safe) के रूप में वर्गीकृत किया गया है।

यह क्लास मार्गदर्शिका AUTOSAR Adaptive Release R25-11 विनिर्देश पर आधारित है और स्वचालित रूप से बनाई गई थी।

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

क्लास आरेख

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

G nara__core__Bitset255 Bitset + Bitset() + operator=() + ~Bitset() + size() + to_string() + to_uint16t() + to_uint32t() + to_uint64t() + to_uint8t() + to_ullong() + to_ulong() + all() + any() + count() + none() + operator[]() … 13 weitere

विवरण दृश्य

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

कंस्ट्रक्टर और डिस्ट्रक्टर

Bitset फ़ंक्शन 6

≙ [bitset]

ओवरलोड Bitset 6
constexpr Bitset () noexcept=default; SWS_CORE_01713
Bitset (const Bitset &) noexcept=default; SWS_CORE_01714
Bitset (Bitset &&) noexcept=default; SWS_CORE_01716
constexpr Bitset (unsigned long long val) noexcept; SWS_CORE_01719
template <class CharT, class Traits, class Allocator> explicit Bitset (const BasicString< Allocator > &str, typename Basic String< Allocator >::size_type pos=0, typename BasicString< Allocator >::size_type n=BasicString< Allocator >::npos, CharT zero=CharT(’0’), CharT one=CharT(’1’)) noexcept; SWS_CORE_01749
template <class CharT> explicit Bitset (const CharT *str, typename BasicString< CharT >::size_type n=BasicString< CharT >::npos, CharT zero=CharT(’0’), Char T one=CharT(’1’)); SWS_CORE_01750
~Bitset फ़ंक्शन

[AUTOSAR defined] not present in ISO-14882. Destructor

~Bitset () noexcept;

मेथड

all फ़ंक्शन

≙ [bitset]

bool all () const noexcept;
any फ़ंक्शन

≙ [bitset]

bool any () const noexcept;
count फ़ंक्शन

≙ [bitset]

std::size_t count () const noexcept;
flip फ़ंक्शन 2

≙ [bitset]

ओवरलोड flip 2
Bitset< N > & flip () noexcept; SWS_CORE_01730
Result< Bitset< N > & > flip (std::size_t pos) noexcept; SWS_CORE_01731
none फ़ंक्शन

≙ [bitset]

bool none () const noexcept;
reset फ़ंक्शन 2

≙ [bitset]

ओवरलोड reset 2
Bitset< N > & reset () noexcept; SWS_CORE_01727
Result< Bitset< N > & > reset (std::size_t pos) noexcept; SWS_CORE_01728
set फ़ंक्शन 2

≙ [bitset]

ओवरलोड set 2
Bitset< N > & set () noexcept; SWS_CORE_01725
Result< Bitset< N > & > set (std::size_t pos, bool val=true) noexcept; SWS_CORE_01726
size फ़ंक्शन

≙ [bitset]

constexpr std::size_t size () const noexcept;
test फ़ंक्शन

except for the following deviations: 1. The function is noexcept 2. If pos does not correspond to a valid bit position, IsoStdOutOfRangeViolation is raised instead of std::out_of_range ≙ std::out_of_range

bool test (std::size_t pos) const noexcept;
to_string फ़ंक्शन

except for the following deviations: 1. Template arguments have been adapted to ara::core::BasicString in place of std:: basic_string ≙ [bitset]

template <class Allocator = std::allocator<char>> BasicString< Allocator > to_string (char zero=char(’0’), char one=char(’1’)) const;
to_uint16t फ़ंक्शन

[AUTOSAR defined] not present in ISO-14882. Converts the contents of the bitset to a std:: uint16_t from [SWS_APT_00025]

constexpr std::uint16_t to_uint16t () const noexcept;
to_uint32t फ़ंक्शन

[AUTOSAR defined] not present in ISO-14882. Alias for ara::core::Bitset::to_ulong but explicitly using the std::uint32_t type from [SWS_APT_00028] ≙ std::uint32_t

constexpr std::uint32_t to_uint32t () const noexcept;
to_uint64t फ़ंक्शन

[AUTOSAR defined] not present in ISO-14882. Alias for ara::core::Bitset::to_ullong but explicitly using the std::uint64_t type from [SWS_APT_00031] ≙ std::uint64_t

constexpr std::uint64_t to_uint64t () const noexcept;
to_uint8t फ़ंक्शन

[AUTOSAR defined] not present in ISO-14882. Converts the contents of the bitset to a std:: uint8_t from [SWS_APT_00022]

constexpr std::uint8_t to_uint8t () const noexcept;
to_ullong फ़ंक्शन

except for the following deviations: 1. Function is constexpr 2. The function is noexcept 3. If the integral value x corresponding to the bits in the bitset cannot be represented as the return type, IsoStdOverflowErrorViolation is raised instead of std:: overflow_error ≙ [bitset]

constexpr unsigned long long to_ullong () const noexcept;
to_ulong फ़ंक्शन

except for the following deviations: 1. Function is constexpr 2. The function is noexcept 3. If the integral value x corresponding to the bits in the bitset cannot be represented as the return type, IsoStdOverflowErrorViolation is raised instead of std:: overflow_error ≙ [bitset]

constexpr unsigned long to_ulong () const noexcept;

ऑपरेटर

operator&= फ़ंक्शन

≙ [bitset]

Bitset< N > & operator&= (const Bitset< N > &rhs) noexcept;
operator<< फ़ंक्शन

≙ [bitset]

Bitset< N > operator<< (std::size_t pos) const noexcept;
operator<<= फ़ंक्शन

≙ [bitset]

Bitset< N > & operator<<= (std::size_t pos) noexcept;
operator= फ़ंक्शन 2

[AUTOSAR defined] not present in ISO-14882. Copy assignment operator

ओवरलोड = 2
Bitset & operator= (const Bitset &) noexcept=default; SWS_CORE_01715
Bitset & operator= (Bitset &&) noexcept=default; SWS_CORE_01717
operator== फ़ंक्शन

≙ [bitset]

bool operator== (const Bitset< N > &rhs) const noexcept;
operator>> फ़ंक्शन

≙ [bitset]

Bitset< N > operator>> (std::size_t pos) const noexcept;
operator>>= फ़ंक्शन

≙ [bitset]

Bitset< N > & operator>>= (std::size_t pos) noexcept;
operator[] फ़ंक्शन 2

except for the following deviations: 1. The function is noexcept ≙ [bitset]

ओवरलोड [] 2
constexpr bool operator[] (std::size_t pos) const noexcept; SWS_CORE_01732
reference operator[] (std::size_t pos) noexcept; SWS_CORE_01733
operator|= फ़ंक्शन

≙ [bitset]

Bitset< N > & operator|= (const Bitset< N > &rhs) noexcept;
operator~ फ़ंक्शन

≙ [bitset]

Bitset< N > operator~ () const noexcept;
operatorˆ= फ़ंक्शन

≙ [bitset]

Bitset< N > & operatorˆ= (const Bitset< N > &rhs) noexcept;

नेस्टेड टाइप

reference क्लास

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

फ़ंक्शन Bitset [SWS_CORE_01713]

constexpr Bitset () noexcept=default;

As per corresponding usage in [bitset]

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01713
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01713@rel:R25-11#b882a83c
Content hash
b882a83c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01713
Status: valid/unmigrated Version: rel:R25-11#310efdcc 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_CORE_01713@rel:R25-11#310efdcc
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

फ़ंक्शन Bitset [SWS_CORE_01714] Upstream: RS_AP_00130

Bitset (const Bitset &) noexcept=default;

[AUTOSAR defined] not present in ISO-14882. Copy constructor

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01714
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01714@rel:R25-11#6ba18ac2
Content hash
6ba18ac2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01714
Status: valid/unmigrated Version: rel:R25-11#a6f79a8f 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_CORE_01714@rel:R25-11#a6f79a8f
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

फ़ंक्शन Bitset [SWS_CORE_01716] Upstream: RS_AP_00130

Bitset (Bitset &&) noexcept=default;

[AUTOSAR defined] not present in ISO-14882. Move constructor

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01716
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01716@rel:R25-11#a476e256
Content hash
a476e256
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01716
Status: valid/unmigrated Version: rel:R25-11#9f8cafe2 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_CORE_01716@rel:R25-11#9f8cafe2
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

फ़ंक्शन Bitset [SWS_CORE_01719]

constexpr Bitset (unsigned long long val) noexcept;

As per corresponding usage in [bitset]

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01719
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01719@rel:R25-11#91229829
Content hash
91229829
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01719
Status: valid/unmigrated Version: rel:R25-11#b3cad51d 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_CORE_01719@rel:R25-11#b3cad51d
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

फ़ंक्शन Bitset [SWS_CORE_01749]

template <class CharT, class Traits, class Allocator> explicit Bitset (const BasicString< Allocator > &str, typename Basic String< Allocator >::size_type pos=0, typename BasicString< Allocator >::size_type n=BasicString< Allocator >::npos, CharT zero=CharT(’0’), CharT one=CharT(’1’)) noexcept;

As per corresponding usage in [bitset] except for the following deviations: 1. The function is noexcept 2. If (pos > size()), IsoStdOutOfRangeViolation is raised instead of std:: out_of_range 3. If any character is not 1 or 0, IsoStdInvalidArgumentViolation is raised instead of std::invalid_argument 4. Function arguments have been adapted to conform to ara::core::BasicString constructor parameters

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe
Verletzungen (Violations)IsoStdOut- Description as per std::out_of_range. OfRangeViolation IsoStdInvalidArgu- Description as per std::invalid_argument mentViolation

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

Record
AUTOSAR/AP/record/SWS_CORE_01749
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01749@rel:R25-11#6a4a345d
Content hash
6a4a345d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01749
Status: valid/unmigrated Version: rel:R25-11#60c5b733 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_CORE_01749@rel:R25-11#60c5b733
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

फ़ंक्शन Bitset [SWS_CORE_01750]

template <class CharT> explicit Bitset (const CharT *str, typename BasicString< CharT >::size_type n=BasicString< CharT >::npos, CharT zero=CharT(’0’), Char T one=CharT(’1’));

As per corresponding usage in [bitset] except for the following deviations: 1. Function arguments have been adapted to conform to ara::core::BasicString constructor parameters

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitnot exception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01750
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01750@rel:R25-11#33f366f4
Content hash
33f366f4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01750
Status: valid/unmigrated Version: rel:R25-11#4ced3470 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_CORE_01750@rel:R25-11#4ced3470
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

फ़ंक्शन all [SWS_CORE_01744]

bool all () const noexcept;

As per corresponding usage in [bitset]

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

सदस्य फ़ंक्शन [SWS_CORE_01744] क्लास ara::core::Bitset से संबंधित है और हेडर फ़ाइल #include "ara/core/bitset.h" के माध्यम से प्रदान किया जाता है। फ़ंक्शन का सिग्नेचर bool all () const noexcept; है, यह कोई पैरामीटर स्वीकार नहीं करता है और सिंक्रोनस रूप से एक बूलियन मान लौटाता है। विनिर्देश के अनुसार, सिमेंटिक्स [bitset] में संबंधित उपयोग पर आधारित है; व्याख्या: मेथड संभवतः यह जांचता है कि इंस्टेंस के सभी बिट्स सेट हैं या नहीं (मान true रखते हैं)। प्रश्न Q-a4f0f8970bd2c9bb (खुला)

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

कॉल संदर्भ और समवर्तीता के लिए निम्नलिखित सीमा शर्तें लागू होती हैं:

  • ऑपरेशन को const के रूप में घोषित किया गया है और यह कॉल करने वाले ara::core::Bitset ऑब्जेक्ट की स्थिति को संशोधित नहीं करता है [SWS_CORE_01744]।
  • एकाधिक थ्रेड्स के माध्यम से एक साथ रीड एक्सेस बिना किसी सिंक्रोनाइज़ेशन के अनुमेय होने चाहिए, जब तक कि कोई अन्य थ्रेड उसी मेमोरी क्षेत्र में राइट संशोधन न कर रहा हो। प्रश्न Q-d9f1f92a120128b5 (खुला)

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

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01744
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01744@rel:R25-11#a235d751
Content hash
a235d751
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01744
Status: valid/unmigrated Version: rel:R25-11#ae080485 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_CORE_01744@rel:R25-11#ae080485
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

फ़ंक्शन any [SWS_CORE_01745]

bool any () const noexcept;

As per corresponding usage in [bitset]

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

ara::core::Bitset का सदस्य फ़ंक्शन any() बिटसेट में प्रबंधित बिट्स की ऑक्यूपेंसी स्थिति के सिंक्रोनस क्वेरी के लिए कार्य करता है [SWS_CORE_01745]। विनिर्देश के अनुसार, व्यवहार ISO C++ क्लास टेम्प्लेट [bitset] [SWS_CORE_01745] के संगत उपयोग पर आधारित है। व्याख्या: यदि कम से कम एक बिट सेट है तो फ़ंक्शन true लौटाता है, और यदि सभी बिट्स अनसेट हैं तो false लौटाता है। प्रश्न Q-20c2aaf905d4a338 (खुला)

उपयोग, निष्पादन संदर्भ और त्रुटि व्यवहार के संबंध में निम्नलिखित प्रावधान लागू होते हैं:

  • कॉल और पैरामीटर: मेथड को किसी मौजूदा इंस्टेंस पर बिना किसी पैरामीटर के कॉल किया जाता है, जिसे उदाहरण के लिए कंस्ट्रक्टर के माध्यम से पहले ही इनिशियलाइज़ किया गया हो [SWS_CORE_01749]। कॉल सिंक्रोनस रूप से होता है और सीधे bool के रूप में परीक्षण परिणाम लौटाता है [SWS_CORE_01745]।
  • त्रुटि प्रबंधन: फ़ंक्शन को noexcept के रूप में घोषित किया गया है और अपवाद-सुरक्षित (exception safe) के रूप में वर्गीकृत किया गया है [SWS_CORE_01745]। न तो त्रुटि कोड और न ही DET-/DEM-संदेश उत्पन्न होते हैं; ऑपरेशन का विफल होना AUTOSAR मानक में प्रावधानित नहीं है।
  • समवर्तीता: const क्वालिफिकेशन के कारण, मेथड इंस्टेंस को संशोधित नहीं करता है [SWS_CORE_01745]। संभवतः समान इंस्टेंस पर समानांतर रीड एक्सेस सुरक्षित हैं, जबकि प्रतिस्पर्धी राइट एक्सेस को कॉलर द्वारा सिंक्रोनाइज़ किया जाना चाहिए। प्रश्न Q-34893675aa85baf1 (खुला)

core के मॉड्यूल संदर्भ में, any() बिटसेट के लिए एक मौलिक निरीक्षण फ़ंक्शन प्रदान करता है, जो ara::core::Bitset के इनिशियलाइज़ेशन और स्टोरेज तंत्र के साथ निर्बाध रूप से इंटरैक्ट करता है [SWS_CORE_01745], [SWS_CORE_01749]।

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

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01745
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01745@rel:R25-11#3405d6a1
Content hash
3405d6a1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01745
Status: valid/unmigrated Version: rel:R25-11#13aa29a1 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_CORE_01745@rel:R25-11#13aa29a1
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

फ़ंक्शन count [SWS_CORE_01740]

std::size_t count () const noexcept;

As per corresponding usage in [bitset]

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

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

सदस्य फ़ंक्शन count को ara::core::Bitset के एक इंस्टेंस पर सिंक्रोनस और पैरामीटर-रहित रूप से कॉल किया जाता है ([SWS_CORE_01740])। यह हेडर #include "ara/core/bitset.h" में घोषित है और गणना परिणाम को std::size_t प्रकार के रिटर्न मान के रूप में प्रदान करता है ([SWS_CORE_01740])। कार्यात्मक व्यवहार संदर्भ [bitset] ([SWS_CORE_01740]) पर आधारित है; इसलिए यह मान सेट बिट्स की कुल संख्या के संगत होना चाहिए। प्रश्न Q-36c593b234f55695 (खुला)

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

फ़ंक्शन को noexcept के रूप में निर्दिष्ट किया गया है और इसे exception safe माना जाता है ([SWS_CORE_01740])। न तो अपवाद ट्रिगर होते हैं और न ही त्रुटि कोड लौटाए जाते हैं, और इस तत्व के लिए DET या DEM को रिपोर्ट प्रदान नहीं की गई है। चूंकि count को एक कॉन्स्टेंट सदस्य फ़ंक्शन (const) के रूप में घोषित किया गया है ([SWS_CORE_01740]), कॉल ऑब्जेक्ट की स्थिति को संशोधित नहीं करता है। इसलिए, समान इंस्टेंस पर समानांतर रीड एक्सेस समवर्ती रूप से निष्पादन योग्य होने चाहिए, बशर्ते कोई प्रतिस्पर्धी राइट एक्सेस न हो रहे हों। प्रश्न Q-073bc3bbcb918763 (खुला)

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

नेमस्पेस ara::core में, इस फ़ंक्शन को अन्य तत्वों से स्पष्ट रूप से अलग किया जाना चाहिए:

  • ara::core::Map में, count का उपयोग मौजूदा कुंजियों को निर्धारित करने के लिए किया जाता है ([SWS_CORE_01494], [SWS_CORE_01495]), लेकिन इसे not exception safe के रूप में वर्गीकृत किया गया है।
  • ara::core::Span तथा फ़ैक्टरी फ़ंक्शन ara::core::MakeSpan में, count किसी मेथड नाम को नहीं दर्शाता है, बल्कि तत्व श्रेणियों को सीमित करने के लिए एक औपचारिक पैरामीटर को दर्शाता है ([SWS_CORE_01942], [SWS_CORE_01962], [SWS_CORE_01964], [SWS_CORE_01966], [SWS_CORE_01990])।

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

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01740
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01740@rel:R25-11#139edb6b
Content hash
139edb6b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01740
Status: valid/unmigrated Version: rel:R25-11#3ade8441 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_CORE_01740@rel:R25-11#3ade8441
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

फ़ंक्शन flip [SWS_CORE_01730]

Bitset< N > & flip () noexcept;

As per corresponding usage in [bitset]

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

उपयोग

क्लास ara::core::Bitset का मेंबर फ़ंक्शन flip() [bitset] [SWS_CORE_01730] के व्यवहार के अनुसार इंस्टेंस के सभी बिट्स की स्थिति को सिंक्रोनस रूप से उलट देता है। फ़ंक्शन हेडर #include "ara/core/bitset.h" के माध्यम से प्रदान किया जाता है, कोई पैरामीटर नहीं लेता है और संशोधित ऑब्जेक्ट (Bitset<N>&) का एक lvalue संदर्भ लौटाता है, जो ऑपरेशनों की चेनिंग की अनुमति देता है [SWS_CORE_01730]।

त्रुटि प्रबंधन और अपवाद सुरक्षा

फ़ंक्शन को noexcept के रूप में घोषित किया गया है और अपवाद-सुरक्षित (“exception safe”) के रूप में निर्दिष्ट किया गया है [SWS_CORE_01730]। न तो C++ अपवाद फेंके जाते हैं और न ही त्रुटि कोड लौटाए जाते हैं; इसलिए निष्पादन संभवतः हमेशा त्रुटि-मुक्त होना चाहिए। प्रश्न Q-df762b6329a2c0d4 (खुला)

इंटरैक्शन

मॉड्यूल core बिट हेरफेर के लिए संबंधित वेरिएंट को परिभाषित करता है:

  • ओवरलोड विधि flip(std::size_t pos) का उपयोग इंडेक्स pos [SWS_CORE_01731] पर एकल बिट को लक्षित रूप से उलटने के लिए किया जाता है। पैरामीटर रहित रूप के विपरीत, यह एक Result<Bitset<N>&> लौटाता है और IsoStdOutOfRangeViolation [SWS_CORE_01731] के माध्यम से अमान्य स्थितियों का संकेत देता है।
  • संदर्भ क्लास ara::core::Bitset<N>::reference के माध्यम से, किसी एकल संदर्भित बिट को उलटने और reference& वापस करने के लिए मेंबर फ़ंक्शन flip() उपलब्ध है [SWS_CORE_01712]।

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

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01730
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01730@rel:R25-11#10c1d79a
Content hash
10c1d79a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01730
Status: valid/unmigrated Version: rel:R25-11#80129789 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_CORE_01730@rel:R25-11#80129789
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

फ़ंक्शन flip [SWS_CORE_01731]

Result< Bitset< N > & > flip (std::size_t pos) noexcept;

As per corresponding usage in [bitset] except for the following deviations: 1. The function is noexcept 2. If pos does not correspond to a valid bit position, IsoStdOutOfRangeViolation is raised instead of std::out_of_range

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

क्लास ara::core::Bitset का मेंबर फ़ंक्शन flip पास की गई स्थिति pos [SWS_CORE_01731] पर बिट की स्थिति को सिंक्रोनस रूप से उलट देता है। यह हेडर #include "ara/core/bitset.h" में परिभाषित है और std::bitset::flip के व्यवहार पर उन्मुख है, लेकिन विशिष्ट कार्यात्मक विचलन प्रदर्शित करता है [SWS_CORE_01731]।

फ़ंक्शन को noexcept और साथ ही exception safe के रूप में घोषित किया गया है और सफलता पर एक Result<Bitset<N>&> के भीतर संशोधित बिटसेट का संदर्भ लौटाता है [SWS_CORE_01731]। यदि पैरामीटर pos किसी मान्य बिट स्थिति से मेल नहीं खाता है, तो C++ अपवाद जैसे कि std::out_of_range के स्थान पर उल्लंघन IsoStdOutOfRangeViolation ट्रिगर होता है [SWS_CORE_01731]।

समवर्तीता के संबंध में, यह लागू होना चाहिए कि प्रलेखित सिंक्रोनाइज़ेशन के अभाव में समान बिटसेट इंस्टेंस पर समवर्ती कॉल थ्रेड-सुरक्षित नहीं हैं और उन्हें बाह्य रूप से समन्वित किया जाना चाहिए। प्रश्न Q-de73bb65d6aab12c (खुला)

मॉड्यूल core में, फ़ंक्शन अन्य संबंधित ऑपरेशनों का पूरक है: किसी इंस्टेंस के सभी बिट्स को सिंक्रोनस रूप से उलटने के लिए, पैरामीटर रहित ओवरलोड flip() उपलब्ध है [SWS_CORE_01730], जबकि बिट-संदर्भ ऑब्जेक्ट्स के लिए विधि ara::core::Bitset::reference::flip() उपलब्ध है [SWS_CORE_01712]।

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

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe
Verletzungen (Violations)IsoStdOut- Description as per std::out_of_range. OfRangeViolation

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

Record
AUTOSAR/AP/record/SWS_CORE_01731
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01731@rel:R25-11#17b7e036
Content hash
17b7e036
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01731
Status: valid/unmigrated Version: rel:R25-11#3ec8b647 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_CORE_01731@rel:R25-11#3ec8b647
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

फ़ंक्शन none [SWS_CORE_01746]

bool none () const noexcept;

As per corresponding usage in [bitset]

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

उपयोग

क्लास ara::core::Bitset का सदस्य फ़ंक्शन none बिट अनुक्रम की ऑक्यूपेंसी स्थिति को क्वेरी करने का कार्य करता है [SWS_CORE_01746]। इस मेथड के लिए हेडर ara/core/bitset.h को शामिल करने की आवश्यकता होती है और इसका सिग्नेचर bool none () const noexcept; [SWS_CORE_01746] है। कॉल किसी मौजूदा इंस्टेंस पर सिंक्रोनस और पैरामीटर-रहित रूप से किया जाता है। विनिर्देश व्यवहार के संबंध में [bitset] [SWS_CORE_01746] में संबंधित उपयोग को संदर्भित करता है; व्याख्या: मेथड को ठीक उसी समय true लौटाना चाहिए जब बिट अनुक्रम के भीतर एक भी बिट सेट न हो (अर्थात सभी बिट्स false हों), अन्यथा false। प्रश्न Q-de8593251c7748d5 (खुला)

त्रुटि प्रबंधन और अपवाद सुरक्षा

none के लिए न तो त्रुटि कोड और न ही अलग त्रुटि स्थितियां परिभाषित हैं। विनिर्देश के अनुसार, फ़ंक्शन को noexcept के रूप में घोषित किया गया है और इसका वर्गीकरण अपवाद-सुरक्षित (exception safe) है [SWS_CORE_01746]। इसलिए त्रुटि की स्थिति में या निष्पादन के दौरान कोई C++ अपवाद नहीं होते हैं।

समवर्तीता और प्रतिबंध

चूंकि none को const के रूप में घोषित किया गया है [SWS_CORE_01746], इसलिए मेथड कॉल ऑब्जेक्ट की आंतरिक स्थिति को संशोधित नहीं करता है। उसी Bitset ऑब्जेक्ट पर समानांतर रीड कॉल समवर्ती रूप से गैर-महत्वपूर्ण और रीएंट्रेंट होने चाहिए, बशर्ते उसी इंस्टेंस पर कोई समवर्ती राइट संशोधन न हो रहे हों। प्रश्न Q-cf92e9abf57e9678 (खुला)

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

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01746
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01746@rel:R25-11#1aa8d0b9
Content hash
1aa8d0b9
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01746
Status: valid/unmigrated Version: rel:R25-11#8bba9b6e 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_CORE_01746@rel:R25-11#8bba9b6e
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_CORE_01720]

Bitset< N > & operator&= (const Bitset< N > &rhs) noexcept;

As per corresponding usage in [bitset]

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01720
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01720@rel:R25-11#095554d4
Content hash
095554d4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01720
Status: valid/unmigrated Version: rel:R25-11#fb4224f8 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_CORE_01720@rel:R25-11#fb4224f8
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_CORE_01747]

Bitset< N > operator<< (std::size_t pos) const noexcept;

As per corresponding usage in [bitset]

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01747
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01747@rel:R25-11#aed463b7
Content hash
aed463b7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01747
Status: valid/unmigrated Version: rel:R25-11#2d8f37de 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_CORE_01747@rel:R25-11#2d8f37de
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_CORE_01723]

Bitset< N > & operator<<= (std::size_t pos) noexcept;

As per corresponding usage in [bitset]

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01723
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01723@rel:R25-11#f357fe1a
Content hash
f357fe1a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01723
Status: valid/unmigrated Version: rel:R25-11#f4e1aed6 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_CORE_01723@rel:R25-11#f4e1aed6
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_CORE_01715] Upstream: RS_AP_00130

Bitset & operator= (const Bitset &) noexcept=default;

[AUTOSAR defined] not present in ISO-14882. Copy assignment operator

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01715
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01715@rel:R25-11#f64ed9ec
Content hash
f64ed9ec
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01715
Status: valid/unmigrated Version: rel:R25-11#6cc96909 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_CORE_01715@rel:R25-11#6cc96909
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_CORE_01717] Upstream: RS_AP_00130

Bitset & operator= (Bitset &&) noexcept=default;

[AUTOSAR defined] not present in ISO-14882. Move assignment operator

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01717
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01717@rel:R25-11#e188d383
Content hash
e188d383
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01717
Status: valid/unmigrated Version: rel:R25-11#493efe21 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_CORE_01717@rel:R25-11#493efe21
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_CORE_01742]

bool operator== (const Bitset< N > &rhs) const noexcept;

As per corresponding usage in [bitset]

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01742
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01742@rel:R25-11#fbe7b499
Content hash
fbe7b499
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01742
Status: valid/unmigrated Version: rel:R25-11#dccd8673 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_CORE_01742@rel:R25-11#dccd8673
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_CORE_01748]

Bitset< N > operator>> (std::size_t pos) const noexcept;

As per corresponding usage in [bitset]

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01748
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01748@rel:R25-11#9150bdc0
Content hash
9150bdc0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01748
Status: valid/unmigrated Version: rel:R25-11#3aef5563 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_CORE_01748@rel:R25-11#3aef5563
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_CORE_01724]

Bitset< N > & operator>>= (std::size_t pos) noexcept;

As per corresponding usage in [bitset]

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01724
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01724@rel:R25-11#5e55ee1b
Content hash
5e55ee1b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01724
Status: valid/unmigrated Version: rel:R25-11#7610a8ff 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_CORE_01724@rel:R25-11#7610a8ff
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_CORE_01732]

constexpr bool operator[] (std::size_t pos) const noexcept;

As per corresponding usage in [bitset] except for the following deviations: 1. The function is noexcept

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01732
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01732@rel:R25-11#06b61db9
Content hash
06b61db9
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01732
Status: valid/unmigrated Version: rel:R25-11#2d0c689b 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_CORE_01732@rel:R25-11#2d0c689b
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_CORE_01733]

reference operator[] (std::size_t pos) noexcept;

As per corresponding usage in [bitset] except for the following deviations: 1. The function is noexcept

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01733
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01733@rel:R25-11#a8d48de6
Content hash
a8d48de6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01733
Status: valid/unmigrated Version: rel:R25-11#66b4364b 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_CORE_01733@rel:R25-11#66b4364b
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_CORE_01721]

Bitset< N > & operator|= (const Bitset< N > &rhs) noexcept;

As per corresponding usage in [bitset]

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01721
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01721@rel:R25-11#bd84cfb5
Content hash
bd84cfb5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01721
Status: valid/unmigrated Version: rel:R25-11#cb81326d 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_CORE_01721@rel:R25-11#cb81326d
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_CORE_01729]

Bitset< N > operator~ () const noexcept;

As per corresponding usage in [bitset]

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01729
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01729@rel:R25-11#8730cc29
Content hash
8730cc29
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01729
Status: valid/unmigrated Version: rel:R25-11#070c2d27 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_CORE_01729@rel:R25-11#070c2d27
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_CORE_01722]

Bitset< N > & operatorˆ= (const Bitset< N > &rhs) noexcept;

As per corresponding usage in [bitset]

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01722
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01722@rel:R25-11#d5758b46
Content hash
d5758b46
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01722
Status: valid/unmigrated Version: rel:R25-11#06db033f 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_CORE_01722@rel:R25-11#06db033f
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

फ़ंक्शन reset [SWS_CORE_01727]

Bitset< N > & reset () noexcept;

As per corresponding usage in [bitset]

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

सदस्य फ़ंक्शन reset() विनिर्देश [SWS_CORE_01727] के अनुसार ara::core::Bitset के एक इंस्टेंस की स्थिति को रीसेट करता है। यह फ़ंक्शन हेडर फ़ाइल #include "ara/core/bitset.h" के माध्यम से प्रदान किया जाता है और इसका हस्ताक्षर Bitset<N>& reset() noexcept; है।

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

फ़ंक्शन कोई पैरामीटर स्वीकार नहीं करता है और कॉलिंग ऑब्जेक्ट पर तुल्यकालिक रूप से काम करता है। [bitset] में सामान्य उपयोग के निर्दिष्ट संदर्भ के कारण, यह कॉल संभवतः सभी समाविष्ट बिट्स को false (अथवा 0) पर रीसेट करती है और अपने स्वयं के बिटसेट इंस्टेंस (*this) का संदर्भ लौटाती है, जो मेथड चेनिंग को सक्षम बनाता है। प्रश्न Q-89116316a65e0772 (खुला)

त्रुटि प्रबंधन और अपवाद-सुरक्षा

[SWS_CORE_01727] के अनुसार, फ़ंक्शन को noexcept के रूप में घोषित किया गया है और इसका वर्गीकरण “exception safe” है। चूंकि पैरामीटरयुक्त ओवरलोड के विपरीत कोई इंडेक्स जांच आवश्यक नहीं है, इसलिए पैरामीटर रहित संस्करण में कोई त्रुटि स्थिति या त्रुटि कोड उत्पन्न नहीं होते हैं।

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

  • समान स्कोप ara::core::Bitset में [SWS_CORE_01728] के अनुसार ओवरलोड reset(std::size_t pos) मौजूद है। यह लक्षित तरीके से किसी एकल बिट को रीसेट करता है, लेकिन Result<Bitset<N>&> लौटाता है और यदि pos अमान्य है तो IsoStdOutOfRangeViolation की रिपोर्ट करता है।
  • समान नाम वाले फ़ंक्शन मॉड्यूल core में #include "ara/core/optional.h" से [SWS_CORE_01136] के अनुसार ara::core::Optional और [SWS_CORE_01165] के अनुसार ara::core::Optional<T&> के लिए भी मौजूद हैं, जो समाविष्ट मान को छोड़ देते हैं और जिनका रिटर्न प्रकार void है।

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

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01727
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01727@rel:R25-11#76a2fb51
Content hash
76a2fb51
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01727
Status: valid/unmigrated Version: rel:R25-11#96296e79 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_CORE_01727@rel:R25-11#96296e79
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

फ़ंक्शन reset [SWS_CORE_01728]

Result< Bitset< N > & > reset (std::size_t pos) noexcept;

As per corresponding usage in [bitset] except for the following deviations: 1. The function is noexcept 2. If pos does not correspond to a valid bit position, IsoStdOutOfRangeViolation is raised instead of std::out_of_range

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

वर्ग ara::core::Bitset का सदस्य फ़ंक्शन reset निर्दिष्ट स्थिति pos पर एक एकल बिट को तुल्यकालिक रूप से 0 मान पर रीसेट करता है [SWS_CORE_01728]। यह फ़ंक्शन std::bitset के व्यवहार का अनुसरण करता है, लेकिन इसमें दो महत्वपूर्ण अंतर हैं: इसे noexcept के रूप में घोषित किया गया है और बिना C++ अपवादों के त्रुटि स्थितियों को दर्शाने के लिए परिणाम को Result<Bitset<N>&> में लौटाता है [SWS_CORE_01728]।

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

यदि पास किया गया इंडेक्स pos बिटसेट के भीतर किसी मान्य बिट स्थिति से मेल नहीं खाता है, तो std::out_of_range के स्थान पर उल्लंघन IsoStdOutOfRangeViolation ट्रिगर किया जाता है [SWS_CORE_01728]। त्रुटि की स्थिति में इसे लौटाए गए Result ऑब्जेक्ट में त्रुटि स्थिति के रूप में प्रदान किया जाता है, जिससे अमान्य पैरामीटर मान के बावजूद संक्रिया अपवाद-सुरक्षित बनी रहती है [SWS_CORE_01728]।

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

मॉड्यूल core में ara::core::Bitset के लिए इसके अतिरिक्त पैरामीटर रहित ओवरलोड reset() मौजूद है, जो कंटेनर के सभी बिट्स को एक साथ हटा देता है और सीधे ऑब्जेक्ट का संदर्भ लौटाता है [SWS_CORE_01727]। इसके अलावा, संबंधित आवश्यकताएँ [SWS_CORE_01136] और [SWS_CORE_01165] ara::core::Optional के लिए समान नाम की एक विधि को परिभाषित करती हैं, जो वहाँ समाविष्ट मान को छोड़ देती है।

संगामिति

चूंकि reset बिटसेट की आंतरिक स्थिति को बदलता है, इसलिए बाहरी सिंक्रोनाइज़ेशन के बिना उसी इंस्टेंस पर समवर्ती कॉल थ्रेड-सुरक्षित नहीं होनी चाहिए (व्याख्या: सामान्य C++ कंटेनर सिमेंटिक्स को अपनाना)। प्रश्न Q-e2e1c041eadedf0f (खुला)

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

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe
Verletzungen (Violations)IsoStdOut- Description as per std::out_of_range. OfRangeViolation

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

Record
AUTOSAR/AP/record/SWS_CORE_01728
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01728@rel:R25-11#d8bd7efc
Content hash
d8bd7efc
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01728
Status: valid/unmigrated Version: rel:R25-11#69fbce4c 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_CORE_01728@rel:R25-11#69fbce4c
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

फ़ंक्शन set [SWS_CORE_01725]

Bitset< N > & set () noexcept;

As per corresponding usage in [bitset]

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

क्लास ara::core::Bitset का समकालिक सदस्य फ़ंक्शन set() ऑब्जेक्ट के सभी समाहित बिट्स को true मान पर सेट करता है ([SWS_CORE_01725])। यह ISO-C++ मानक से std::bitset की कार्यप्रणाली के व्यवहार से मेल खाता है और हेडर ara/core/bitset.h ([SWS_CORE_01725]) के माध्यम से उपलब्ध है। विधि कॉल पैरामीटर रहित है और संशोधित बिटसेट (Bitset<N>&) के लिए एक lvalue संदर्भ लौटाता है ([SWS_CORE_01725]), जो उसी इंस्टेंस पर आगे के कॉलों की सीधी चेनिंग की अनुमति देता है।

ऑपरेशन को noexcept के रूप में घोषित किया गया है और इसमें exception safe गुणधर्म है ([SWS_CORE_01725])। चूंकि यह सभी बिट्स पर पुनरावृति करता है या समग्र स्थिति सेट करता है, इसलिए स्थिति-आधारित एक्सेस के विपरीत कोई रेंज त्रुटि नहीं होती है। थ्रेड-सुरक्षा पर, विनिर्देश कोई बयान नहीं देता है; व्याख्या: चूंकि ऑब्जेक्ट स्थिति सीधे बदल दी जाती है, इसलिए बाहरी सुरक्षा के बिना उसी Bitset-इंस्टेंस पर समानांतर पहुंच समवर्ती- या थ्रेड-सुरक्षित होने की संभावना नहीं है। प्रश्न Q-f8c1b5721f668193 (खुला)

मॉड्यूल core के भीतर संयोजन में, फ़ंक्शन ओवरलोड किए गए संस्करण set(std::size_t, bool) ([SWS_CORE_01726]) का पूरक है। जबकि पैरामीटर-रहित संस्करण गारंटीकृत रूप से पूरे फ़ील्ड को सफलतापूर्वक सेट करता है, पैरामीटरयुक्त संस्करण एक विशिष्ट बिट को संशोधित करता है, प्रकार Result<Bitset<N>&> लौटाता है और एक अमान्य स्थिति अनुक्रमणिका पास होने पर IsoStdOutOfRangeViolation के माध्यम से संकेत देता है ([SWS_CORE_01726])।

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

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01725
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01725@rel:R25-11#68f7c0f6
Content hash
68f7c0f6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01725
Status: valid/unmigrated Version: rel:R25-11#80248ab7 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_CORE_01725@rel:R25-11#80248ab7
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

फ़ंक्शन set [SWS_CORE_01726]

Result< Bitset< N > & > set (std::size_t pos, bool val=true) noexcept;

As per corresponding usage in [bitset] except for the following deviations: 1. The function is noexcept 2. If pos does not correspond to a valid bit position, IsoStdOutOfRangeViolation is raised instead of std::out_of_range

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

क्लास ara::core::Bitset का सदस्य फ़ंक्शन set [SWS_CORE_01726] के अनुसार निर्दिष्ट स्थिति pos पर स्थित बिट को val मान में संशोधित करता है। फ़ंक्शन हेडर #include "ara/core/bitset.h" में घोषित है और समकालिक रूप से और अपवाद-सुरक्षित तरीके से काम करता है।

std::bitset के मानक व्यवहार की तुलना में, फ़ंक्शन में दो महत्वपूर्ण विचलन हैं ([SWS_CORE_01726]):

  • फ़ंक्शन को noexcept के रूप में घोषित किया गया है और यह कोई C++ अपवाद नहीं फेंकता है।
  • यदि pos किसी मान्य बिट स्थिति के अनुरूप नहीं है, तो std::out_of_range के बजाय IsoStdOutOfRangeViolation ट्रिगर होता है।

रिटर्न मान के रूप में एक Result<Bitset<N>&> प्रदान किया जाता है ([SWS_CORE_01726])। सफलता के मामले में, Result में संशोधित बिटसेट ऑब्जेक्ट का संदर्भ होता है। यदि pos मान्य सीमा से बाहर है, तो Result संबंधित त्रुटि उल्लंघन को वहन करता है।

पैरामीटर-रहित संस्करण set() ([SWS_CORE_01725]) के विपरीत, जो सभी बिट्स सेट करता है और सीधे Bitset<N>& लौटाता है, इस स्थिति-आधारित ओवरलोड के लिए रेंज त्रुटियों को संभालने के लिए Result-ऑब्जेक्ट के मूल्यांकन की आवश्यकता होती है ([SWS_CORE_01726])।

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

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe
Verletzungen (Violations)IsoStdOut- Description as per std::out_of_range. OfRangeViolation

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

Record
AUTOSAR/AP/record/SWS_CORE_01726
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01726@rel:R25-11#d5be65e0
Content hash
d5be65e0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01726
Status: valid/unmigrated Version: rel:R25-11#7bc780ef 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_CORE_01726@rel:R25-11#7bc780ef
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_CORE_01741]

constexpr std::size_t size () const noexcept;

As per corresponding usage in [bitset]

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01741
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01741@rel:R25-11#e1a0ff54
Content hash
e1a0ff54
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01741
Status: valid/unmigrated Version: rel:R25-11#ae3039b5 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_CORE_01741@rel:R25-11#ae3039b5
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

फ़ंक्शन test [SWS_CORE_01743]

bool test (std::size_t pos) const noexcept;

As per corresponding usage in [bitset] except for the following deviations: 1. The function is noexcept 2. If pos does not correspond to a valid bit position, IsoStdOutOfRangeViolation is raised instead of std::out_of_range

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

उपयोग

क्लास ara::core::Bitset का सिंक्रोनस सदस्य फ़ंक्शन test [SWS_CORE_01743] के अनुसार पास की गई स्थिति pos पर बिट की स्थिति की जांच करता है। कॉल पैरामीटर के रूप में std::size_t प्रकार की वांछित बिट स्थिति pos पास की जाती है। फ़ंक्शन सिंक्रोनस रूप से bool प्रकार का मान लौटाता है, जहाँ true इंगित करता है कि बिट सेट है, और false इंगित करता है कि यह सेट नहीं है। Adaptive प्लेटफ़ॉर्म के Core मॉड्यूल में फ़ंक्शन के एकीकरण और उपयोग के लिए, हेडर ara/core/bitset.h को शामिल किया जाना चाहिए [SWS_CORE_01743]।

त्रुटि प्रबंधन और विचलन

कार्यात्मक व्यवहार मूलतः std::bitset के सिमेंटिक्स का अनुसरण करता है, लेकिन इसमें दो महत्वपूर्ण सिस्टम-विशिष्ट विचलन हैं [SWS_CORE_01743]:

  • सिग्नेचर को noexcept के रूप में घोषित किया गया है और यह पूर्ण अपवाद सुरक्षा (exception safe) की गारंटी देता है [SWS_CORE_01743]।
  • यदि बिट स्थिति pos ऑब्जेक्ट के भीतर किसी वैध बिट स्थिति से मेल नहीं खाती है, तो std::out_of_range प्रकार के अपवाद के बजाय उल्लंघन IsoStdOutOfRangeViolation ट्रिगर किया जाता है [SWS_CORE_01743]। इसका विवरण std::out_of_range [SWS_CORE_01743] के विवरण पर आधारित है।

समवर्तीता और प्रतिबंध

चूंकि फ़ंक्शन को const के रूप में निर्दिष्ट किया गया है, यह इंस्टेंस को संशोधित नहीं करता है। इसलिए, समान बिटसेट इंस्टेंस पर एकाधिक समवर्ती रीड एक्सेस नियमित संचालन में डेटा विवादों के बिना निष्पादनीय होने चाहिए (व्याख्या)। प्रश्न Q-585dbdfefac63391 (खुला) यदि उसी इंस्टेंस पर एक ही समय में संशोधन करने वाले राइट ऑपरेशन्स होते हैं, तो संभवतः कॉलर द्वारा बाहरी सिंक्रोनाइज़ेशन की आवश्यकता होती है।

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

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe
Verletzungen (Violations)IsoStdOut- Description as per std::out_of_range. OfRangeViolation

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

Record
AUTOSAR/AP/record/SWS_CORE_01743
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01743@rel:R25-11#21df5883
Content hash
21df5883
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01743
Status: valid/unmigrated Version: rel:R25-11#7808abe9 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_CORE_01743@rel:R25-11#7808abe9
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

फ़ंक्शन to_string [SWS_CORE_01751]

template <class Allocator = std::allocator<char>> BasicString< Allocator > to_string (char zero=char(’0’), char one=char(’1’)) const;

As per corresponding usage in [bitset] except for the following deviations: 1. Template arguments have been adapted to ara::core::BasicString in place of std:: basic_string

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitnot exception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01751
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01751@rel:R25-11#16686b06
Content hash
16686b06
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01751
Status: valid/unmigrated Version: rel:R25-11#9191cb39 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_CORE_01751@rel:R25-11#9191cb39
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

फ़ंक्शन to_uint16t [SWS_CORE_01737] Upstream: RS_AP_00130

constexpr std::uint16_t to_uint16t () const noexcept;

[AUTOSAR defined] not present in ISO-14882. Converts the contents of the bitset to a std:: uint16_t from [SWS_APT_00025]

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

क्लास ara::core::Bitset का सदस्य फ़ंक्शन to_uint16t बिटसेट की सामग्री को std::uint16_t प्रकार के पूर्णांक मान में रूपांतरित करता है ([SWS_CORE_01737], [SWS_APT_00025])। यह एक AUTOSAR-विशिष्ट एक्सटेंशन का प्रतिनिधित्व करता है और ISO C++ मानक ISO-14882 में शामिल नहीं है ([SWS_CORE_01737])। सिंक्रोनस कॉल हेडर ara/core/bitset.h के माध्यम से प्रदान किया जाता है ([SWS_CORE_01737])।

उत्पन्न रिटर्न मान में, बिटसेट का पहला बिट संख्या के सबसे कम महत्वपूर्ण बिट (least significant bit) और अंतिम बिट सबसे महत्वपूर्ण बिट (most significant bit) से मेल खाता है ([SWS_CORE_01737])। चूंकि मेथड को constexpr के रूप में निर्दिष्ट किया गया है, इसलिए इसे कॉन्स्टेंट इंस्टेंस पर कंपाइल-टाइम पर भी मूल्यांकित किया जा सकता है ([SWS_CORE_01737])।

ऑपरेशन को thread-safe और exception safe के रूप में निर्दिष्ट किया गया है ([SWS_CORE_01737])। यदि बिट मान को std::uint16_t की मान सीमा में प्रदर्शित नहीं किया जा सकता है, तो IsoStdOverflowErrorViolation की स्थिति होती है ([SWS_CORE_01737])। व्याख्या: noexcept घोषणा के कारण, इस उल्लंघन की रिपोर्ट नियमित C++ अपवादों के माध्यम से नहीं की जानी चाहिए, बल्कि Violations के लिए प्लेटफ़ॉर्म-विशिष्ट तंत्रों के माध्यम से इसे हैंडल किया जाना चाहिए। प्रश्न Q-785057e36fb7e434 (खुला)

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

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)IsoStdOverflowEr- If the integral value x corresponding to the bits in the bitset cannot rorViolation be represented as the return type

Rückgabewert

TypBeschreibung
std::uint16_tThe bits in the bitset, whereby the first bit of the bitset corresponds to the least significant bit of the returned number and the last bit corresponds to the most significant bit

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

Record
AUTOSAR/AP/record/SWS_CORE_01737
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01737@rel:R25-11#9d5ec87e
Content hash
9d5ec87e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01737
Status: valid/unmigrated Version: rel:R25-11#0c41ce4c 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_CORE_01737@rel:R25-11#0c41ce4c
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

फ़ंक्शन to_uint32t [SWS_CORE_01738] Upstream: RS_AP_00130

constexpr std::uint32_t to_uint32t () const noexcept;

[AUTOSAR defined] not present in ISO-14882. Alias for ara::core::Bitset::to_ulong but explicitly using the std::uint32_t type from [SWS_APT_00028]

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

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

विधि to_uint32t क्लास ara::core::Bitset का एक पैरामीटर-रहित, सिंक्रोनस सदस्य फ़ंक्शन (member function) है, जो हेडर ara/core/bitset.h के माध्यम से उपलब्ध कराया जाता है [SWS_CORE_01738]। यह बिटसेट इंस्टेंस के बिट्स को std::uint32_t प्रकार के अहस्ताक्षरित (unsigned) 32-बिट पूर्णांक मान में परिवर्तित करता है [SWS_CORE_01738]। यह फ़ंक्शन ISO-14882 में शामिल नहीं है, बल्कि ara::core::Bitset::to_ulong के लिए AUTOSAR-विशिष्ट उपनाम (alias) के रूप में परिभाषित है, जो स्पष्ट रूप से [SWS_APT_00028] से डेटा प्रकार std::uint32_t का उपयोग करता है [SWS_CORE_01738]। बिट अनुक्रम की मैपिंग में, बिटसेट का पहला बिट रिटर्न मान के न्यूनतम महत्वपूर्ण बिट (least significant bit) से मेल खाता है और अंतिम बिट उच्चतम महत्वपूर्ण बिट (most significant bit) से मेल खाता है [SWS_CORE_01738]।

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

त्रुटि की स्थिति के लिए, विनिर्देश उल्लंघन IsoStdOverflowErrorViolation को परिभाषित करता है, जो तब होता है जब सेट किए गए बिट्स के अनुरूप पूर्णांक मान को रिटर्न प्रकार के मान परास (value range) में दर्शाया नहीं जा सकता है [SWS_CORE_01738]।

समवर्तीता और निष्पादन संदर्भ

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

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

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)IsoStdOverflowEr- If the integral value x corresponding to the bits in the bitset cannot rorViolation be represented as the return type

Rückgabewert

TypBeschreibung
std::uint32_tThe bits in the bitset, whereby the first bit of the bitset corresponds to the least significant bit of the returned number and the last bit corresponds to the most significant bit

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

Record
AUTOSAR/AP/record/SWS_CORE_01738
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01738@rel:R25-11#39b39aa5
Content hash
39b39aa5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01738
Status: valid/unmigrated Version: rel:R25-11#61be4d07 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_CORE_01738@rel:R25-11#61be4d07
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

फ़ंक्शन to_uint64t [SWS_CORE_01739] Upstream: RS_AP_00130

constexpr std::uint64_t to_uint64t () const noexcept;

[AUTOSAR defined] not present in ISO-14882. Alias for ara::core::Bitset::to_ullong but explicitly using the std::uint64_t type from [SWS_APT_00031]

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

उपयोग

क्लास ara::core::Bitset का सदस्य फ़ंक्शन to_uint64t बिटसेट में निहित बिट्स को सिंक्रोनस रूप से std::uint64_t ([SWS_CORE_01739]) प्रकार के पूर्णांक मान में परिवर्तित करता है। यह ऑपरेशन एक AUTOSAR-विशिष्ट एक्सटेंशन है और ISO-14882 में परिभाषित नहीं है ([SWS_CORE_01739])। यह विधि ara::core::Bitset::to_ullong के लिए एक उपनाम (alias) के रूप में कार्य करता है, लेकिन [SWS_APT_00031] के अनुसार अनिवार्य और स्पष्ट रूप से प्रकार std::uint64_t का उपयोग करता है ([SWS_CORE_01739])। घोषणा हेडर फ़ाइल #include "ara/core/bitset.h" के माध्यम से प्रदान की जाती है ([SWS_CORE_01739])।

रिटर्न मान के बिटवार मैपिंग के लिए, यह नियम लागू होता है कि बिटसेट का पहला बिट जनरेट किए गए मान के न्यूनतम महत्वपूर्ण बिट (least significant bit) से मेल खाता है और अंतिम बिट उच्चतम महत्वपूर्ण बिट (most significant bit) को सौंपा जाता है ([SWS_CORE_01739])। constexpr के रूप में योग्यता के कारण, मूल्यांकन रनटाइम के साथ-साथ कंपाइल-टाइम पर स्थिरांक अभिव्यक्तियों (constant expressions) में भी हो सकता है ([SWS_CORE_01739])।

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

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

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

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)IsoStdOverflowEr- If the integral value x corresponding to the bits in the bitset cannot rorViolation be represented as the return type

Rückgabewert

TypBeschreibung
std::uint64_tThe bits in the bitset, whereby the first bit of the bitset corresponds to the least significant bit of the returned number and the last bit corresponds to the most significant bit

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

Record
AUTOSAR/AP/record/SWS_CORE_01739
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01739@rel:R25-11#20103728
Content hash
20103728
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01739
Status: valid/unmigrated Version: rel:R25-11#162ea888 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_CORE_01739@rel:R25-11#162ea888
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

फ़ंक्शन to_uint8t [SWS_CORE_01736] Upstream: RS_AP_00130

constexpr std::uint8_t to_uint8t () const noexcept;

[AUTOSAR defined] not present in ISO-14882. Converts the contents of the bitset to a std:: uint8_t from [SWS_APT_00022]

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

उपयोग

क्लास ara::core::Bitset का सदस्य फ़ंक्शन to_uint8t [SWS_CORE_01736] और [SWS_APT_00022] के अनुसार संग्रहीत बिटसेट सामग्री को सिंक्रोनस रूप से std::uint8_t प्रकार के अहस्ताक्षरित 8-बिट पूर्णांक मान में रूपांतरित करता है। यह एक AUTOSAR-विशिष्ट फ़ंक्शन एक्सटेंशन है, जो ISO-14882 मानक में मौजूद नहीं है [SWS_CORE_01736]। यह फ़ंक्शन हेडर ara/core/bitset.h के माध्यम से प्रदान किया जाता है, पैरामीटर-रहित है तथा constexpr और noexcept के रूप में घोषित है [SWS_CORE_01736]। बिट अनुक्रम का पहला बिट लौटाए गए मान के न्यूनतम महत्वपूर्ण बिट (LSB) और अंतिम बिट उच्चतम महत्वपूर्ण बिट (MSB) से मेल खाता है [SWS_CORE_01736]।

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

यदि बिटसेट में बिट्स के संगत पूर्णांक मान को लक्ष्य प्रकार std::uint8_t में प्रदर्शित नहीं किया जा सकता है, तो उल्लंघन IsoStdOverflowErrorViolation उत्पन्न होता है [SWS_CORE_01736]। noexcept घोषणा के बावजूद, फ़ंक्शन को अपवाद सुरक्षा के संबंध में exception safe के रूप में निर्दिष्ट किया गया है [SWS_CORE_01736]।

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

एक कॉन्स्टेंट सदस्य फ़ंक्शन के रूप में, to_uint8t को स्पष्ट रूप से thread-safe के रूप में घोषित किया गया है [SWS_CORE_01736], ताकि एकाधिक थ्रेड्स द्वारा समान इंस्टेंस पर समानांतर रीड एक्सेस सुरक्षित रहें। लक्ष्य प्रकार का निरूपण [SWS_APT_00022] के विनिर्देश पर आधारित है।

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

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)IsoStdOverflowEr- If the integral value x corresponding to the bits in the bitset cannot rorViolation be represented as the return type

Rückgabewert

TypBeschreibung
std::uint8_tThe bits in the bitset, whereby the first bit of the bitset corresponds to the least significant bit of the returned number and the last bit corresponds to the most significant bit

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

Record
AUTOSAR/AP/record/SWS_CORE_01736
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01736@rel:R25-11#7eb9c28c
Content hash
7eb9c28c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01736
Status: valid/unmigrated Version: rel:R25-11#c8fcd783 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_CORE_01736@rel:R25-11#c8fcd783
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

फ़ंक्शन to_ullong [SWS_CORE_01735]

constexpr unsigned long long to_ullong () const noexcept;

As per corresponding usage in [bitset] except for the following deviations: 1. Function is constexpr 2. The function is noexcept 3. If the integral value x corresponding to the bits in the bitset cannot be represented as the return type, IsoStdOverflowErrorViolation is raised instead of std:: overflow_error

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

क्लास ara::core::Bitset का सदस्य फ़ंक्शन to_ullong संग्रहीत बिट अनुक्रम को सिंक्रोनस रूप से unsigned long long प्रकार के पूर्णांक मान में परिवर्तित करता है [SWS_CORE_01735]। यह हेडर #include "ara/core/bitset.h" में परिभाषित है और ISO मानक std::bitset की तुलना में constexpr तथा noexcept के रूप में घोषित है [SWS_CORE_01735]।

त्रुटि प्रबंधन और अपवाद व्यवहार के संबंध में निम्नलिखित प्रावधान लागू होते हैं:

  • ओवरफ़्लो प्रबंधन: यदि सेट बिट्स द्वारा दर्शाए गए पूर्णांक मान को रिटर्न प्रकार में प्रदर्शित नहीं किया जा सकता है, तो std::overflow_error अपवाद के बजाय उल्लंघन IsoStdOverflowErrorViolation ट्रिगर किया जाता है [SWS_CORE_01735]।
  • अपवाद सुरक्षा: फ़ंक्शन को exception safe के रूप में वर्गीकृत किया गया है और noexcept विनिर्देश के कारण यह कोई C++ अपवाद नहीं फेंकता है [SWS_CORE_01735]।

अन्य इंटरफ़ेस के साथ परस्पर क्रिया में, AUTOSAR Adaptive to_uint64t के साथ एक प्ररूपित (typed) विकल्प प्रदान करता है, जो to_ullong के लिए एक सीधे उपनाम (alias) के रूप में कार्य करता है, लेकिन स्पष्ट रूप से निश्चित चौड़ाई वाले प्रकार std::uint64_t को लौटाता है [SWS_CORE_01739]। दोनों फ़ंक्शंस में, बिटसेट का पहला बिट परिणामी संख्यात्मक मान के सबसे कम महत्वपूर्ण बिट (LSB) से मेल खाता है और अंतिम बिट सबसे महत्वपूर्ण बिट (MSB) से मेल खाता है [SWS_CORE_01739]। चूंकि to_ullong एक कॉन्स्टेंट सदस्य फ़ंक्शन है और इसका कार्यात्मक समकक्ष thread-safe निर्दिष्ट है, इसलिए उसी इंस्टेंस पर समवर्ती रीड कॉल भी थ्रेड-सुरक्षित होना चाहिए [SWS_CORE_01739]। प्रश्न Q-075766fabc193ce8 (खुला)

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

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe
Verletzungen (Violations)IsoStdOverflowEr- Description as per std::overflow_error rorViolation

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

Record
AUTOSAR/AP/record/SWS_CORE_01735
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01735@rel:R25-11#5a342ace
Content hash
5a342ace
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01735
Status: valid/unmigrated Version: rel:R25-11#56e54640 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_CORE_01735@rel:R25-11#56e54640
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

फ़ंक्शन to_ulong [SWS_CORE_01734]

constexpr unsigned long to_ulong () const noexcept;

As per corresponding usage in [bitset] except for the following deviations: 1. Function is constexpr 2. The function is noexcept 3. If the integral value x corresponding to the bits in the bitset cannot be represented as the return type, IsoStdOverflowErrorViolation is raised instead of std:: overflow_error

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

सदस्य फ़ंक्शन ara::core::Bitset::to_ulong किसी बिटसेट इंस्टेंस के सेट बिट्स को सिंक्रोनस रूप से unsigned long प्रकार के पूर्णांक मान में रूपांतरित करता है [SWS_CORE_01734]। इस फ़ंक्शन के लिए हेडर फ़ाइल ara/core/bitset.h की आवश्यकता होती है और यह क्लास ara::core::Bitset के स्कोप से संबंधित है [SWS_CORE_01734]। सिग्नेचर constexpr unsigned long to_ulong() const noexcept; के साथ घोषणा के कारण, मूल्यांकन रनटाइम के साथ-साथ पहले ही कंपाइल-टाइम पर कॉन्स्टेंट एक्सप्रेशन्स में किया जा सकता है [SWS_CORE_01734]।

त्रुटि व्यवहार के मामले में, यह फ़ंक्शन ISO मानक std::bitset से काफी भिन्न है: यदि बिट्स के संगत पूर्णांक मान को रिटर्न प्रकार unsigned long में प्रदर्शित नहीं किया जा सकता है, तो std::overflow_error प्रकार के अपवाद के बजाय एक IsoStdOverflowErrorViolation उत्पन्न होता है [SWS_CORE_01734]। इस उल्लंघन की शर्त के बावजूद, फ़ंक्शन को noexcept के रूप में घोषित किया गया है और औपचारिक रूप से अपवाद-सुरक्षित (exception safe) माना जाता है [SWS_CORE_01734]।

अन्य रूपांतरण फ़ंक्शंस के साथ परस्पर क्रिया में, AUTOSAR Adaptive to_uint32t के साथ एक सीधा समकक्ष प्रदान करता है, जो to_ulong के लिए एक उपनाम (alias) के रूप में कार्य करता है, लेकिन प्रकार-सटीक रूप से std::uint32_t लौटाता है [SWS_CORE_01738]। समवर्तीता के संबंध में, उसी बिटसेट पर समानांतर रीड एक्सेस के दौरान यह मेथड थ्रेड-सुरक्षित होना चाहिए (व्याख्या), क्योंकि इसे const के रूप में परिभाषित किया गया है और संबंधित आवश्यकता to_uint32t को स्पष्ट रूप से thread-safe चिह्नित किया गया है [SWS_CORE_01738]। प्रश्न Q-59f95b86801a697d (खुला)

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

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe
Verletzungen (Violations)IsoStdOverflowEr- Description as per std::overflow_error rorViolation

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

Record
AUTOSAR/AP/record/SWS_CORE_01734
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01734@rel:R25-11#9c1ef579
Content hash
9c1ef579
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01734
Status: valid/unmigrated Version: rel:R25-11#1b6a5b2d 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_CORE_01734@rel:R25-11#1b6a5b2d
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

फ़ंक्शन ~Bitset [SWS_CORE_01718] Upstream: RS_AP_00130

~Bitset () noexcept;

[AUTOSAR defined] not present in ISO-14882. Destructor

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01718
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01718@rel:R25-11#c6273779
Content hash
c6273779
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01718
Status: valid/unmigrated Version: rel:R25-11#169f86ea 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_CORE_01718@rel:R25-11#169f86ea
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