A bit-field value. More...
#include <bitfield.h>
Public Member Functions | |
BitFieldValue () | |
BitFieldValue (typename Enumeration::Value value) | |
unsigned | get () const |
Protected Member Functions | |
BitFieldValue (unsigned value) | |
Private Attributes | |
unsigned | m_value |
A bit-field value.
Enumeration | A type that contains an enum Value of the bits that can be set in this field. |
Definition at line 36 of file bitfield.h.
BitFieldValue< Enumeration >::BitFieldValue | ( | unsigned | value | ) | [inline, explicit, protected] |
Definition at line 39 of file bitfield.h.
BitFieldValue< Enumeration >::BitFieldValue | ( | ) | [inline] |
Definition at line 42 of file bitfield.h.
BitFieldValue< Enumeration >::BitFieldValue | ( | typename Enumeration::Value | value | ) | [inline, explicit] |
Definition at line 44 of file bitfield.h.
unsigned BitFieldValue< Enumeration >::get | ( | ) | const [inline] |
Definition at line 46 of file bitfield.h.
References BitFieldValue< Enumeration >::m_value.
Referenced by operator&(), operator==(), and operator|().
unsigned BitFieldValue< Enumeration >::m_value [private] |
Definition at line 37 of file bitfield.h.
Referenced by BitFieldValue< Enumeration >::get().