Public Member Functions | Private Member Functions | Private Attributes | Friends
absl::container_internal::BitMask< T, SignificantBits, Shift > Class Template Reference

#include <raw_hash_set.h>

List of all members.

Public Member Functions

BitMask begin () const
 BitMask (T mask)
BitMask end () const
int HighestBitSet () const
int LeadingZeros () const
int LowestBitSet () const
 operator bool () const
int operator* () const
BitMaskoperator++ ()
int TrailingZeros () const

Private Member Functions

 static_assert (std::is_unsigned< T >::value,"")
 static_assert (Shift==0||Shift==3,"")

Private Attributes

mask_

Friends

bool operator!= (const BitMask &a, const BitMask &b)
bool operator== (const BitMask &a, const BitMask &b)

Detailed Description

template<class T, int SignificantBits, int Shift = 0>
class absl::container_internal::BitMask< T, SignificantBits, Shift >

Definition at line 200 of file raw_hash_set.h.


Constructor & Destructor Documentation

template<class T , int SignificantBits, int Shift = 0>
absl::container_internal::BitMask< T, SignificantBits, Shift >::BitMask ( mask) [inline, explicit]

Definition at line 210 of file raw_hash_set.h.


Member Function Documentation

template<class T , int SignificantBits, int Shift = 0>
BitMask absl::container_internal::BitMask< T, SignificantBits, Shift >::begin ( ) const [inline]

Definition at line 226 of file raw_hash_set.h.

template<class T , int SignificantBits, int Shift = 0>
BitMask absl::container_internal::BitMask< T, SignificantBits, Shift >::end ( ) const [inline]

Definition at line 227 of file raw_hash_set.h.

template<class T , int SignificantBits, int Shift = 0>
int absl::container_internal::BitMask< T, SignificantBits, Shift >::HighestBitSet ( ) const [inline]

Definition at line 220 of file raw_hash_set.h.

template<class T , int SignificantBits, int Shift = 0>
int absl::container_internal::BitMask< T, SignificantBits, Shift >::LeadingZeros ( ) const [inline]

Definition at line 233 of file raw_hash_set.h.

template<class T , int SignificantBits, int Shift = 0>
int absl::container_internal::BitMask< T, SignificantBits, Shift >::LowestBitSet ( ) const [inline]

Definition at line 217 of file raw_hash_set.h.

template<class T , int SignificantBits, int Shift = 0>
absl::container_internal::BitMask< T, SignificantBits, Shift >::operator bool ( ) const [inline, explicit]

Definition at line 215 of file raw_hash_set.h.

template<class T , int SignificantBits, int Shift = 0>
int absl::container_internal::BitMask< T, SignificantBits, Shift >::operator* ( ) const [inline]

Definition at line 216 of file raw_hash_set.h.

template<class T , int SignificantBits, int Shift = 0>
BitMask& absl::container_internal::BitMask< T, SignificantBits, Shift >::operator++ ( ) [inline]

Definition at line 211 of file raw_hash_set.h.

template<class T , int SignificantBits, int Shift = 0>
absl::container_internal::BitMask< T, SignificantBits, Shift >::static_assert ( std::is_unsigned< T >::value  ,
""   
) [private]
template<class T , int SignificantBits, int Shift = 0>
absl::container_internal::BitMask< T, SignificantBits, Shift >::static_assert ( Shift  = =0||Shift==3,
""   
) [private]
template<class T , int SignificantBits, int Shift = 0>
int absl::container_internal::BitMask< T, SignificantBits, Shift >::TrailingZeros ( ) const [inline]

Definition at line 229 of file raw_hash_set.h.


Friends And Related Function Documentation

template<class T , int SignificantBits, int Shift = 0>
bool operator!= ( const BitMask< T, SignificantBits, Shift > &  a,
const BitMask< T, SignificantBits, Shift > &  b 
) [friend]

Definition at line 243 of file raw_hash_set.h.

template<class T , int SignificantBits, int Shift = 0>
bool operator== ( const BitMask< T, SignificantBits, Shift > &  a,
const BitMask< T, SignificantBits, Shift > &  b 
) [friend]

Definition at line 240 of file raw_hash_set.h.


Member Data Documentation

template<class T , int SignificantBits, int Shift = 0>
T absl::container_internal::BitMask< T, SignificantBits, Shift >::mask_ [private]

Definition at line 247 of file raw_hash_set.h.


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


abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:42:16