gem5  v20.1.0.0
Public Types | Public Member Functions | Private Attributes | List of all members
Flags< T > Class Template Reference

#include <flags.hh>

Public Types

typedef T Type
 

Public Member Functions

 operator const Type () const
 
template<typename U >
const Flags< T > & operator= (const Flags< U > &flags)
 
const Flags< T > & operator= (T flags)
 
 Flags ()
 
 Flags (Type flags)
 
bool isSet () const
 
bool isSet (Type flags) const
 
bool allSet () const
 
bool allSet (Type flags) const
 
bool noneSet () const
 
bool noneSet (Type flags) const
 
void clear ()
 
void clear (Type flags)
 
void set (Type flags)
 
void set (Type f, bool val)
 
void update (Type flags, Type mask)
 

Private Attributes

_flags
 

Detailed Description

template<typename T>
class Flags< T >

Definition at line 33 of file flags.hh.

Member Typedef Documentation

◆ Type

template<typename T >
typedef T Flags< T >::Type

Definition at line 39 of file flags.hh.

Member Data Documentation

◆ _flags

template<typename T >
T Flags< T >::_flags
private

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

Generated on Wed Sep 30 2020 14:02:24 for gem5 by doxygen 1.8.17