gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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

 Flags ()
 
 Flags (Type flags)
 
 operator const Type () const
 
template<typename U >
const Flags< T > & operator= (const Flags< U > &flags)
 
const Flags< T > & operator= (T 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 35 of file flags.hh.

Member Typedef Documentation

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

Definition at line 41 of file flags.hh.

Constructor & Destructor Documentation

template<typename T>
Flags< T >::Flags ( )
inline

Definition at line 42 of file flags.hh.

template<typename T>
Flags< T >::Flags ( Type  flags)
inline

Definition at line 43 of file flags.hh.

Member Function Documentation

template<typename T>
bool Flags< T >::allSet ( ) const
inline

Definition at line 64 of file flags.hh.

template<typename T>
bool Flags< T >::allSet ( Type  flags) const
inline

Definition at line 65 of file flags.hh.

template<typename T>
void Flags< T >::clear ( )
inline
template<typename T>
void Flags< T >::clear ( Type  flags)
inline

Definition at line 69 of file flags.hh.

template<typename T>
bool Flags< T >::isSet ( ) const
inline

Definition at line 62 of file flags.hh.

Referenced by Event::acquire(), TimingSimpleCPU::buildSplitPacket(), Packet::cacheResponding(), EventQueue::checkpointReschedule(), TimingSimpleCPU::completeDataAccess(), Packet::deleteData(), ArmISA::Stage2MMU::Stage2Translation::finish(), Packet::getAddr(), Packet::getConstPtr(), Packet::getPtr(), Packet::getRaw(), Packet::getSize(), Packet::hasSharers(), Request::isAcquire(), Request::isAtomic(), Request::isAtomicNoReturn(), Request::isAtomicReturn(), Packet::isBlockCached(), Request::isCondSwap(), Event::isExitEvent(), Packet::isExpressSnoop(), Event::isFlagSet(), Request::isInstFetch(), Request::isKernel(), Request::isLLSC(), Request::isLockedRMW(), Event::isManaged(), Request::isMmappedIpr(), Request::isPrefetch(), Request::isPriv(), Request::isPTWalk(), Request::isRelease(), Packet::isSecure(), Request::isSecure(), TraceCPU::ElasticDataGen::GraphNode::isStrictlyOrdered(), Request::isStrictlyOrdered(), Request::isSwap(), Request::isUncacheable(), Stats::Text::noOutput(), Stats::ScalarPrint::operator()(), Stats::VectorPrint::operator()(), Stats::DistPrint::operator()(), Packet::Packet(), ArmISA::Stage2MMU::readDataUntimed(), AtomicSimpleCPU::readMem(), CheckerCPU::readMem(), Event::release(), Packet::responderHadWritable(), Event::scheduled(), TimingSimpleCPU::sendData(), TimingSimpleCPU::sendSplitData(), Packet::setAddr(), Packet::setCacheResponding(), Packet::setData(), Packet::setRaw(), Packet::setSize(), Event::squashed(), Packet::suppressFuncError(), Stats::Text::visit(), and AtomicSimpleCPU::writeMem().

template<typename T>
bool Flags< T >::isSet ( Type  flags) const
inline

Definition at line 63 of file flags.hh.

template<typename T>
bool Flags< T >::noneSet ( ) const
inline
template<typename T>
bool Flags< T >::noneSet ( Type  flags) const
inline

Definition at line 67 of file flags.hh.

template<typename T>
Flags< T >::operator const Type ( ) const
inline

Definition at line 45 of file flags.hh.

template<typename T>
template<typename U >
const Flags<T>& Flags< T >::operator= ( const Flags< U > &  flags)
inline

Definition at line 49 of file flags.hh.

template<typename T>
const Flags<T>& Flags< T >::operator= ( flags)
inline

Definition at line 56 of file flags.hh.

template<typename T>
void Flags< T >::set ( Type  flags)
inline
template<typename T>
void Flags< T >::set ( Type  f,
bool  val 
)
inline

Definition at line 71 of file flags.hh.

template<typename T>
void Flags< T >::update ( Type  flags,
Type  mask 
)
inline

Definition at line 73 of file flags.hh.

Member Data Documentation

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

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

Generated on Fri Jun 9 2017 13:04:10 for gem5 by doxygen 1.8.6