Loki  0.1.7
Loki::SafeBitField< unique_index, word_t > Class Template Reference

Forward declaration of the field type. More...

#include <SafeBits.h>

Public Types

typedef word_t bit_word_t
 Type of the bit field is available if needed.
 
typedef SafeBitConst< unique_index, word_t > const_t
 Corresponding field type.
 

Public Member Functions

 SafeBitField ()
 Default constructor allows client code to construct bit fields on the stack.
 
 SafeBitField (const SafeBitField &rhs)
 Copy constructor and assignment operators.
 
 SafeBitField (const const_t &rhs)
 Copy constructor and assignment operators from constant bit fields.
 
bool operator== (const SafeBitField &rhs) const
 These comparison operators act on bit-fields of the same type.
 
bool operator== (const const_t &rhs) const
 These comparison operators act on bit-constants of a similar type.
 
SafeBitField operator| (const SafeBitField &rhs) const
 Bitwise operations that use bit-fields.
 
SafeBitField operator| (const_t rhs) const
 Bitwise operators that use bit-constants.
 

Friends

class SafeBitConst< unique_index, word_t >
 Typedef is not allowed in friendship declaration.
 

Detailed Description

template<unsigned int unique_index, typename word_t>
class Loki::SafeBitField< unique_index, word_t >

Forward declaration of the field type.


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