RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
|
A display for a fixed or variable length string field. More...
#include <dumper.h>
Public Member Functions | |
StringDisplay (size_t width, std::string open_quote, std::string close_quote) | |
bool | IsMissing (std::tuple< std::string > &values) override |
void | DisplayValue (Dumper &dump, std::tuple< std::string > values) override |
bool | IsMissing (std::tuple< offset_t > &values) |
void | DisplayValue (Dumper &dump, std::tuple< offset_t > values) |
Public Member Functions inherited from Dumper::Display< std::string > | |
virtual bool | IsMissing (std::tuple< Ts... > &values) |
Returns true if the specified value is such that it should not be displayed. | |
virtual void | DisplayValue (Dumper &dump, std::tuple< Ts... > values)=0 |
Prints the value through the Dumper, different types of fields can be displayed in different ways. | |
Static Public Member Functions | |
static std::shared_ptr< StringDisplay > | Make (size_t width, std::string open_quote, std::string close_quote) |
static std::shared_ptr< StringDisplay > | Make (size_t width, std::string quote="") |
static std::shared_ptr< StringDisplay > | Make (std::string quote="") |
A display for a fixed or variable length string field.