CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::RawFlags Class Reference

#include <CeresEngine/Foundation/Flags.hpp>

Public Member Functions

 RawFlags ()=default
 
 RawFlags (const RawFlags &)=default
 
RawFlagsoperator= (const RawFlags &)=default
 
 RawFlags (const unsigned int flags)
 
bool setOnce (const unsigned int flag)
 
void insert (const unsigned int flag)
 
void remove (const unsigned int flag)
 
RawFlagsoperator<< (const unsigned int flag)
 
bool any (const unsigned int flags) const
 
bool all (const unsigned int flags) const
 
bool operator() (const unsigned int flag) const
 
 operator unsigned int () const
 

Public Attributes

unsigned int raw = 0
 

Constructor & Destructor Documentation

◆ RawFlags() [1/3]

CeresEngine::RawFlags::RawFlags ( )
default

◆ RawFlags() [2/3]

CeresEngine::RawFlags::RawFlags ( const RawFlags )
default

◆ RawFlags() [3/3]

CeresEngine::RawFlags::RawFlags ( const unsigned int  flags)
inline

Member Function Documentation

◆ all()

bool CeresEngine::RawFlags::all ( const unsigned int  flags) const
inline

◆ any()

bool CeresEngine::RawFlags::any ( const unsigned int  flags) const
inline

◆ insert()

void CeresEngine::RawFlags::insert ( const unsigned int  flag)
inline

◆ operator unsigned int()

CeresEngine::RawFlags::operator unsigned int ( ) const
inline

◆ operator()()

bool CeresEngine::RawFlags::operator() ( const unsigned int  flag) const
inline

◆ operator<<()

RawFlags & CeresEngine::RawFlags::operator<< ( const unsigned int  flag)
inline

◆ operator=()

RawFlags & CeresEngine::RawFlags::operator= ( const RawFlags )
default

◆ remove()

void CeresEngine::RawFlags::remove ( const unsigned int  flag)
inline

◆ setOnce()

bool CeresEngine::RawFlags::setOnce ( const unsigned int  flag)
inline

Member Data Documentation

◆ raw

unsigned int CeresEngine::RawFlags::raw = 0

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