LeechCraft 0.6.70-17609-g3dde4097dd
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
LC::Util::BitFlags< T > Class Template Reference

#include "bitflags.h"

Public Member Functions

 BitFlags ()=default
false BitFlags (T t)
 operator bool () const
BitFlagsoperator&= (BitFlags other)
BitFlagsoperator|= (BitFlags other)

Friends

BitFlags operator& (BitFlags left, BitFlags right)
BitFlags operator| (BitFlags left, BitFlags right)

Detailed Description

template<typename T>
requires std::is_enum_v<T>
class LC::Util::BitFlags< T >

Definition at line 17 of file bitflags.h.

Constructor & Destructor Documentation

◆ BitFlags() [1/2]

template<typename T>
LC::Util::BitFlags< T >::BitFlags ( )
default

Referenced by BitFlags(), operator&, operator&=(), operator|, and operator|=().

Here is the caller graph for this function:

◆ BitFlags() [2/2]

template<typename T>
false LC::Util::BitFlags< T >::BitFlags ( T t)
inlineexplicit

Definition at line 24 of file bitflags.h.

References BitFlags().

Here is the call graph for this function:

Member Function Documentation

◆ operator bool()

template<typename T>
LC::Util::BitFlags< T >::operator bool ( ) const
inlineexplicit

Definition at line 29 of file bitflags.h.

◆ operator&=()

template<typename T>
BitFlags & LC::Util::BitFlags< T >::operator&= ( BitFlags< T > other)
inline

Definition at line 34 of file bitflags.h.

References BitFlags().

Here is the call graph for this function:

◆ operator|=()

template<typename T>
BitFlags & LC::Util::BitFlags< T >::operator|= ( BitFlags< T > other)
inline

Definition at line 40 of file bitflags.h.

References BitFlags().

Here is the call graph for this function:

◆ operator&

template<typename T>
BitFlags operator& ( BitFlags< T > left,
BitFlags< T > right )
friend

Definition at line 46 of file bitflags.h.

References BitFlags().

◆ operator|

template<typename T>
BitFlags operator| ( BitFlags< T > left,
BitFlags< T > right )
friend

Definition at line 52 of file bitflags.h.

References BitFlags().


The documentation for this class was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/leechcraft-doc-0.6.70+git.17609.g3dde4097dd-build/leechcraft-0.6.70-17609-g3dde4097dd/src/util/sll/bitflags.h