isomatch
Public Member Functions | Friends | List of all members
DynBitset::Reference Class Reference

#include <dyn_bitset.h>

Public Member Functions

Referenceoperator= (bool)
 Sets the bit to a given value. More...
 
Referenceoperator= (const Reference &)
 Sets the bit to a given value. More...
 
bool operator~ () const
 Flips and returns the bit. More...
 
 operator bool () const
 Value of the reference. More...
 
Referenceflip ()
 In-place flips the bit. More...
 
void set ()
 Sets the bit (slightly faster than = true) More...
 
void reset ()
 Resets the bit (slightly faster than = false) More...
 

Friends

class DynBitset
 

Member Function Documentation

◆ flip()

Reference& DynBitset::Reference::flip ( )
inline

In-place flips the bit.

◆ operator bool()

DynBitset::Reference::operator bool ( ) const
inline

Value of the reference.

◆ operator=() [1/2]

DynBitset::Reference & DynBitset::Reference::operator= ( bool  e)

Sets the bit to a given value.

◆ operator=() [2/2]

DynBitset::Reference & DynBitset::Reference::operator= ( const Reference e)

Sets the bit to a given value.

◆ operator~()

bool DynBitset::Reference::operator~ ( ) const
inline

Flips and returns the bit.

◆ reset()

void DynBitset::Reference::reset ( )
inline

Resets the bit (slightly faster than = false)

◆ set()

void DynBitset::Reference::set ( )
inline

Sets the bit (slightly faster than = true)

Friends And Related Function Documentation

◆ DynBitset

friend class DynBitset
friend

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