#include <ByteInspector.h>
Public Types | |
| typedef std::vector< BitsInspector * > | Bits |
Public Member Functions | |
| ByteInspector (unsigned int value, Bits *bits) | |
| Creates an instance of this class. | |
| virtual | ~ByteInspector () |
| Destroy this instance of the class. | |
| unsigned int | value () const |
| Returns the value of this byte. | |
| const Bits & | bits () const |
| Returns the collection of bit inspectors that make up this byte. | |
Private Member Functions | |
| ByteInspector () | |
| Suppress default. | |
| ByteInspector (ByteInspector &rhs) | |
| Suppress default. | |
| ByteInspector & | operator= (ByteInspector &rhs) |
| Suppress default. | |
Private Attributes | |
| const unsigned int | m_value |
| The value of this byte. | |
| Bits * | m_bits |
| The collection of bit inspectors that make up this byte. | |
Definition at line 21 of file ByteInspector.h.
| typedef std::vector<BitsInspector*> DybDaq::ByteInspector::Bits |
Definition at line 25 of file ByteInspector.h.
| ByteInspector::ByteInspector | ( | unsigned int | value, | |
| Bits * | bits | |||
| ) |
| ByteInspector::~ByteInspector | ( | ) | [virtual] |
Destroy this instance of the class.
Definition at line 23 of file ByteInspector.cc.
00023 { 00024 if (0 != m_bits) { 00025 const Bits::const_iterator finished = m_bits->end(); 00026 for (Bits::iterator bitsInfo = m_bits->begin(); 00027 finished != bitsInfo; 00028 ++bitsInfo) { 00029 delete *bitsInfo; 00030 } 00031 delete m_bits; 00032 } 00033 }
| DybDaq::ByteInspector::ByteInspector | ( | ) | [private] |
Suppress default.
| DybDaq::ByteInspector::ByteInspector | ( | ByteInspector & | rhs | ) | [private] |
Suppress default.
| unsigned int ByteInspector::value | ( | ) | const |
Returns the value of this byte.
Definition at line 35 of file ByteInspector.cc.
00035 { 00036 return m_value; 00037 }
| const ByteInspector::Bits & ByteInspector::bits | ( | ) | const |
Returns the collection of bit inspectors that make up this byte.
Definition at line 39 of file ByteInspector.cc.
00039 { 00040 return *m_bits; 00041 }
| ByteInspector& DybDaq::ByteInspector::operator= | ( | ByteInspector & | rhs | ) | [private] |
Suppress default.
const unsigned int DybDaq::ByteInspector::m_value [private] |
Bits* DybDaq::ByteInspector::m_bits [private] |
The collection of bit inspectors that make up this byte.
Definition at line 75 of file ByteInspector.h.
1.4.7