Loading...
Searching...
No Matches
bitInfo< UIntType > Struct Template Reference

An (unsigned) integral type adapter, for output of bit values. More...

#include <BitOps.H>

Public Types

typedef UIntType value_type

Public Member Functions

constexpr bitInfo () noexcept
 Null constructible as zero.
 bitInfo (UIntType val) noexcept
 Value construct.
 operator UIntType () const noexcept
 Conversion to base type.
 operator UIntType & () noexcept
 Conversion to base type.

Public Attributes

value_type value

Detailed Description

template<class UIntType>
struct Foam::BitOps::bitInfo< UIntType >

An (unsigned) integral type adapter, for output of bit values.

Definition at line 349 of file BitOps.H.

Member Typedef Documentation

◆ value_type

template<class UIntType>
typedef UIntType value_type

Definition at line 351 of file BitOps.H.

Constructor & Destructor Documentation

◆ bitInfo() [1/2]

template<class UIntType>
bitInfo ( )
inlineconstexprnoexcept

Null constructible as zero.

Definition at line 357 of file BitOps.H.

References Foam::noexcept, and value.

◆ bitInfo() [2/2]

template<class UIntType>
bitInfo ( UIntType val)
inlineexplicitnoexcept

Value construct.

Definition at line 362 of file BitOps.H.

References Foam::noexcept.

Member Function Documentation

◆ operator UIntType()

template<class UIntType>
operator UIntType ( ) const
inlinenoexcept

Conversion to base type.

Definition at line 367 of file BitOps.H.

References Foam::noexcept, and value.

◆ operator UIntType &()

template<class UIntType>
operator UIntType & ( )
inlinenoexcept

Conversion to base type.

Definition at line 372 of file BitOps.H.

References value.

Member Data Documentation

◆ value

template<class UIntType>
value_type value

Definition at line 352 of file BitOps.H.

Referenced by bitInfo(), operator UIntType(), operator UIntType &(), and Foam::operator<<().


The documentation for this struct was generated from the following file:
  • src/OpenFOAM/containers/Bits/BitOps/BitOps.H