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

#include "bitflags.h"

Public Member Functions

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

Friends

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

Detailed Description

template<typename T>
class LeechCraft::Util::BitFlags< T >

Definition at line 39 of file bitflags.h.

Constructor & Destructor Documentation

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

Definition at line 48 of file bitflags.h.

Member Function Documentation

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

Definition at line 53 of file bitflags.h.

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

Definition at line 58 of file bitflags.h.

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

Definition at line 64 of file bitflags.h.

Friends And Related Function Documentation

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

Definition at line 70 of file bitflags.h.

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: