bitInfo< UIntType > Struct Template Reference

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

Public Types

typedef UIntType value_type
 

Public Member Functions

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

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 267 of file BitOps.H.

Member Typedef Documentation

◆ value_type

typedef UIntType value_type

Definition at line 269 of file BitOps.H.

Constructor & Destructor Documentation

◆ bitInfo() [1/2]

constexpr bitInfo ( )
inlineconstexprnoexcept

Null constructible as zero.

Definition at line 273 of file BitOps.H.

◆ bitInfo() [2/2]

bitInfo ( UIntType  val)
inlineexplicit

Value construct.

Definition at line 276 of file BitOps.H.

Member Function Documentation

◆ operator UIntType()

operator UIntType ( ) const
inline

Conversion to base type.

Definition at line 279 of file BitOps.H.

References bitInfo< UIntType >::value.

◆ operator UIntType &()

operator UIntType & ( )
inline

Conversion to base type.

Definition at line 282 of file BitOps.H.

References bitInfo< UIntType >::value.

Member Data Documentation

◆ value


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