Open 3D Engine AzCore API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZStd::bitset< NumBits > Class Template Reference

#include <bitset.h>

Classes

class  reference
 

Public Types

typedef unsigned int word_t
 
typedef word_t * pointer
 
typedef const word_t * const_pointer
 
typedef AZStd::size_t size_type
 

Public Member Functions

AZ_FORCE_INLINE bool operator[] (AZStd::size_t pos) const
 
AZ_FORCE_INLINE reference operator[] (AZStd::size_t pos)
 
 bitset (unsigned long long value)
 
template<class Element , class Traits , class Allocator >
 bitset (const basic_string< Element, Traits, Allocator > &str, AZStd::size_t pos=0, AZStd::size_t count=0xffffffff, Element zero=(Element) '0')
 
AZ_FORCE_INLINE this_typeoperator&= (const this_type &rhs)
 
AZ_FORCE_INLINE this_typeoperator|= (const this_type &rhs)
 
AZ_FORCE_INLINE this_typeoperator^= (const this_type &rhs)
 
this_typeoperator<<= (AZStd::size_t pos)
 
this_typeoperator>>= (AZStd::size_t pos)
 
AZ_FORCE_INLINE this_typeset ()
 
AZ_FORCE_INLINE this_typeset (AZStd::size_t pos, bool value=true)
 
AZ_FORCE_INLINE this_typereset ()
 
AZ_FORCE_INLINE this_typereset (AZStd::size_t pos)
 
AZ_FORCE_INLINE this_type operator~ () const
 
AZ_FORCE_INLINE bitset< NumBits > & flip ()
 
AZ_FORCE_INLINE this_typeflip (AZStd::size_t pos)
 
unsigned long to_ulong () const
 
AZ::u64 to_ullong () const
 
template<class Element , class Traits , class Allocator >
basic_string< Element, Traits, Allocator > to_string (Element zero=(Element) '0') const
 
template<class Element , class Traits >
basic_string< Element, Traits, AZStd::allocatorto_string (Element zero=(Element) '0') const
 
template<class Element >
basic_string< Element, AZStd::char_traits< Element >, AZStd::allocatorto_string (Element zero=(Element) '0') const
 
AZStd::size_t count () const
 
constexpr AZStd::size_t size () const
 
AZ_FORCE_INLINE bool operator== (const this_type &rhs) const
 
AZ_FORCE_INLINE bool operator!= (const this_type &rhs) const
 
AZ_FORCE_INLINE bool test (AZStd::size_t pos) const
 
AZ_FORCE_INLINE bool any () const
 
AZ_FORCE_INLINE bool none () const
 
AZ_FORCE_INLINE this_type operator<< (AZStd::size_t pos) const
 
AZ_FORCE_INLINE this_type operator>> (AZStd::size_t pos) const
 

Extensions

AZ_FORCE_INLINE pointer data ()
 AZStd Extensions. Return pointer to the bitset data. The bitset data is guaranteed to be stored as an array.
 
AZ_FORCE_INLINE const_pointer data () const
 
AZ_FORCE_INLINE AZStd::size_t num_words () const
 

Detailed Description

template<AZStd::size_t NumBits>
class AZStd::bitset< NumBits >

Bitset template as defined in 20.3.6


The documentation for this class was generated from the following files: