#include <BitsDefinition.h>
Public Member Functions | |
| BitsDefinition (const BitsDefinition &rhs) | |
| Suppress default. | |
| BitsDefinition & | operator= (const BitsDefinition &rhs) |
| Suppress default. | |
| BitsDefinition (unsigned int field, unsigned int offset, unsigned int lowbit, unsigned int count, const std::string &description) | |
| Creates an instance of this class. | |
| virtual | ~BitsDefinition () |
| Destroy this instance of the class. | |
| unsigned int | field () const |
| Returns the 'field' index of the value within its containing byte block. | |
| unsigned int | offset () const |
| Returns the offset of the value within its containing byte block. | |
| unsigned int | lowBit () const |
| The least significant bit containing this value. | |
| unsigned int | highBit () const |
| The most significant bit containing this value. | |
| const std::string & | description () const |
| The description of the value contained in these bits. | |
Private Member Functions | |
| BitsDefinition () | |
| Suppress default. | |
Private Attributes | |
| unsigned int | m_field |
| The 'field' index of the value within its containing byte block. | |
| unsigned int | m_offset |
| The offset of the value within its containing byte block. | |
| unsigned int | m_lowBit |
| The bit that contains the least significant bit of the value. | |
| unsigned int | m_count |
| The number of bits containing this value. | |
| const std::string * | m_description |
| The description of the value contained in these bits. | |
Definition at line 16 of file BitsDefinition.h.
| BitsDefinition::BitsDefinition | ( | const BitsDefinition & | rhs | ) |
Suppress default.
Definition at line 33 of file BitsDefinition.cc.
00033 : 00034 m_field(rhs.m_field), 00035 m_offset(rhs.m_offset), 00036 m_lowBit(rhs.m_lowBit), 00037 m_count(rhs.m_count), 00038 m_description(rhs.m_description) { 00039 }
| DybDaq::BitsDefinition::BitsDefinition | ( | unsigned int | field, | |
| unsigned int | offset, | |||
| unsigned int | lowbit, | |||
| unsigned int | count, | |||
| const std::string & | description | |||
| ) |
Creates an instance of this class.
| BitsDefinition::~BitsDefinition | ( | ) | [virtual] |
| BitsDefinition::BitsDefinition | ( | ) | [private] |
Suppress default.
Definition at line 14 of file BitsDefinition.cc.
00014 : 00015 m_description(0) { 00016 }
| BitsDefinition & BitsDefinition::operator= | ( | const BitsDefinition & | rhs | ) |
Suppress default.
Definition at line 41 of file BitsDefinition.cc.
00041 { 00042 m_field = rhs.m_field; 00043 m_offset = rhs.m_offset; 00044 m_lowBit = rhs.m_lowBit; 00045 m_count = rhs.m_count; 00046 m_description = rhs.m_description; 00047 return *this; 00048 }
| unsigned int BitsDefinition::field | ( | ) | const |
Returns the 'field' index of the value within its containing byte block.
Definition at line 50 of file BitsDefinition.cc.
00050 { 00051 return m_field; 00052 }
| unsigned int BitsDefinition::offset | ( | ) | const |
Returns the offset of the value within its containing byte block.
Definition at line 54 of file BitsDefinition.cc.
00054 { 00055 return m_offset; 00056 }
| unsigned int BitsDefinition::lowBit | ( | ) | const |
The least significant bit containing this value.
Definition at line 58 of file BitsDefinition.cc.
00058 { 00059 return m_lowBit; 00060 }
| unsigned int BitsDefinition::highBit | ( | ) | const |
| const string & BitsDefinition::description | ( | ) | const |
The description of the value contained in these bits.
Definition at line 69 of file BitsDefinition.cc.
00069 { 00070 return *m_description; 00071 }
unsigned int DybDaq::BitsDefinition::m_field [private] |
The 'field' index of the value within its containing byte block.
Definition at line 81 of file BitsDefinition.h.
unsigned int DybDaq::BitsDefinition::m_offset [private] |
The offset of the value within its containing byte block.
Definition at line 86 of file BitsDefinition.h.
unsigned int DybDaq::BitsDefinition::m_lowBit [private] |
The bit that contains the least significant bit of the value.
Definition at line 91 of file BitsDefinition.h.
unsigned int DybDaq::BitsDefinition::m_count [private] |
const std::string* DybDaq::BitsDefinition::m_description [private] |
The description of the value contained in these bits.
Definition at line 101 of file BitsDefinition.h.
1.4.7