RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Dumper::FieldOf< Ts > Class Template Reference

A typed representation of a named value within a structure. More...

#include <dumper.h>

Inheritance diagram for Dumper::FieldOf< Ts >:
Dumper::Field

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)
 

Detailed Description

template<typename ... Ts>
class Dumper::FieldOf< Ts >

A typed representation of a named value within a structure.

Member Function Documentation

◆ DisplayValue()

template<typename ... Ts>
void Dumper::FieldOf< Ts >::DisplayValue ( Dumper & dump)
inlineoverridevirtual

Implements Dumper::Field.

◆ ShouldDisplay()

template<typename ... Ts>
bool Dumper::FieldOf< Ts >::ShouldDisplay ( )
inlineoverridevirtual

Implements Dumper::Field.


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