RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
|
A typed representation of a named value within a structure. More...
#include <dumper.h>
Public Member Functions | |
FieldOf (std::string label, std::shared_ptr< Display< Ts... > > display, Ts... values, bool optional_field=false, bool internal=false) | |
bool | ShouldDisplay () override |
void | DisplayValue (Dumper &dump) override |
Public Member Functions inherited from Dumper::Field | |
Field (std::string label, bool optional_field, bool internal) | |
Public Attributes | |
std::shared_ptr< Display< Ts... > > | display |
The method to show it in. | |
std::tuple< Ts... > | values |
Public Attributes inherited from Dumper::Field | |
std::string | label |
The name to be displayed. | |
bool | optional_field |
If the field is optional, it will not be displayed for certain values. | |
bool | internal |
The field should not be displayed, it is for internal use (alternatively, it can be displayed through another method) | |
A typed representation of a named value within a structure.
|
inlineoverridevirtual |
Implements Dumper::Field.
|
inlineoverridevirtual |
Implements Dumper::Field.