RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
Loading...
Searching...
No Matches
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Dumper::BitFieldDisplay Class Reference

A value that is separated into bitfields, typically bit flags. More...

#include <dumper.h>

Inheritance diagram for Dumper::BitFieldDisplay:
Dumper::HexDisplay Dumper::Display< offset_t >

Classes

class  BitField
 

Public Member Functions

 BitFieldDisplay (unsigned width)
 
std::shared_ptr< BitFieldDisplayAddBitField (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< BitFieldDisplayMake (unsigned width=8)
 
- Static Public Member Functions inherited from Dumper::HexDisplay
static std::shared_ptr< HexDisplayMake (unsigned width=8)
 

Public Attributes

std::map< unsigned, std::unique_ptr< BitField > > bitfields
 
- Public Attributes inherited from Dumper::HexDisplay
unsigned width
 

Detailed Description

A value that is separated into bitfields, typically bit flags.


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