FlagSet< TEnum, TMaxFlags >::FlagSetReference Class Reference

#include <FlagSet.hpp>

Public Member Functions

 ~FlagSetReference ()
 
FlagSetReferenceoperator= (bool val)
 
 operator bool () const
 

Private Member Functions

 FlagSetReference (FlagSet< TEnum, TMaxFlags > &theSet, TEnum pos)
 

Private Attributes

FlagSet< TEnum, TMaxFlags > * refSet
 
TEnum refPos
 

Friends

class FlagSet< TEnum, TMaxFlags >
 

Detailed Description

template<typename TEnum, int TMaxFlags = 8>
class FlagSet< TEnum, TMaxFlags >::FlagSetReference

Definition at line 58 of file FlagSet.hpp.

Constructor & Destructor Documentation

◆ ~FlagSetReference()

template<typename TEnum , int TMaxFlags = 8>
FlagSet< TEnum, TMaxFlags >::FlagSetReference::~FlagSetReference ( )
inline

Definition at line 63 of file FlagSet.hpp.

◆ FlagSetReference()

template<typename TEnum , int TMaxFlags = 8>
FlagSet< TEnum, TMaxFlags >::FlagSetReference::FlagSetReference ( FlagSet< TEnum, TMaxFlags > &  theSet,
TEnum  pos 
)
inlineprivate

Definition at line 80 of file FlagSet.hpp.

Member Function Documentation

◆ operator bool()

template<typename TEnum , int TMaxFlags = 8>
FlagSet< TEnum, TMaxFlags >::FlagSetReference::operator bool ( ) const
inline

◆ operator=()

template<typename TEnum , int TMaxFlags = 8>
FlagSetReference& FlagSet< TEnum, TMaxFlags >::FlagSetReference::operator= ( bool  val)
inline

Friends And Related Function Documentation

◆ FlagSet< TEnum, TMaxFlags >

template<typename TEnum , int TMaxFlags = 8>
friend class FlagSet< TEnum, TMaxFlags >
friend

Definition at line 299 of file FlagSet.hpp.

Member Data Documentation

◆ refPos

template<typename TEnum , int TMaxFlags = 8>
TEnum FlagSet< TEnum, TMaxFlags >::FlagSetReference::refPos
private

◆ refSet

template<typename TEnum , int TMaxFlags = 8>
FlagSet<TEnum, TMaxFlags>* FlagSet< TEnum, TMaxFlags >::FlagSetReference::refSet
private

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