Realm
A distributed, event-based tasking library
Loading...
Searching...
No Matches
Realm::bitpack< T > Class Template Reference

#include <utils.h>

Classes

class  bitsliceref
 
class  constbitsliceref
 

Public Member Functions

 bitpack ()
 
 bitpack (const bitpack< T > &copy_from)
 
 bitpack (T init_val)
 
bitpack< T > & operator= (const bitpack< T > &copy_from)
 
bitpack< T > & operator= (T new_val)
 
 operator T () const
 
template<typename BITFIELD >
bitsliceref< BITFIELD > slice ()
 
template<typename BITFIELD >
constbitsliceref< BITFIELD > slice () const
 
template<typename BITFIELD >
bitsliceref< BITFIELD > operator[] (const BITFIELD &bitfield)
 
template<typename BITFIELD >
constbitsliceref< BITFIELD > operator[] (const BITFIELD &bitfield) const
 

Protected Attributes

value
 

Constructor & Destructor Documentation

◆ bitpack() [1/3]

template<typename T >
Realm::bitpack< T >::bitpack ( )

◆ bitpack() [2/3]

template<typename T >
Realm::bitpack< T >::bitpack ( const bitpack< T > &  copy_from)

◆ bitpack() [3/3]

template<typename T >
Realm::bitpack< T >::bitpack ( init_val)

Member Function Documentation

◆ operator T()

template<typename T >
Realm::bitpack< T >::operator T ( ) const

◆ operator=() [1/2]

template<typename T >
bitpack< T > & Realm::bitpack< T >::operator= ( const bitpack< T > &  copy_from)

◆ operator=() [2/2]

template<typename T >
bitpack< T > & Realm::bitpack< T >::operator= ( new_val)

◆ operator[]() [1/2]

template<typename T >
template<typename BITFIELD >
bitsliceref< BITFIELD > Realm::bitpack< T >::operator[] ( const BITFIELD &  bitfield)

◆ operator[]() [2/2]

template<typename T >
template<typename BITFIELD >
constbitsliceref< BITFIELD > Realm::bitpack< T >::operator[] ( const BITFIELD &  bitfield) const

◆ slice() [1/2]

template<typename T >
template<typename BITFIELD >
bitsliceref< BITFIELD > Realm::bitpack< T >::slice ( )

◆ slice() [2/2]

template<typename T >
template<typename BITFIELD >
constbitsliceref< BITFIELD > Realm::bitpack< T >::slice ( ) const

Member Data Documentation

◆ value

template<typename T >
T Realm::bitpack< T >::value
protected

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