BitFieldValue< Enumeration > Class Template Reference

A bit-field value. More...

#include <bitfield.h>

Inheritance diagram for BitFieldValue< Enumeration >:
Inheritance graph
[legend]

Public Member Functions

 BitFieldValue ()
 BitFieldValue (typename Enumeration::Value value)
unsigned get () const

Protected Member Functions

 BitFieldValue (unsigned value)

Private Attributes

unsigned m_value

Detailed Description

template<typename Enumeration>
class BitFieldValue< Enumeration >

A bit-field value.

Parameters:
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.


Constructor & Destructor Documentation

template<typename Enumeration>
BitFieldValue< Enumeration >::BitFieldValue ( unsigned  value  )  [inline, explicit, protected]

Definition at line 39 of file bitfield.h.

template<typename Enumeration>
BitFieldValue< Enumeration >::BitFieldValue (  )  [inline]

Definition at line 42 of file bitfield.h.

template<typename Enumeration>
BitFieldValue< Enumeration >::BitFieldValue ( typename Enumeration::Value  value  )  [inline, explicit]

Definition at line 44 of file bitfield.h.


Member Function Documentation

template<typename Enumeration>
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|().


Field Documentation

template<typename Enumeration>
unsigned BitFieldValue< Enumeration >::m_value [private]

Definition at line 37 of file bitfield.h.

Referenced by BitFieldValue< Enumeration >::get().


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

Generated by  doxygen 1.6.2