gem5  v20.1.0.0
Public Member Functions | Protected Types | List of all members
BitfieldType< Base > Class Template Reference

#include <bitunion.hh>

Inheritance diagram for BitfieldType< Base >:
BitfieldTypeImpl< Base >

Public Member Functions

 BitfieldType ()=default
 
 BitfieldType (const BitfieldType &)=default
 
 operator Type () const
 
Type operator= (const Type val)
 
Type operator= (BitfieldType< Base > const &other)
 

Protected Types

using Impl = BitfieldTypeImpl< Base >
 
typedef TypeDeducer::Type Type
 
- Protected Types inherited from BitfieldTypeImpl< Base >
typedef TypeDeducer::Storage Storage
 
typedef TypeDeducer::Type Type
 

Additional Inherited Members

- Protected Member Functions inherited from BitfieldTypeImpl< Base >
Type getter (const Storage &storage) const =delete
 
void setter (Storage &storage, Type val)=delete
 
 BitfieldTypeImpl ()=default
 
 BitfieldTypeImpl (const BitfieldTypeImpl &)=default
 
 operator Type () const
 
Type operator= (const Type val)
 
Type operator= (BitfieldTypeImpl< Base > const &other)
 
- Protected Attributes inherited from BitfieldTypeImpl< Base >
Storage __storage
 

Detailed Description

template<class Base>
class BitfieldType< Base >

Definition at line 113 of file bitunion.hh.

Member Typedef Documentation

◆ Impl

template<class Base >
using BitfieldType< Base >::Impl = BitfieldTypeImpl<Base>
protected

Definition at line 116 of file bitunion.hh.

◆ Type

template<class Base >
typedef TypeDeducer::Type BitfieldTypeImpl< Base >::Type
protected

Definition at line 82 of file bitunion.hh.

Constructor & Destructor Documentation

◆ BitfieldType() [1/2]

template<class Base >
BitfieldType< Base >::BitfieldType ( )
default

◆ BitfieldType() [2/2]

template<class Base >
BitfieldType< Base >::BitfieldType ( const BitfieldType< Base > &  )
default

Member Function Documentation

◆ operator Type()

template<class Base >
BitfieldType< Base >::operator Type ( ) const
inline

Definition at line 123 of file bitunion.hh.

◆ operator=() [1/2]

template<class Base >
Type BitfieldType< Base >::operator= ( BitfieldType< Base > const &  other)
inline

Definition at line 127 of file bitunion.hh.

References BitfieldTypeImpl< Base >::operator=().

◆ operator=() [2/2]

template<class Base >
Type BitfieldType< Base >::operator= ( const Type  val)
inline

Definition at line 125 of file bitunion.hh.

References BitfieldTypeImpl< Base >::operator=(), and X86ISA::val.


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

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