RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
|
A value that is separated into bitfields, typically bit flags. More...
#include <dumper.h>
Classes | |
class | BitField |
Public Member Functions | |
BitFieldDisplay (unsigned width) | |
std::shared_ptr< BitFieldDisplay > | AddBitField (unsigned offset, unsigned length, std::shared_ptr< Display< offset_t > > display, bool optional_field) |
void | DisplayValue (Dumper &dump, std::tuple< offset_t > values) override |
Public Member Functions inherited from Dumper::HexDisplay | |
HexDisplay (unsigned width) | |
void | DisplayValue (Dumper &dump, std::tuple< offset_t > values) override |
Public Member Functions inherited from Dumper::Display< offset_t > | |
virtual bool | IsMissing (std::tuple< Ts... > &values) |
Returns true if the specified value is such that it should not be displayed. | |
virtual void | DisplayValue (Dumper &dump, std::tuple< Ts... > values)=0 |
Prints the value through the Dumper, different types of fields can be displayed in different ways. | |
Static Public Member Functions | |
static std::shared_ptr< BitFieldDisplay > | Make (unsigned width=8) |
Static Public Member Functions inherited from Dumper::HexDisplay | |
static std::shared_ptr< HexDisplay > | Make (unsigned width=8) |
Public Attributes | |
std::map< unsigned, std::unique_ptr< BitField > > | bitfields |
Public Attributes inherited from Dumper::HexDisplay | |
unsigned | width |
A value that is separated into bitfields, typically bit flags.