List of all members | Public Member Functions | Private Attributes
utl::Bit::Array< T >::Bit Class Reference

#include <Bit.h>

Public Member Functions

 Bit (T &target, T mask)
 
BitFlip ()
 
 operator bool () const
 
Bitoperator= (const bool value)
 
bool operator~ () const
 

Private Attributes

fMask
 
T & fTarget
 

Detailed Description

template<typename T>
class utl::Bit::Array< T >::Bit

Definition at line 24 of file Bit.h.

Constructor & Destructor Documentation

template<typename T >
utl::Bit::Array< T >::Bit::Bit ( T &  target,
mask 
)
inline

Definition at line 26 of file Bit.h.

Member Function Documentation

template<typename T >
Bit& utl::Bit::Array< T >::Bit::Flip ( )
inline

Definition at line 42 of file Bit.h.

template<typename T >
utl::Bit::Array< T >::Bit::operator bool ( ) const
inline

Definition at line 28 of file Bit.h.

References utl::Bit::Array< T >::Bit::fMask, and utl::Bit::Array< T >::Bit::fTarget.

template<typename T >
Bit& utl::Bit::Array< T >::Bit::operator= ( const bool  value)
inline

Definition at line 33 of file Bit.h.

References utl::Bit::Array< T >::Bit::fMask, and utl::Bit::Array< T >::Bit::fTarget.

template<typename T >
bool utl::Bit::Array< T >::Bit::operator~ ( ) const
inline

Definition at line 30 of file Bit.h.

Member Data Documentation

template<typename T >
T utl::Bit::Array< T >::Bit::fMask
private
template<typename T >
T& utl::Bit::Array< T >::Bit::fTarget
private

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

, generated on Tue Sep 26 2023.