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::Container Class Reference

A record whose values should be displayed together, as a collection. More...

#include <dumper.h>

Inheritance diagram for Dumper::Container:
Dumper::Entry Dumper::Region Dumper::Block

Public Member Functions

 Container (std::string name="")
 
std::shared_ptr< FieldFindField (std::string name)
 
template<typename T >
GetField (std::string name, offset_t default_value=T())
 
void AddField (std::shared_ptr< Field > field)
 
void AddField (size_t index, std::shared_ptr< Field > field)
 
template<typename D , typename ... Ts>
void AddField (std::string label, std::shared_ptr< D > display, Ts... values)
 
template<typename D , typename ... Ts>
void AddOptionalField (std::string label, std::shared_ptr< D > display, Ts... values)
 
template<typename D , typename ... Ts>
void AddHiddenField (std::string label, std::shared_ptr< D > display, Ts... values)
 
template<typename D , typename ... Ts>
void InsertField (size_t index, std::string label, std::shared_ptr< D > display, Ts... values)
 
template<typename D , typename ... Ts>
void InsertOptionalField (size_t index, std::string label, std::shared_ptr< D > display, Ts... values)
 
template<typename D , typename ... Ts>
void InsertHiddenField (size_t index, std::string label, std::shared_ptr< D > display, Ts... values)
 
virtual void Display (Dumper &dump)
 

Public Attributes

std::string name
 
std::map< std::string, std::shared_ptr< Field > > field_names
 
std::vector< std::shared_ptr< Field > > fields
 

Detailed Description

A record whose values should be displayed together, as a collection.


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