LeechCraft  0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
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>
class LC::Util::BitFlags< T >

Definition at line 22 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 >
false LC::Util::BitFlags< T >::BitFlags ( t)
inlineexplicit

Definition at line 37 of file bitflags.h.

Member Function Documentation

◆ operator bool()

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

Definition at line 42 of file bitflags.h.

◆ operator&=()

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

Definition at line 47 of file bitflags.h.

◆ operator|=()

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

Definition at line 53 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 59 of file bitflags.h.

◆ operator|

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

Definition at line 65 of file bitflags.h.


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