RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
|
A record that represents a region within the file. More...
#include <dumper.h>
Public Member Functions | |
Region (std::string name, offset_t offset, offset_t length, unsigned display_width) | |
Public Member Functions inherited from Dumper::Container | |
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) |
Static Public Member Functions | |
static std::shared_ptr< Region > | Make (std::string name, offset_t offset, offset_t length, unsigned display_width) |
Additional Inherited Members | |
Public Attributes inherited from Dumper::Container | |
std::string | name |
std::map< std::string, std::shared_ptr< Field > > | field_names |
std::vector< std::shared_ptr< Field > > | fields |
A record that represents a region within the file.