RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
|
A record whose values should be displayed together, as a collection. More...
#include <dumper.h>
Public Member Functions | |
Container (std::string name="") | |
std::shared_ptr< Field > | FindField (std::string name) |
template<typename T > | |
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 |
A record whose values should be displayed together, as a collection.