LeechCraft  0.6.70-13729-g7046a9d2a7
Modular cross-platform feature rich live environment.
LC::Util::BitFlags< T > Class Template Reference

#include "bitflags.h"

Public Member Functions

 BitFlags ()=default
 
 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>
class LC::Util::BitFlags< T >

Definition at line 39 of file bitflags.h.

Constructor & Destructor Documentation

◆ BitFlags() [1/2]

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

◆ BitFlags() [2/2]

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

Definition at line 48 of file bitflags.h.

Member Function Documentation

◆ operator &=()

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

Definition at line 58 of file bitflags.h.

◆ operator bool()

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

Definition at line 53 of file bitflags.h.

◆ operator|=()

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

Definition at line 64 of file bitflags.h.

Friends And Related Function Documentation

◆ operator &

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

Definition at line 70 of file bitflags.h.

◆ operator|

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

Definition at line 76 of file bitflags.h.


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