Bitstream Interpretation Library (BIL)
0.1
|
A word of dummy data. More...
#include <bitstream/DummyWord.hpp>
Public Member Functions | |
DummyWord () | |
Default constructor. | |
virtual DummyWord * | clone () const |
Virtual constructor for doing polymorphic copies. | |
virtual void | accept (PacketVisitor &visitor) const |
Accepts a visitor for dynamic type dependent stuff. | |
void | value (boost::uint32_t dummyValue) |
Sets the dummy value. | |
boost::uint32_t | value () const |
Gets the dummy value. | |
Public Member Functions inherited from bil::Packet | |
virtual | ~Packet () |
Destructs a Packet instance. |
Static Public Attributes | |
static const boost::uint32_t | NULL_WORD = 0x00000000 |
a frequent dummy data value | |
static const boost::uint32_t | FULL_WORD = 0xffffffff |
a frequent dummy data value |
A word of dummy data.
Sometimes it is necessary to insert dummy data into a bitstream; for this purpose serves the DummyWord class. It contains one 32 bit word for holding its dummy value.
Definition at line 23 of file DummyWord.hpp.
DummyWord::DummyWord | ( | ) |
Default constructor.
Definition at line 12 of file DummyWord.cpp.
|
virtual |
Virtual constructor for doing polymorphic copies.
Implements bil::Packet.
Definition at line 19 of file DummyWord.cpp.
|
virtual |
Accepts a visitor for dynamic type dependent stuff.
visitor | Visitor, which matching method will be called. |
Implements bil::Packet.
Definition at line 25 of file DummyWord.cpp.
void DummyWord::value | ( | boost::uint32_t | dummyValue | ) |
Sets the dummy value.
dummyValue | The 32 bit word dummy value. |
Definition at line 31 of file DummyWord.cpp.
boost::uint32_t DummyWord::value | ( | ) | const |
|
static |
a frequent dummy data value
Definition at line 58 of file DummyWord.hpp.
|
static |
a frequent dummy data value
Definition at line 61 of file DummyWord.hpp.